query-f2a4eae635b9d80d54d3947ab1636ee0
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?concept ?conceptLabel (COUNT(DISTINCT LANG(?label)) AS ?labels) ?statements ?sitelinks {
VALUES ?concept { wd:Q39631 wd:Q185196 wd:Q774306 wd:Q27349 wd:Q186360 wd:Q105186 wd:Q202883 } .
?concept wikibase:statements ?statements ; wikibase:sitelinks ?sitelinks ; rdfs:label ?label .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
GROUP BY ?concept ?conceptLabel ?statements ?sitelinks
ORDER BY ?labels ?statements ?sitelinks
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?concept"):::projected
v5("?label"):::projected
v6("?labels")
v3("?sitelinks"):::projected
v2("?statements"):::projected
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?concept/]
bind0-->v4
bind00(["wd:Q39631"])
bind00 --> bind0
bind01(["wd:Q185196"])
bind01 --> bind0
bind02(["wd:Q774306"])
bind02 --> bind0
bind03(["wd:Q27349"])
bind03 --> bind0
bind04(["wd:Q186360"])
bind04 --> bind0
bind05(["wd:Q105186"])
bind05 --> bind0
bind06(["wd:Q202883"])
bind06 --> bind0
v4 --"wikibase:statements"--> v2
v4 --"wikibase:sitelinks"--> v3
v4 --"rdfs:label"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind2[/"count(?label)"/]
v5 --o bind2
bind2 --as--o v6