Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

List authors by number of publications

Code Block
titleList Authors authors by Departmentnumber of publications
linenumberstrue
SELECT (MIN(str(?author_label)) AS ?author_name) (COUNT(DISTINCT ?authorship) AS ?pub_count)
WHERE {
    ?author vivo:relatedBy ?authorship .
    ?author a foaf:Person .
    ?authorship a vivo:Authorship .
    
    ?author rdfs:label ?author_label .

}
GROUP BY ?author
ORDER BY DESC(?pub_count)

...