query-a804e14f4e9ab2752732b2c5b66315ec
Propertiesmaintained by WikiProject (P6104)author name string (P2093)
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#>
#defaultView:Table
SELECT ?count ?authornamestring ?sample_pub ?sample_pubLabel
(CONCAT(
'https://tools.wmflabs.org/author-disambiguator/names_oauth.php?name=',
ENCODE_FOR_URI(?authornamestring)) AS ?generic_resolver_url)
(CONCAT(
'https://author-disambiguator.toolforge.org/names_oauth.php?doit=Look+for+author&limit=5000&filter=wdt%3AP6104+wd%3AQ56241615&name=',
ENCODE_FOR_URI(?authornamestring)) AS ?specific_resolver_url)
WHERE {
{
SELECT (count(DISTINCT ?work) as ?count) ?authornamestring (SAMPLE(?work) AS ?sample_pub) WHERE {
?work wdt:P6104 wd:Q56241615 .
?work wdt:P2093 ?authornamestring .
}
GROUP BY ?authornamestring
ORDER BY DESC(?count)
LIMIT 200
} SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTOLANG],en" . }
}
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?authornamestring"):::projected
v4("?count"):::projected
v5("?generic_resolver_url")
v4("?sample_pub"):::projected
v6("?specific_resolver_url")
v2("?work")
c7(["#91;AUTOLANG#93;,en"]):::literal
c5(["bd:serviceParam"]):::iri
c2(["wd:Q56241615"]):::iri
v2 --"wdt:P6104"--> c2
v2 --"wdt:P2093"--> v3
bind2[/"count(?work)"/]
v2 --o bind2
bind2 --as--o v4
bind3[/"sample(?work)"/]
v2 --o bind3
bind3 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind4[/"concat('https://tools.wmflabs.org/author-disambiguator/names_oauth.php?name=',encode-for-uri(?authornamestring))"/]
v3 --o bind4
bind4 --as--o v5
bind5[/"concat('https://author-disambiguator.toolforge.org/names_oauth.php?doit=Look+for+author&limit=5000&filter=wdt%3AP6104+wd%3AQ56241615&name=',encode-for-uri(?authornamestring))"/]
v3 --o bind5
bind5 --as--o v6