From 06118f5d15abc3d57c036ca7ef337f540ca1763f Mon Sep 17 00:00:00 2001 From: Bob Coret Date: Mon, 28 Oct 2024 11:05:38 +0100 Subject: [PATCH] fix: Change GTM PID to sameAs (#1444) PIDs in the GTM KG used to be in the sdo:identifier property, but have move to the owl:sameAs property, this made the ETL pipeline much easier. --- .../catalog/queries/search/goudatijdmachine-straten.rq | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/network-of-terms-catalog/catalog/queries/search/goudatijdmachine-straten.rq b/packages/network-of-terms-catalog/catalog/queries/search/goudatijdmachine-straten.rq index 59b83286..1948a84f 100644 --- a/packages/network-of-terms-catalog/catalog/queries/search/goudatijdmachine-straten.rq +++ b/packages/network-of-terms-catalog/catalog/queries/search/goudatijdmachine-straten.rq @@ -22,9 +22,8 @@ CONSTRUCT { luc:query ?query ; luc:entities ?uri . - ?uri sdo:identifier ?pid - FILTER(STRSTARTS(?pid, "https://n2t.net")) - BIND(IRI(?pid) AS ?piduri) + ?uri owl:sameAs ?piduri + FILTER(STRSTARTS(STR(?piduri), "https://n2t.net")) ?uri sdo:name ?prefLabel ; luc:score ?score .