diff --git a/packages/network-of-terms-catalog/catalog/queries/lookup/goudatijdmachine-straten.rq b/packages/network-of-terms-catalog/catalog/queries/lookup/goudatijdmachine-straten.rq index 7adcac0a..3f78bcbe 100644 --- a/packages/network-of-terms-catalog/catalog/queries/lookup/goudatijdmachine-straten.rq +++ b/packages/network-of-terms-catalog/catalog/queries/lookup/goudatijdmachine-straten.rq @@ -3,6 +3,7 @@ PREFIX skos: PREFIX gtm: PREFIX hg: PREFIX owl: +PREFIX omeka: CONSTRUCT { ?uri a skos:Concept ; @@ -25,7 +26,7 @@ CONSTRUCT { OPTIONAL { ?uri sdo:alternateName ?altLabel } - BIND ( CONCAT( IF ( EXISTS { ?entity omeka:item_set }, "Verdwenen straat", "Straat" )," in Gouda") AS ?scopeNote ) + BIND ( CONCAT( IF ( EXISTS { ?uri omeka:item_set }, "Verdwenen straat", "Straat" )," in Gouda") AS ?scopeNote ) OPTIONAL { ?uri hg:absorbedBy|hg:absorbed ?related_uri . ?related_uri a gtm:Straat ; 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 ad788d24..59b83286 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 @@ -7,7 +7,6 @@ PREFIX luc-index: PREFIX omeka: PREFIX owl: PREFIX rdfs: -PREFIX o: CONSTRUCT { ?piduri a skos:Concept ; @@ -36,7 +35,7 @@ CONSTRUCT { BIND ( CONCAT( - IF ( EXISTS { ?entity omeka:item_set }, "Verdwenen straat", "Straat" ), + IF ( EXISTS { ?uri omeka:item_set }, "Verdwenen straat", "Straat" ), IF ( BOUND(?genoemdNaar), CONCAT(" in Gouda, genoemd naar ", ?genoemdNaar )," in Gouda" ) ) AS ?scopeNote ) @@ -52,6 +51,6 @@ CONSTRUCT { OPTIONAL { ?uri rdfs:seeAlso ?exactMatch_uri . - ?exactMatch_uri o:label ?exactMatch_label . + ?exactMatch_uri omeka:label ?exactMatch_label . } } ORDER BY DESC(?score) LIMIT 100