query-5af5de4e95e3f5dbdfe3bdee4acc9836
Every P856 without P407 as qualifier. I have try something but it is obviously wrong : (Q16)Canada for (P407)language of work or name without (P856)official website I try to get every Hi,
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT DISTINCT ?item ?url WHERE { ?item wdt:P17 wd:Q16 . ?item wdt:P856 ?url . MINUS {?item wdt:P856 ?site. ?site pq:P407 [] . } }
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v3("?site")
v2("?url"):::projected
a1((" "))
c2(["wd:Q16"]):::iri
v1 --"wdt:P17"--> c2
v1 --"wdt:P856"--> v2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P856"--> v3
v3 --"pq:P407"--> a1
end