query-b72d4dec588eede1559093b0d8c39444
(Q2494649)Union List of Artist Names (P248)stated in
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?prop ?propLabel ?count WHERE {
{
SELECT ?refProp (COUNT(?refProp) AS ?count) WHERE {
?statement prov:wasDerivedFrom ?wdRef.
?wdRef pr:P248 wd:Q2494649. # stated in ULAN
?wdRef ?refProp [].
}
GROUP BY ?refProp
}
?prop wikibase:reference ?refProp.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count"):::projected
v5("?prop"):::projected
v4("?refProp")
v2("?statement")
v3("?wdRef")
a1((" "))
c6(["bd:serviceParam"]):::iri
c3(["wd:Q2494649"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"prov:wasDerivedFrom"--> v3
v3 --"pr:P248"--> c3
v3 -->v4--> a1
bind1[/"count(?refProp)"/]
v4 --o bind1
bind1 --as--o v5
v5 --"wikibase:reference"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end