query-7ce7a8e4458bfd99628d01818c4582cd
title: Iceland mountains with no CEB wiki sitelink SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P17 wd:Q189. hint:Prior hint:runFirst true. ?item p:P31/ps:P31/wdt:P279* wd:Q8502. FILTER NOT EXISTS {?article schema:about ?item ; schema:isPartOf https://ceb.wikipedia.org/ .} SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } }
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title: Iceland mountains with no CEB wiki sitelink
SELECT DISTINCT ?item ?itemLabel WHERE {
?item wdt:P17 wd:Q189.
?item p:P31/ps:P31/wdt:P279* wd:Q8502.
FILTER NOT EXISTS {?article schema:about ?item ;
schema:isPartOf <https://ceb.wikipedia.org/> .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?article")
v2("?item"):::projected
a1((" "))
a2((" "))
c11(["bd:serviceParam"]):::iri
c3([https://ceb.wikipedia.org/]):::iri
c13(["#91;AUTO_LANGUAGE#93;"]):::literal
c5(["wd:Q189"]):::iri
c9(["wd:Q8502"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:isPartOf"--> e0c3
e0v1("?article"):::projected
e0v2("?item"):::projected
e0c3([https://ceb.wikipedia.org/]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
f0 --> c2
f0 --> c3
v1 --"schema:about"--> v2
v1 --"schema:isPartOf"--> c3
v2 --"p:direct/P17"--> c5
v2 --"p:P31"--> a1
a1 --"p:statement/P31"--> a2
a2 --"p:direct/P279"--> c9
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end