Skip to content

Commit 53f49c5

Browse files
authored
Added a query to list authors
1 parent 3e314ce commit 53f49c5

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

A. Metadata/authors.rq

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
PREFIX dc: <http://purl.org/dc/elements/1.1/>
2+
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
3+
4+
SELECT (COUNT(DISTINCT ?pathway) AS ?count) ?page ?name ?orcid WHERE {
5+
?author_ ^dc:creator ?pathway ;
6+
a foaf:Person .
7+
OPTIONAL { ?author_ foaf:homepage ?page }
8+
OPTIONAL { ?author_ foaf:name ?name }
9+
OPTIONAL { ?author_ dc:identifier ?orcid }
10+
} GROUP BY ?page ?name ?orcid
11+
ORDER BY DESC(?count)

0 commit comments

Comments
 (0)