query-198d4d35f5fb5d806bc827288b36cce9
Author
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 bd: <http://www.bigdata.com/rdf#>
SELECT
?count
?author ?authorLabel
(CONCAT("#author/", SUBSTR(STR(?author), 32)) AS ?authorUrl)
?authorDescription
("Scholia ↗" AS ?scholia)
(CONCAT("https://scholia.toolforge.org/author/", SUBSTR(STR(?author), 32)) AS ?scholiaUrl)
WHERE {
{
SELECT
(COUNT(DISTINCT ?report) AS ?count)
?author
WHERE {
?report wdt:P31 wd:Q64548048 ;
wdt:P50 ?author .
}
GROUP BY ?author
} 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;
v3("?author"):::projected
v4("?authorUrl")
v4("?count"):::projected
v2("?report")
v5("?scholia")
v6("?scholiaUrl")
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q64548048"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P50"--> v3
bind1[/"count(?report)"/]
v2 --o bind1
bind1 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind2[/"concat('#author/',substring(str(?author),'32^^xsd:integer'))"/]
v3 --o bind2
bind2 --as--o v4
bind3[/"'Scholia ↗'"/]
bind3 --as--o v5
bind4[/"concat('https://scholia.toolforge.org/author/',substring(str(?author),'32^^xsd:integer'))"/]
v3 --o bind4
bind4 --as--o v6