2013-08-28 16:58:02 -04:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
|
|
|
|
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
|
|
|
|
|
|
|
<list-view-config>
|
|
|
|
<query-select>
|
|
|
|
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 <collated> ?subclass </collated>
|
|
|
|
?authorship
|
2013-08-29 12:35:35 -04:00
|
|
|
?person ?personName
|
|
|
|
WHERE {
|
|
|
|
?subject ?property ?authorship .
|
|
|
|
?authorship a core:Authorship
|
|
|
|
OPTIONAL { ?authorship core:authorRank ?rank }
|
|
|
|
OPTIONAL { ?authorship core:relates ?person .
|
|
|
|
?person a foaf:Person .
|
2013-08-28 16:58:02 -04:00
|
|
|
?person rdfs:label ?personName
|
|
|
|
<collated>
|
|
|
|
OPTIONAL { ?person vitro:mostSpecificType ?subclass .
|
|
|
|
?subclass rdfs:subClassOf foaf:Person
|
|
|
|
}
|
|
|
|
</collated>
|
|
|
|
}
|
|
|
|
<critical-data-required>
|
|
|
|
FILTER ( bound(?person) )
|
|
|
|
</critical-data-required>
|
|
|
|
} ORDER BY <collated> ?subclass </collated> ?rank ?personName
|
|
|
|
</query-select>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subclass rdfs:subClassOf foaf:Person
|
|
|
|
} WHERE {
|
|
|
|
?subclass rdfs:subClassOf foaf:Person
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
2013-08-29 12:35:35 -04:00
|
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
2013-08-28 16:58:02 -04:00
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?authorship .
|
|
|
|
?authorship ?authorshipProperty ?authorshipValue .
|
2013-08-29 12:35:35 -04:00
|
|
|
?authorship core:relates ?person .
|
|
|
|
?person a foaf:Person .
|
2013-08-28 16:58:02 -04:00
|
|
|
?person rdfs:label ?personName .
|
|
|
|
?person vitro:mostSpecificType ?subclass
|
|
|
|
} WHERE {
|
|
|
|
{
|
|
|
|
?subject ?property ?authorship
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?authorship .
|
|
|
|
?authorship ?authorshipProperty ?authorshipValue
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?authorship .
|
2013-08-29 12:35:35 -04:00
|
|
|
?authorship core:relates ?person .
|
|
|
|
?person a foaf:Person .
|
2013-08-28 16:58:02 -04:00
|
|
|
?person rdfs:label ?personName
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?authorship .
|
2013-08-29 12:35:35 -04:00
|
|
|
?authorship core:relates ?person .
|
|
|
|
?person a foaf:Person .
|
2013-08-28 16:58:02 -04:00
|
|
|
?person rdfs:label ?personName .
|
|
|
|
?person vitro:mostSpecificType ?subclass
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<template>propStatement-informationResourceInAuthorship.ftl</template>
|
|
|
|
</list-view-config>
|