PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
SELECT DISTINCT ?authorship (afn:localname(?authorship) AS ?authorshipName)
?person ?personName WHERE {
GRAPH ?g1 { ?subject ?property ?authorship }
OPTIONAL { GRAPH ?g2 { ?authorship core:authorRank ?rank } }
OPTIONAL { GRAPH ?g3 { ?authorship core:linkedAuthor ?person }
GRAPH ?g4 { ?person rdfs:label ?personName }
}
} ORDER BY ?rank ?personName
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT DISTINCT ?subclass
?authorship (afn:localname(?authorship) AS ?authorshipName)
?person ?personName WHERE {
GRAPH ?g1 { ?subject ?property ?authorship }
OPTIONAL { GRAPH ?g2 { ?authorship core:authorRank ?rank } }
OPTIONAL { GRAPH ?g3 { ?authorship core:linkedAuthor ?person }
GRAPH ?g4 { ?person rdfs:label ?personName }
OPTIONAL { GRAPH ?g5 { ?person a ?subclass }
GRAPH ?g6 { ?subclass rdfs:subClassOf foaf:Person }
}
}
} ORDER BY ?subclass ?rank ?personName
propStatement-informationResourceInAuthorship.ftl