query-529621303bbb3b4c091bef4f3f6e48ba
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item (COUNT(DISTINCT ?lang) AS ?count) (GROUP_CONCAT(DISTINCT ?lang; separator=',') as ?languages) {
?item wdt:P747 ?edition .
?edition ^schema:about [ schema:isPartOf/wikibase:wikiGroup "wikisource"; schema:inLanguage ?lang ] .
} GROUP BY ?item ORDER BY DESC(?count) LIMIT 500
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count")
v3("?edition")
v2("?item"):::projected
v4("?lang"):::projected
v5("?languages")
a1((" "))
a2((" "))
c4(["wikisource"]):::literal
v2 --"wdt:P747"--> v3
a1 --"schema:isPartOf"--> a2
a2 --"wikibase:wikiGroup"--> c4
a1 --"schema:inLanguage"--> v4
a1 --"schema:about"--> v3
bind2[/"count(?lang)"/]
v4 --o bind2
bind2 --as--o v5
bind3[/"?lang"/]
v4 --o bind3
bind3 --as--o v5