query-d3c2675fa028a3fc755418a02a4b1183
TODO
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription ?sitelinks WHERE {
{
SELECT ?item ?sitelinks WHERE {
?item wdt:P21 wd:Q6581072; wikibase:sitelinks ?sitelinks .
FILTER(?sitelinks > 30) .
MINUS { ?item ^schema:about/schema:isPartOf <https://be.wikipedia.org/> }
}
}.
?item wdt:P31 wd:Q5 .
SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' }
} ORDER BY DESC(?sitelinks) LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?sitelinks"):::projected
a1((" "))
c13(["en"]):::literal
c3(["wd:Q6581072"]):::iri
c7([https://be.wikipedia.org/]):::iri
c11(["bd:serviceParam"]):::iri
c9(["wd:Q5"]):::iri
f0[["?sitelinks > '30^^xsd:integer'"]]
f0 --> v1
v2 --"wdt:P21"--> c3
v2 --"wikibase:sitelinks"--> v1
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
a1 --"schema:about"--> v2
a1 --"schema:isPartOf"--> c7
end
v2 --"wdt:P31"--> c9
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end