query-b3379ab5c6a8db929b71e07215a30094
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 ?sitelinks
WHERE
{
{
SELECT ?item ?sitelinks
WHERE
{
?item wikibase:sitelinks ?sitelinks.
FILTER (?sitelinks > 40 )
MINUS { ?item wdt:P31/wdt:P279* wd:Q17379835. }
MINUS
{
?article schema:about ?item.
?article schema:isPartOf <https://en.wikipedia.org/>.
}
}
} SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY DESC(?sitelinks)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?article")
v2("?item"):::projected
v1("?sitelinks"):::projected
a1((" "))
c5(["wd:Q17379835"]):::iri
c8([https://en.wikipedia.org/]):::iri
c10(["bd:serviceParam"]):::iri
c12(["en"]):::literal
f0[["?sitelinks > '40^^xsd:integer'"]]
f0 --> v1
v2 --"wikibase:sitelinks"--> v1
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v3 --"schema:about"--> v2
v3 --"schema:isPartOf"--> c8
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end