Skip to content

Commit 8cbdb43

Browse files
authored
Create contributors.rq
1 parent c3c6f8b commit 8cbdb43

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

J. Authors/contributors.rq

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
PREFIX dc: <http://purl.org/dc/elements/1.1/>
2+
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
3+
PREFIX wpq: <http://www.wikidata.org/prop/qualifier/>
4+
PREFIX pav: <http://purl.org/pav/>
5+
6+
SELECT (COUNT(DISTINCT ?pathway) AS ?count) ?name ?orcid ?page WHERE {
7+
VALUES ?ordinal { "1" }
8+
?author_ a foaf:Person ;
9+
wp:hasAuthorship ?authorship .
10+
?authorship ^wp:hasAuthorship ?pathway ;
11+
wpq:series_ordinal ?ordinal .
12+
?pathway pav:hasVersion ?pathway_ .
13+
?pathway_ a wp:Pathway ; dcterms:identifier ?version .
14+
OPTIONAL { ?author_ foaf:homepage ?page }
15+
OPTIONAL { ?author_ foaf:name ?name }
16+
OPTIONAL { ?author_ dc:identifier ?orcid }
17+
} GROUP BY ?ordinal ?name ?orcid ?page
18+
ORDER BY DESC(?count)

0 commit comments

Comments
 (0)