query-5363fd061a046648c515c78aa17e81c8
Most used RE articles for references across multiple items
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 prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?REArticle ?REArticleLabel (COUNT(DISTINCT ?item) as ?mentions)
WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?item ?property ?statement .
?statement prov:wasDerivedFrom ?ref .
?ref pr:P248 ?REArticle .
?REArticle wdt:P361 wd:Q1138524 .
}
GROUP BY ?REArticle ?REArticleLabel
ORDER BY DESC(?mentions)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?REArticle"):::projected
v2("?item"):::projected
v7("?mentions")
v3("?property")
v5("?ref")
v4("?statement")
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c8(["wd:Q1138524"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v2 -->v3--> v4
v4 --"prov:wasDerivedFrom"--> v5
v5 --"pr:P248"--> v6
v6 --"wdt:P361"--> c8
bind1[/"count(?item)"/]
v2 --o bind1
bind1 --as--o v7