query-912facf34113705673c5ea00aa7e7019
Wikidata-lista élettelen dolgokrólKöztük van sok település, földrajzi entitás is, meg minden egyéb 2022. november 27. 8078 tétel 2020. november 1. 7292 tétel
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 DISTINCT ?item ?itemLabel ?itemDescription (COUNT(?sitelink) AS ?sitelinks) WHERE {
?item wdt:P17 wd:Q28 .
?sitelink schema:about ?item .
MINUS { ?item wdt:P31 wd:Q30612 }
FILTER NOT EXISTS { ?huwiki schema:about ?item . ?huwiki schema:inLanguage "hu" } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "hu,en" }
}
GROUP BY ?item ?itemLabel ?itemDescription
ORDER BY ?sitelinks
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?huwiki")
v3("?item"):::projected
v4("?sitelink"):::projected
v5("?sitelinks")
c5(["wd:Q28"]):::iri
c9(["bd:serviceParam"]):::iri
c11(["hu,en"]):::literal
c3(["hu"]):::literal
c7(["wd:Q30612"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:inLanguage"--> e0c3
e0v1("?huwiki"):::projected
e0v2("?item"):::projected
e0c3(["hu"]):::literal
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> v3
f0 --> c2
f0 --> c3
v2 --"schema:about"--> v3
v2 --"schema:inLanguage"--> c3
v3 --"wdt:P17"--> c5
v4 --"schema:about"--> v3
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P31"--> c7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end
bind3[/"count(?sitelink)"/]
v4 --o bind3
bind3 --as--o v5