query-7359e0878b288f28ccdf353dbfcf9039

rq turtle/ttl

Quimper200

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel
WHERE
{
  ?item p:P166 ?statement .
  ?statement ps:P166 wd:Q20884576 .
  FILTER NOT EXISTS { ?statement prov:wasDerivedFrom / pr:P4256 ?POE . }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],es,en" . }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?POE") v3("?item"):::projected v1("?statement") a1((" ")) c7(["bd:serviceParam"]):::iri c5(["wd:Q20884576"]):::iri c9(["#91;AUTO_LANGUAGE#93;,es,en"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"prov:wasDerivedFrom"--> e0a1 e0a1 --"p:reference/P4256"--> e0v2 e0v2("?POE"):::projected e0v1("?statement"):::projected e0a1((" ")):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> a1 f0 --> c2 f0 --> v2 v1 --"prov:wasDerivedFrom"--> a1 a1 --"p:reference/P4256"--> v2 v3 --"p:P166"--> v1 v1 --"p:statement/P166"--> c5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end