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 afn: <http://jena.hpl.hp.com/ARQ/function#>
|
|
|
|
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#>
|
|
|
|
|
|
|
|
SELECT DISTINCT
|
|
|
|
?role
|
|
|
|
?activity ?activityName
|
|
|
|
?activityLabel
|
|
|
|
?awardedBy
|
|
|
|
?adminedBy
|
|
|
|
?awardedByLabel
|
|
|
|
?adminedByLabel
|
|
|
|
?dateTimeStartRole ?dateTimeEndRole
|
|
|
|
?dateTimeStartGrant ?dateTimeEndGrant
|
|
|
|
?hideThis
|
|
|
|
WHERE {
|
|
|
|
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
2013-08-28 16:58:02 -04:00
|
|
|
?role vitro:mostSpecificType ?subclass
|
|
|
|
|
2013-10-29 14:47:41 -04:00
|
|
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity rdfs:label ?activityLabel .
|
2013-08-28 16:58:02 -04:00
|
|
|
LET (?activityName := afn:localname(?activity))
|
|
|
|
}
|
2013-10-29 14:47:41 -04:00
|
|
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity a core:Grant .
|
2013-11-03 17:18:17 -05:00
|
|
|
?activity core:assignedBy ?awardedBy .
|
2013-08-28 16:58:02 -04:00
|
|
|
?awardedBy rdfs:label ?awardedByLabel
|
|
|
|
}
|
2013-10-29 14:47:41 -04:00
|
|
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity a core:Grant .
|
2013-11-03 17:18:17 -05:00
|
|
|
?activity core:relates ?adminedByRole .
|
|
|
|
?adminedByRole <http://purl.obolibrary.org/obo/RO_0000052> ?adminedBy .
|
2013-08-28 16:58:02 -04:00
|
|
|
?adminedBy rdfs:label ?adminedByLabel
|
|
|
|
}
|
2013-10-29 14:47:41 -04:00
|
|
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeIntervalRole .
|
|
|
|
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
|
|
|
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
|
|
|
}
|
|
|
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeIntervalRole .
|
|
|
|
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
|
|
|
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
|
|
|
}
|
|
|
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
|
|
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
|
|
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
|
|
|
}
|
|
|
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
|
|
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
|
|
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
2013-08-28 16:58:02 -04:00
|
|
|
}
|
|
|
|
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
2013-10-29 14:47:41 -04:00
|
|
|
FILTER ( ?subclass = core:InvestigatorRole)
|
2013-08-28 16:58:02 -04:00
|
|
|
} ORDER BY DESC(?dateTimeEndRole) DESC(?dateTimeStartRole) DESC(?dateTimeEndGrant) DESC(?dateTimeStartGrant) ?activityLabel ?activityName
|
|
|
|
</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#>
|
2013-11-03 17:18:17 -05:00
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
2013-08-28 16:58:02 -04:00
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
2013-08-28 16:58:02 -04:00
|
|
|
?role ?roleProperty ?roleValue .
|
2013-10-29 14:47:41 -04:00
|
|
|
?activity rdfs:label ?activityLabel .
|
2013-11-03 17:18:17 -05:00
|
|
|
?activity core:assignedBy ?awardedBy .
|
2013-08-28 16:58:02 -04:00
|
|
|
?awardedBy rdfs:label ?awardedByLabel .
|
2013-11-03 17:18:17 -05:00
|
|
|
?activity core:relates ?adminedByRole .
|
|
|
|
?adminedByRole <http://purl.obolibrary.org/obo/RO_0000052> ?adminedBy .
|
2013-08-28 16:58:02 -04:00
|
|
|
?adminedBy rdfs:label ?adminedByLabel
|
|
|
|
} WHERE {
|
|
|
|
{
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
2013-08-28 16:58:02 -04:00
|
|
|
} UNION {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
|
|
|
?role ?roleProperty ?roleValue
|
2013-08-28 16:58:02 -04:00
|
|
|
} UNION {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
2013-09-18 16:22:09 -04:00
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
2013-10-29 14:47:41 -04:00
|
|
|
?activity a core:Grant .
|
|
|
|
?activity rdfs:label ?activityLabel
|
2013-08-28 16:58:02 -04:00
|
|
|
} UNION {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity a core:Grant .
|
2013-11-03 17:18:17 -05:00
|
|
|
?activity core:assignedBy ?awardedBy .
|
|
|
|
?awardedBy a foaf:Organization .
|
2013-08-28 16:58:02 -04:00
|
|
|
?awardedBy rdfs:label ?awardedByLabel
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
2013-09-18 16:22:09 -04:00
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
2013-10-29 14:47:41 -04:00
|
|
|
?activity a core:Grant .
|
2013-11-03 17:18:17 -05:00
|
|
|
?activity core:relates ?adminedByRole .
|
|
|
|
?adminedByRole a core:AdminsitratorRole.
|
|
|
|
?adminedByRole <http://purl.obolibrary.org/obo/RO_0000052> ?adminedBy .
|
|
|
|
?adminedBy a foaf:Organization .
|
2013-08-28 16:58:02 -04:00
|
|
|
?adminedBy rdfs:label ?adminedByLabel
|
2013-11-19 16:58:41 -05:00
|
|
|
} UNION {
|
|
|
|
?subject ?property ?role .
|
|
|
|
?role a core:InvestigatorRole .
|
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity a core:Contract .
|
|
|
|
?activity rdfs:label ?activityLabel
|
2013-08-28 16:58:02 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
2013-08-28 16:58:02 -04:00
|
|
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
|
|
|
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
|
|
|
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
|
|
|
} WHERE {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
2013-08-28 16:58:02 -04:00
|
|
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
|
|
|
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
|
|
|
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
2013-08-28 16:58:02 -04:00
|
|
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
|
|
|
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
|
|
|
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
|
|
|
} WHERE {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
2013-08-28 16:58:02 -04:00
|
|
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
|
|
|
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
|
|
|
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity a core:Grant .
|
|
|
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
2013-08-28 16:58:02 -04:00
|
|
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
|
|
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
|
|
|
} WHERE {
|
2013-11-19 16:58:41 -05:00
|
|
|
{
|
|
|
|
?subject ?property ?role .
|
|
|
|
?role a core:InvestigatorRole .
|
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity a core:Grant .
|
|
|
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
|
|
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
|
|
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?role .
|
|
|
|
?role a core:InvestigatorRole .
|
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity a core:Contract .
|
|
|
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
|
|
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
|
|
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
|
|
|
}
|
2013-08-28 16:58:02 -04:00
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?role .
|
2013-10-29 14:47:41 -04:00
|
|
|
?role a core:InvestigatorRole .
|
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
2013-08-28 16:58:02 -04:00
|
|
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
|
|
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
|
|
|
} WHERE {
|
2013-11-19 16:58:41 -05:00
|
|
|
{
|
|
|
|
?subject ?property ?role .
|
|
|
|
?role a core:InvestigatorRole .
|
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity a core:Grant .
|
|
|
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
|
|
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
|
|
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?role .
|
|
|
|
?role a core:InvestigatorRole .
|
|
|
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
|
|
?activity a core:Contract .
|
|
|
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
|
|
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
|
|
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
|
|
|
}
|
2013-08-28 16:58:02 -04:00
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<template>propStatement-hasInvestigatorRole.ftl</template>
|
|
|
|
</list-view-config>
|