From c05d0c69a32c7ca251b7f68afcfbb248731f050e Mon Sep 17 00:00:00 2001 From: Gregory Saumier-Finch Date: Wed, 3 Apr 2024 16:41:57 -0400 Subject: [PATCH] added prefix for scenepro org and venue to make it DRY --- ontorefine/config.json | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/ontorefine/config.json b/ontorefine/config.json index b8e7506..908c479 100644 --- a/ontorefine/config.json +++ b/ontorefine/config.json @@ -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": [ @@ -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", @@ -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": [