query-d0f9fb3ad19e7f85863e9d2810f363fa
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?iso ?article ?sitelink
WHERE
{
?item wdt:P220 ?iso.
FILTER NOT EXISTS {?article schema:about ?item ;
schema:isPartOf <https://ja.wikipedia.org/> ;
schema:name ?sitelink .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?article"):::projected
v4("?iso"):::projected
v2("?item"):::projected
v3("?sitelink"):::projected
c7(["bd:serviceParam"]):::iri
c3([https://ja.wikipedia.org/]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:isPartOf"--> e0c3
e0v1 --"schema:name"--> e0v3
e0v1("?article"):::projected
e0v2("?item"):::projected
e0v3("?sitelink"):::projected
e0c3([https://ja.wikipedia.org/]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
f0 --> c2
f0 --> c3
f0 --> c4
f0 --> v3
v1 --"schema:about"--> v2
v1 --"schema:isPartOf"--> c3
v1 --"schema:name"--> v3
v2 --"wdt:P220"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end