diff --git a/sparql/scenepro-orgs.sparql b/sparql/scenepro-orgs.sparql index 5075338..2f56582 100644 --- a/sparql/scenepro-orgs.sparql +++ b/sparql/scenepro-orgs.sparql @@ -16,11 +16,9 @@ SELECT ?scenepro (sample(?name_language) as ?scenepro_name) ?artsdata (sample(?a ?artsdata schema:sameAs ?scenepro ; schema:name ?artsdata_name_language . filter(contains(str(?artsdata),"http://kg.artsdata.ca/")) - } - OPTIONAL { - ?artsdata schema:sameAs ?scenepro ; - schema:sameAs ?wikidata . - filter(contains(str(?wikidata),"wikidata.org/")) - filter(contains(str(?artsdata),"http://kg.artsdata.ca/")) + OPTIONAL { + ?artsdata schema:sameAs ?wikidata . + filter(contains(str(?wikidata),"wikidata.org/")) + } } } GROUP BY ?scenepro ?artsdata ?wikidata ?url ?resultSeverity \ No newline at end of file