query-725c50694d96560019baed1bfcbb5659
mostra laguage (native)
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#>
#Popular eye colors among humans
#title:Popular eye colors among humans
#illustrates bubblechart view, count
#defaultView:BubbleChart
SELECT ?item ?itemLabel ?langwork ?langworkLabel ?langnat ?som #(COUNT(?human) AS ?count)
WHERE
{
?item wdt:P31 wd:Q101352 .
# ?human wdt:P407 wd:Q7913 .
minus { ?item wdt:P407 ?langwork. }
{ ?item wdt:P443 ?som. }
{ ?comm schema:about ?item ; schema:isPartOf <https://commons.wikimedia.org/> . }
# { ?rowiki schema:about ?itemĀ ; schema:isPartOf <https://ro.wikipedia.org/> . }
# { ?enwiki schema:about ?itemĀ ; schema:isPartOf <https://en.wikipedia.org/> . }
OPTIONAL { ?item wdt:P1705 ?nativename.
BIND( LANG(?nativename) AS ?langnat). }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?langnat)
LIMIT 5000
#GROUP BY ?eyeColor ?eyeColorLabel ?rgb
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?comm")
v2("?item"):::projected
v7("?langnat"):::projected
v3("?langwork"):::projected
v6("?nativename")
v4("?som"):::projected
c2(["wd:Q101352"]):::iri
c10(["bd:serviceParam"]):::iri
c7([https://commons.wikimedia.org/]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P31"--> c2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P407"--> v3
end
v2 --"wdt:P443"--> v4
v5 --"schema:about"--> v2
v5 --"schema:isPartOf"--> c7
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P1705".-> v6
bind1[/"?nativename"/]
v6 --o bind1
bind1 --as--o v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end