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#>
|
2014-05-14 16:47:13 -04:00
|
|
|
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
|
2013-08-28 16:58:02 -04:00
|
|
|
|
|
|
|
SELECT DISTINCT <collated> ?subclass </collated>
|
|
|
|
?authorship
|
2013-11-12 12:23:44 -05:00
|
|
|
?author ?authorName
|
2013-08-29 12:35:35 -04:00
|
|
|
WHERE {
|
|
|
|
?subject ?property ?authorship .
|
2013-09-18 17:01:26 -04:00
|
|
|
OPTIONAL { ?authorship core:rank ?rank }
|
2013-11-12 12:23:44 -05:00
|
|
|
OPTIONAL { ?authorship core:relates ?author .
|
|
|
|
?author a foaf:Agent .
|
|
|
|
?author rdfs:label ?authorName
|
2013-10-29 14:47:41 -04:00
|
|
|
<collated>
|
2013-11-12 12:23:44 -05:00
|
|
|
OPTIONAL { ?authorship core:relates ?author .
|
|
|
|
?author a foaf:Agent .
|
|
|
|
?author vitro:mostSpecificType ?subclass .
|
|
|
|
?subclass rdfs:subClassOf foaf:Agent
|
2013-10-29 14:47:41 -04:00
|
|
|
}
|
|
|
|
</collated>
|
2014-05-14 16:47:13 -04:00
|
|
|
}
|
|
|
|
OPTIONAL { ?authorship core:relates ?author .
|
|
|
|
?author a vcard:Kind .
|
|
|
|
?author rdfs:label ?authorName
|
|
|
|
<collated>
|
|
|
|
OPTIONAL { ?authorship core:relates ?author .
|
|
|
|
?author a vcard:Kind .
|
|
|
|
?author vitro:mostSpecificType ?subclass .
|
|
|
|
?subclass rdfs:subClassOf vcard:Kind
|
|
|
|
}
|
|
|
|
</collated>
|
2013-08-28 16:58:02 -04:00
|
|
|
}
|
|
|
|
<critical-data-required>
|
2013-11-12 12:23:44 -05:00
|
|
|
FILTER ( bound(?author) )
|
2013-08-28 16:58:02 -04:00
|
|
|
</critical-data-required>
|
2013-11-12 12:23:44 -05:00
|
|
|
} ORDER BY <collated> ?subclass </collated> ?rank ?authorName
|
2013-08-28 16:58:02 -04:00
|
|
|
</query-select>
|
2013-10-29 14:47:41 -04:00
|
|
|
|
2013-08-28 16:58:02 -04:00
|
|
|
<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 .
|
2013-10-01 16:46:13 -04:00
|
|
|
?authorship a core:Authorship .
|
2013-08-28 16:58:02 -04:00
|
|
|
?authorship ?authorshipProperty ?authorshipValue .
|
2013-11-12 12:23:44 -05:00
|
|
|
?authorship core:relates ?author .
|
|
|
|
?author a foaf:Agent .
|
|
|
|
?author rdfs:label ?authorName .
|
|
|
|
?author vitro:mostSpecificType ?subclass .
|
|
|
|
?subclass rdfs:subClassOf foaf:Agent
|
2013-08-28 16:58:02 -04:00
|
|
|
} WHERE {
|
|
|
|
{
|
2013-10-01 16:46:13 -04:00
|
|
|
?subject ?property ?authorship .
|
|
|
|
?authorship a core:Authorship
|
2013-08-28 16:58:02 -04:00
|
|
|
} UNION {
|
|
|
|
?subject ?property ?authorship .
|
2013-10-01 16:46:13 -04:00
|
|
|
?authorship a core:Authorship .
|
2013-08-28 16:58:02 -04:00
|
|
|
?authorship ?authorshipProperty ?authorshipValue
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?authorship .
|
2013-10-01 16:46:13 -04:00
|
|
|
?authorship a core:Authorship .
|
2013-11-12 12:23:44 -05:00
|
|
|
?authorship core:relates ?author .
|
|
|
|
?author a foaf:Agent .
|
|
|
|
?author rdfs:label ?authorName
|
2013-08-28 16:58:02 -04:00
|
|
|
} UNION {
|
|
|
|
?subject ?property ?authorship .
|
2013-10-01 16:46:13 -04:00
|
|
|
?authorship a core:Authorship .
|
2013-11-12 12:23:44 -05:00
|
|
|
?authorship core:relates ?author .
|
|
|
|
?author a foaf:Agent .
|
|
|
|
?author rdfs:label ?authorName .
|
|
|
|
?author vitro:mostSpecificType ?subclass .
|
|
|
|
?subclass rdfs:subClassOf foaf:Agent
|
2013-08-28 16:58:02 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
2014-05-14 16:47:13 -04:00
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
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 vcard: <http://www.w3.org/2006/vcard/ns#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?authorship .
|
|
|
|
?authorship a core:Authorship .
|
|
|
|
?authorship ?authorshipProperty ?authorshipValue .
|
|
|
|
?authorship core:relates ?author .
|
|
|
|
?author a vcard:Kind .
|
|
|
|
?author rdfs:label ?authorName .
|
|
|
|
?author vitro:mostSpecificType ?subclass .
|
|
|
|
?subclass rdfs:subClassOf vcard:Kind
|
|
|
|
} 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 ?author .
|
|
|
|
?author a vcard:Kind .
|
|
|
|
?author rdfs:label ?authorName
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?authorship .
|
|
|
|
?authorship a core:Authorship .
|
|
|
|
?authorship core:relates ?author .
|
|
|
|
?author a vcard:Kind .
|
|
|
|
?author rdfs:label ?authorName .
|
|
|
|
?author vitro:mostSpecificType ?subclass .
|
|
|
|
?subclass rdfs:subClassOf vcard:Kind
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
2013-08-28 16:58:02 -04:00
|
|
|
|
|
|
|
<template>propStatement-informationResourceInAuthorship.ftl</template>
|
|
|
|
</list-view-config>
|