query-3097385e711cf0f6ba01acc8a7fea0c6

rq turtle/ttl

journalist strings by number of articles

So we can know who to create

Improvement: join with existing journalist label! Boom!

SELECT DISTINCT (COUNT(?item) AS ?count) ?authorString WHERE {
?item wdt:P1433 wd:Q164746. hint:Prior hint:runFirst "true"^^xsd:boolean. ?item (wdt:P31/(wdt:P279*)) wd:Q191067; wdt:P2093 ?authorString. } GROUP BY ?authorString ORDER BY DESC (?count)

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
# journalist strings by number of articles
# So we can know who to create
# Improvement: join with existing journalist label! Boom!
SELECT DISTINCT (COUNT(?item) AS ?count) ?authorString
WHERE {  
  ?item wdt:P1433 wd:Q164746.

  ?item (wdt:P31/(wdt:P279*)) wd:Q191067;
    wdt:P2093 ?authorString.
}
GROUP BY ?authorString
ORDER BY DESC (?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?authorString"):::projected v4("?count") v2("?item"):::projected a1((" ")) c2(["wd:Q164746"]):::iri c5(["wd:Q191067"]):::iri v2 --"wdt:P1433"--> c2 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 v2 --"wdt:P2093"--> v3 bind1[/"count(?item)"/] v2 --o bind1 bind1 --as--o v4