Skip to content

Commit

Permalink
added prefix for scenepro org and venue to make it DRY
Browse files Browse the repository at this point in the history
  • Loading branch information
saumier committed Apr 3, 2024
1 parent ec14834 commit c05d0c6
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions ontorefine/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,20 @@
"schema": "http://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"sp_concept": "https://scenepro.ca/id/concept/",
"skos": "http://www.w3.org/2004/02/skos/core#"
"skos": "http://www.w3.org/2004/02/skos/core#",
"sp_org": "http://scenepro.ca#Organization",
"sp_venue": "http://scenepro.ca/Venue#"
},
"subjectMappings": [
{
"subject": {
"valueSource": {
"source": "row_index"
"source": "column",
"columnName": "_ - diffusers - _ - id"
},
"transformation": {
"language": "grel",
"expression": "\"http://scenepro.ca#Organization\" + cells[\"_ - diffusers - _ - id\"].value"
"language": "prefix",
"expression": "sp_org"
}
},
"typeMappings": [
Expand Down Expand Up @@ -569,11 +572,12 @@
"values": [
{
"valueSource": {
"source": "row_index"
"source": "column",
"columnName": "_ - diffusers - _ - venues - _ - id"
},
"transformation": {
"language": "grel",
"expression": "\"https://scenepro.ca/id/venue/\" +cells[\"_ - diffusers - _ - venues - _ - id\"].value"
"language": "prefix",
"expression": "sp_venue"
},
"valueType": {
"type": "iri",
Expand Down Expand Up @@ -657,11 +661,12 @@
{
"subject": {
"valueSource": {
"source": "row_index"
"source": "column",
"columnName": "_ - diffusers - _ - venues - _ - id"
},
"transformation": {
"language": "grel",
"expression": "\"http://scenepro.ca#Venue\" +cells[\"_ - diffusers - _ - venues - _ - id\"].value"
"language": "prefix",
"expression": "sp_venue"
}
},
"typeMappings": [
Expand Down

0 comments on commit c05d0c6

Please sign in to comment.