query-132acd14e818ecb0fa93e543235c4c10

rq turtle/ttl

worship places in Quebec not using P5599 to the existing churches in Quebec, but it don't see to be working (time out). (P5599)Inventory of Quebec's Places of Worship ID Hi, I was trying to create a querry for adding

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel WHERE {
  ?item wdt:P31/wdt:P279* wd:Q1370598 .
  ?item wdt:P131+ wd:Q176 .
  FILTER NOT EXISTS { ?item wdt:P5599 [] } .
      SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
}
ORDER BY ?itemLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?itemLabel"):::projected a1((" ")) a2((" ")) c8(["bd:serviceParam"]):::iri c4(["wd:Q1370598"]):::iri c10(["fr"]):::literal c6(["wd:Q176"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P5599"--> e0a1 e0v1("?item"):::projected e0a1((" ")):::projected end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> a1 v2 --"wdt:P5599"--> a1 v2 --"wdt:P31"--> a2 a2 --"wdt:P279"--> c4 v2 --"wdt:P131"--> c6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end