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/> PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> SELECT DISTINCT ?subclass ?authorship ?person ?personName WHERE { ?subject ?property ?authorship . OPTIONAL { ?authorship core:rank ?rank } OPTIONAL { ?authorship core:relates ?person . ?person a foaf:Person . ?person rdfs:label ?personName OPTIONAL { ?authorship core:relates ?person . ?person a foaf:Person . ?person vitro:mostSpecificType ?subclass . ?subclass rdfs:subClassOf foaf:Person } } FILTER ( bound(?person) ) } ORDER BY ?subclass ?rank ?personName PREFIX core: <http://vivoweb.org/ontology/core#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> CONSTRUCT { ?subject ?property ?authorship . ?authorship a core:Authorship . ?authorship ?authorshipProperty ?authorshipValue . ?authorship core:relates ?person . ?person a foaf:Person . ?person rdfs:label ?personName . ?person vitro:mostSpecificType ?subclass . ?subclass rdfs:subClassOf foaf:Person } WHERE { { ?subject ?property ?authorship . ?authorship a core:Authorship } UNION { ?subject ?property ?authorship . ?authorship a core:Authorship . ?authorship ?authorshipProperty ?authorshipValue } UNION { ?subject ?property ?authorship . ?authorship a core:Authorship . ?authorship core:relates ?person . ?person a foaf:Person . ?person rdfs:label ?personName } UNION { ?subject ?property ?authorship . ?authorship a core:Authorship . ?authorship core:relates ?person . ?person a foaf:Person . ?person rdfs:label ?personName . ?person vitro:mostSpecificType ?subclass . ?subclass rdfs:subClassOf foaf:Person } }