query-576ad8dd4314364788c1301bf05ff78e
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 ?pop where
{
{ SELECT DISTINCT ?item ?pop WHERE
{
?item wdt:P31/wdt:P279* wd:Q702492.
?item wdt:P1082 ?pop.
filter(?pop>300000)
}
} SERVICE wikibase:label {bd:serviceParam wikibase:language "en","he" . }
filter not exists {?article schema:about ?item ;
schema:isPartOf <https://he.wikipedia.org/> .}
} order by ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?article")
v3("?item"):::projected
v1("?itemLabel"):::projected
v4("?pop"):::projected
a1((" "))
c3([https://he.wikipedia.org/]):::iri
c12(["en"]):::literal
c10(["bd:serviceParam"]):::iri
c7(["wd:Q702492"]):::iri
c13(["he"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:isPartOf"--> e0c3
e0v1("?article"):::projected
e0v2("?item"):::projected
e0c3([https://he.wikipedia.org/]):::iri
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> v3
f0 --> c2
f0 --> c3
v2 --"schema:about"--> v3
v2 --"schema:isPartOf"--> c3
f1[["?pop > '300000^^xsd:integer'"]]
f1 --> v4
v3 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c7
v3 --"wdt:P1082"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
c10 --"wikibase:language"--> c13
end