query-1e6d98667d14357943a830d37bd765c7
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?itemLabel ?sitelink WHERE {
?sitelink schema:isPartOf <https://it.wikipedia.org/>;
schema:about ?item;
wikibase:badge wd:Q17437796 . # Featured Article
FILTER NOT EXISTS
{
?sitelink2 schema:isPartOf <https://fr.wikipedia.org/>;
schema:about ?item.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } .
} ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item")
v1("?itemLabel"):::projected
v4("?sitelink"):::projected
v2("?sitelink2")
c8(["bd:serviceParam"]):::iri
c2([https://fr.wikipedia.org/]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4([https://it.wikipedia.org/]):::iri
c6(["wd:Q17437796"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:isPartOf"--> e0c2
e0v1 --"schema:about"--> e0v2
e0v2("?item"):::projected
e0v1("?sitelink2"):::projected
e0c2([https://fr.wikipedia.org/]):::iri
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> c2
f0 --> c3
f0 --> v3
v2 --"schema:isPartOf"--> c2
v2 --"schema:about"--> v3
v4 --"schema:isPartOf"--> c4
v4 --"schema:about"--> v3
v4 --"wikibase:badge"--> c6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end