Merge branch 'maint-rel-1.6' of git+ssh://github.com/vivo-project/VIVO into maint-rel-1.6
This commit is contained in:
commit
291d04c44f
25 changed files with 1312 additions and 548 deletions
|
@ -32,26 +32,26 @@
|
||||||
OPTIONAL { ?advisingRel rdfs:label ?advisingRelLabel }
|
OPTIONAL { ?advisingRel rdfs:label ?advisingRelLabel }
|
||||||
OPTIONAL { ?advisingRel core:relates ?advisor .
|
OPTIONAL { ?advisingRel core:relates ?advisor .
|
||||||
?advisor a foaf:Person .
|
?advisor a foaf:Person .
|
||||||
OPTIONAL { ?advisor rdfs:label ?advisorLabel }
|
?advisor rdfs:label ?advisorLabel
|
||||||
}
|
}
|
||||||
OPTIONAL { ?advisingRel core:degreeCandidacy ?degree .
|
OPTIONAL { ?advisingRel core:degreeCandidacy ?degree .
|
||||||
?degree rdfs:label ?degreeLabel .
|
?degree rdfs:label ?degreeLabel .
|
||||||
OPTIONAL { ?degree core:abbreviation ?degreeAbbr }
|
}
|
||||||
|
OPTIONAL { ?advisingRel core:degreeCandidacy ?degree .
|
||||||
|
?degree core:abbreviation ?degreeAbbr .
|
||||||
}
|
}
|
||||||
<collated>
|
<collated>
|
||||||
OPTIONAL { ?advisingRel vitro:mostSpecificType ?subclass .
|
OPTIONAL { ?advisingRel vitro:mostSpecificType ?subclass .
|
||||||
?subclass rdfs:subClassOf core:AdvisingRelationship
|
?subclass rdfs:subClassOf core:AdvisingRelationship
|
||||||
}
|
}
|
||||||
</collated>
|
</collated>
|
||||||
OPTIONAL { ?advisingRel core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
}
|
|
||||||
}
|
}
|
||||||
OPTIONAL { ?advisingRel core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd)
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd)
|
||||||
|
|
|
@ -32,26 +32,26 @@
|
||||||
OPTIONAL { ?advisingRel rdfs:label ?advisingRelLabel }
|
OPTIONAL { ?advisingRel rdfs:label ?advisingRelLabel }
|
||||||
OPTIONAL { ?advisingRel core:relates ?advisee .
|
OPTIONAL { ?advisingRel core:relates ?advisee .
|
||||||
?advisee a foaf:Person .
|
?advisee a foaf:Person .
|
||||||
OPTIONAL { ?advisee rdfs:label ?adviseeLabel }
|
?advisee rdfs:label ?adviseeLabel
|
||||||
}
|
}
|
||||||
OPTIONAL { ?advisingRel core:degreeCandidacy ?degree .
|
OPTIONAL { ?advisingRel core:degreeCandidacy ?degree .
|
||||||
?degree rdfs:label ?degreeLabel .
|
?degree rdfs:label ?degreeLabel .
|
||||||
OPTIONAL { ?degree core:abbreviation ?degreeAbbr }
|
}
|
||||||
|
OPTIONAL { ?advisingRel core:degreeCandidacy ?degree .
|
||||||
|
?degree core:abbreviation ?degreeAbbr
|
||||||
}
|
}
|
||||||
<collated>
|
<collated>
|
||||||
OPTIONAL { ?advisingRel vitro:mostSpecificType ?subclass .
|
OPTIONAL { ?advisingRel vitro:mostSpecificType ?subclass .
|
||||||
?subclass rdfs:subClassOf core:AdvisingRelationship
|
?subclass rdfs:subClassOf core:AdvisingRelationship
|
||||||
}
|
}
|
||||||
</collated>
|
</collated>
|
||||||
OPTIONAL { ?advisingRel core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
}
|
|
||||||
}
|
}
|
||||||
OPTIONAL { ?advisingRel core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?advisingRel core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd)
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd)
|
||||||
|
|
|
@ -35,18 +35,16 @@
|
||||||
OPTIONAL { ?awardReceipt core:assignedBy ?assignedBy .
|
OPTIONAL { ?awardReceipt core:assignedBy ?assignedBy .
|
||||||
?assignedBy rdfs:label ?assignedByLabel
|
?assignedBy rdfs:label ?assignedByLabel
|
||||||
}
|
}
|
||||||
OPTIONAL { ?awardReceipt core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?awardReceipt core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
}
|
|
||||||
}
|
}
|
||||||
OPTIONAL { ?awardReceipt core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?awardReceipt core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
}
|
|
||||||
}
|
}
|
||||||
OPTIONAL { ?awardReceipt core:dateTimeValue ?dateTimeValue
|
OPTIONAL { ?awardReceipt core:dateTimeValue ?dateTimeValue .
|
||||||
OPTIONAL { ?dateTimeValue core:dateTime ?dateTime }
|
?dateTimeValue core:dateTime ?dateTime
|
||||||
}
|
}
|
||||||
} ORDER BY DESC(?dateTime) DESC(?dateTimeEnd)
|
} ORDER BY DESC(?dateTime) DESC(?dateTimeEnd)
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
|
@ -23,10 +23,14 @@
|
||||||
OPTIONAL { ?edTraining vitro:mostSpecificType ?subclass . }
|
OPTIONAL { ?edTraining vitro:mostSpecificType ?subclass . }
|
||||||
OPTIONAL { ?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
OPTIONAL { ?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
||||||
?awardedDegree core:relates ?degree .
|
?awardedDegree core:relates ?degree .
|
||||||
?degree a core:AcademicDegree
|
?degree a core:AcademicDegree .
|
||||||
OPTIONAL { ?degree rdfs:label ?degreeName }
|
?degree rdfs:label ?degreeName
|
||||||
OPTIONAL { ?degree core:abbreviation ?degreeAbbr }
|
}
|
||||||
}
|
OPTIONAL { ?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
||||||
|
?awardedDegree core:relates ?degree .
|
||||||
|
?degree a core:AcademicDegree .
|
||||||
|
?degree core:abbreviation ?degreeAbbr
|
||||||
|
}
|
||||||
OPTIONAL { ?edTraining <http://purl.obolibrary.org/obo/RO_0000057> ?org .
|
OPTIONAL { ?edTraining <http://purl.obolibrary.org/obo/RO_0000057> ?org .
|
||||||
?org a foaf:Organization .
|
?org a foaf:Organization .
|
||||||
?org rdfs:label ?orgName
|
?org rdfs:label ?orgName
|
||||||
|
@ -34,13 +38,13 @@
|
||||||
OPTIONAL { ?edTraining core:majorField ?majorField }
|
OPTIONAL { ?edTraining core:majorField ?majorField }
|
||||||
OPTIONAL { ?edTraining core:departmentOrSchool ?deptOrSchool }
|
OPTIONAL { ?edTraining core:departmentOrSchool ?deptOrSchool }
|
||||||
OPTIONAL { ?edTraining core:supplementalInformation ?info }
|
OPTIONAL { ?edTraining core:supplementalInformation ?info }
|
||||||
OPTIONAL { ?edTraining core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?edTraining core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
}
|
}
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
OPTIONAL { ?edTraining core:dateTimeInterval ?dateTimeInterval .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
}
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
}
|
}
|
||||||
} ORDER BY ?subclass DESC(?dateTimeEnd) DESC(?dateTimeStart)
|
} ORDER BY ?subclass DESC(?dateTimeEnd) DESC(?dateTimeStart)
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
159
productMods/config/listViewConfig-hasClinicalActivity.xml
Normal file
159
productMods/config/listViewConfig-hasClinicalActivity.xml
Normal file
|
@ -0,0 +1,159 @@
|
||||||
|
<?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 <collated>?subclass</collated>
|
||||||
|
# send the property to the template, since this view supports multiple role properties
|
||||||
|
?property
|
||||||
|
?role
|
||||||
|
?roleLabel
|
||||||
|
?activity ?activityName
|
||||||
|
?activityLabel
|
||||||
|
?dateTimeStart ?dateTimeEnd
|
||||||
|
?hideThis
|
||||||
|
?objectType
|
||||||
|
WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
|
||||||
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
|
|
||||||
|
<collated>
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
</collated>
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role core:roleContributesTo ?activity .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
|
|
||||||
|
<collated>
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
</collated>
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role rdfs:label ?roleLabel }
|
||||||
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
}
|
||||||
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityLabel ?activityName
|
||||||
|
</query-select>
|
||||||
|
|
||||||
|
<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#>
|
||||||
|
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role core:roleContributesTo ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass .
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role core:roleContributesTo ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<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#>
|
||||||
|
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass .
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role ?roleProperty ?roleValue .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} WHERE {
|
||||||
|
{
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role ?roleProperty ?roleValue
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role core:relates ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role core:roleContributesTo ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ClinicalRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<template>propStatement-hasRole.ftl</template>
|
||||||
|
</list-view-config>
|
|
@ -0,0 +1,188 @@
|
||||||
|
<?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 .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
|
||||||
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity rdfs:label ?activityLabel .
|
||||||
|
LET (?activityName := afn:localname(?activity))
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:grantAwardedBy ?awardedBy .
|
||||||
|
?awardedBy rdfs:label ?awardedByLabel
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:administeredBy ?adminedBy .
|
||||||
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
|
}
|
||||||
|
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
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
||||||
|
} ORDER BY DESC(?dateTimeEndRole) DESC(?dateTimeStartRole) DESC(?dateTimeEndGrant) DESC(?dateTimeStartGrant) ?activityLabel ?activityName
|
||||||
|
</query-select>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?role ?roleProperty ?roleValue .
|
||||||
|
?activity rdfs:label ?activityLabel .
|
||||||
|
?activity core:grantAwardedBy ?awardedBy .
|
||||||
|
?awardedBy rdfs:label ?awardedByLabel .
|
||||||
|
?activity core:administeredBy ?adminedBy .
|
||||||
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
|
} WHERE {
|
||||||
|
{
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role ?roleProperty ?roleValue
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:grantAwardedBy ?awardedBy .
|
||||||
|
?awardedBy rdfs:label ?awardedByLabel
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:administeredBy ?adminedBy .
|
||||||
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||||
|
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
||||||
|
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?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 .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||||
|
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
||||||
|
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?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 .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<template>propStatement-hasInvestigatorRole.ftl</template>
|
||||||
|
</list-view-config>
|
|
@ -22,18 +22,19 @@
|
||||||
|
|
||||||
?subject ?property ?role
|
?subject ?property ?role
|
||||||
OPTIONAL { ?role core:roleContributesTo ?activity .
|
OPTIONAL { ?role core:roleContributesTo ?activity .
|
||||||
?activity vitro:mostSpecificType ?subclass
|
?activity vitro:mostSpecificType ?subclass .
|
||||||
OPTIONAL { ?activity rdfs:label ?activityName }
|
?subclass rdfs:label ?subclassLabel
|
||||||
OPTIONAL { ?subclass rdfs:label ?subclassLabel }
|
}
|
||||||
}
|
OPTIONAL { ?role core:roleContributesTo ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval
|
}
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
}
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
}
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
}
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
}
|
}
|
||||||
|
|
||||||
} ORDER BY <collated> ?subclass </collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityName
|
} ORDER BY <collated> ?subclass </collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityName
|
||||||
|
|
|
@ -24,144 +24,87 @@
|
||||||
WHERE {
|
WHERE {
|
||||||
|
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role vitro:mostSpecificType ?subclass
|
?role vitro:mostSpecificType ?subclass
|
||||||
|
|
||||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity rdfs:label ?activityLabel .
|
||||||
LET (?activityName := afn:localname(?activity))
|
LET (?activityName := afn:localname(?activity))
|
||||||
OPTIONAL { ?activity rdfs:label ?activityLabel }
|
|
||||||
}
|
|
||||||
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity
|
|
||||||
LET (?activityName := afn:localname(?activity))
|
|
||||||
OPTIONAL { ?activity rdfs:label ?activityLabel }
|
|
||||||
}
|
}
|
||||||
OPTIONAL { ?activity core:grantAwardedBy ?awardedBy .
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:grantAwardedBy ?awardedBy .
|
||||||
?awardedBy rdfs:label ?awardedByLabel
|
?awardedBy rdfs:label ?awardedByLabel
|
||||||
}
|
}
|
||||||
OPTIONAL { ?activity core:administeredBy ?adminedBy .
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:administeredBy ?adminedBy .
|
||||||
?adminedBy rdfs:label ?adminedByLabel
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
}
|
}
|
||||||
OPTIONAL { ?role core:dateTimeInterval ?dateTimeIntervalRole
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||||
OPTIONAL { ?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
||||||
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
||||||
}
|
}
|
||||||
OPTIONAL { ?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||||
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
||||||
}
|
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
||||||
}
|
}
|
||||||
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?grant .
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?grant core:dateTimeInterval ?dateTimeIntervalGrant
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
OPTIONAL { ?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
}
|
}
|
||||||
OPTIONAL { ?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
}
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
}
|
}
|
||||||
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
||||||
FILTER ( bound(?activity) && ?subclass = ?objectType)
|
FILTER ( ?subclass = core:InvestigatorRole)
|
||||||
} ORDER BY DESC(?dateTimeEndRole) DESC(?dateTimeStartRole) DESC(?dateTimeEndGrant) DESC(?dateTimeStartGrant) ?activityLabel ?activityName
|
} ORDER BY DESC(?dateTimeEndRole) DESC(?dateTimeStartRole) DESC(?dateTimeEndGrant) DESC(?dateTimeStartGrant) ?activityLabel ?activityName
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
||||||
<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#>
|
|
||||||
|
|
||||||
CONSTRUCT {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a ?objectType .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
|
||||||
?activity rdfs:label ?activityLabel
|
|
||||||
} WHERE {
|
|
||||||
{
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a ?objectType .
|
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity
|
|
||||||
} UNION
|
|
||||||
{
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a ?objectType .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
|
||||||
?activity rdfs:label ?activityLabel
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</query-construct>
|
|
||||||
|
|
||||||
<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#>
|
|
||||||
|
|
||||||
CONSTRUCT {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a ?objectType .
|
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
||||||
?activity rdfs:label ?activityLabel
|
|
||||||
} WHERE {
|
|
||||||
{
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a ?objectType .
|
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity
|
|
||||||
} UNION
|
|
||||||
{
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a ?objectType .
|
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
||||||
?activity rdfs:label ?activityLabel
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</query-construct>
|
|
||||||
|
|
||||||
<query-construct>
|
<query-construct>
|
||||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
?role ?roleProperty ?roleValue .
|
?role ?roleProperty ?roleValue .
|
||||||
?activity rdfs:label ?activityName .
|
?activity rdfs:label ?activityLabel .
|
||||||
?activity core:grantAwardedBy ?awardedBy .
|
?activity core:grantAwardedBy ?awardedBy .
|
||||||
?awardedBy rdfs:label ?awardedByLabel .
|
?awardedBy rdfs:label ?awardedByLabel .
|
||||||
?activity core:administeredBy ?adminedBy .
|
?activity core:administeredBy ?adminedBy .
|
||||||
?adminedBy rdfs:label ?adminedByLabel
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
} WHERE {
|
} WHERE {
|
||||||
{
|
{
|
||||||
?subject ?property ?role
|
?subject ?property ?role .
|
||||||
|
?role a core:InvestigatorRole .
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role ?roleProperty ?roleValue
|
?role ?roleProperty ?roleValue
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?activity rdfs:label ?activityName
|
?activity a core:Grant .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?activity rdfs:label ?activityName
|
?activity a core:Grant .
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a ?objectType .
|
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
||||||
?activity core:grantAwardedBy ?awardedBy
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a ?objectType .
|
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
||||||
?activity core:grantAwardedBy ?awardedBy .
|
?activity core:grantAwardedBy ?awardedBy .
|
||||||
?awardedBy rdfs:label ?awardedByLabel
|
?awardedBy rdfs:label ?awardedByLabel
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
|
||||||
?activity core:administeredBy ?adminedBy
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a ?objectType .
|
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
?activity core:administeredBy ?adminedBy .
|
?activity core:administeredBy ?adminedBy .
|
||||||
?adminedBy rdfs:label ?adminedByLabel
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
}
|
}
|
||||||
|
@ -172,13 +115,13 @@
|
||||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||||
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
||||||
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
||||||
} WHERE {
|
} WHERE {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||||
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
||||||
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
||||||
|
@ -189,13 +132,13 @@
|
||||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||||
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
||||||
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
||||||
} WHERE {
|
} WHERE {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||||
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
||||||
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
||||||
|
@ -205,16 +148,18 @@
|
||||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?grant .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?grant core:dateTimeInterval ?dateTimeIntervalGrant .
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
} WHERE {
|
} WHERE {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?grant .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?grant core:dateTimeInterval ?dateTimeIntervalGrant .
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
}
|
}
|
||||||
|
@ -224,16 +169,18 @@
|
||||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?grant .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?grant core:dateTimeInterval ?dateTimeIntervalGrant .
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
} WHERE {
|
} WHERE {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?grant .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?grant core:dateTimeInterval ?dateTimeIntervalGrant .
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,68 +30,50 @@
|
||||||
|
|
||||||
OPTIONAL { ?role rdfs:label ?roleLabel }
|
OPTIONAL { ?role rdfs:label ?roleLabel }
|
||||||
|
|
||||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
|
?presentation rdfs:label ?presentationLabel .
|
||||||
LET (?presentationName := afn:localname(?presentation))
|
LET (?presentationName := afn:localname(?presentation))
|
||||||
|
}
|
||||||
OPTIONAL { ?presentation rdfs:label ?presentationLabel }
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
OPTIONAL { ?conference a bibo:Conference .
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
||||||
OPTIONAL { ?conference rdfs:label ?conferenceLabel }
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||||
|
?conference a bibo:Conference .
|
||||||
{
|
?conference rdfs:label ?conferenceLabel
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference
|
}
|
||||||
} UNION {
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation
|
?presentation a vivo:Presentation .
|
||||||
}
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||||
}
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||||
OPTIONAL {
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
||||||
{
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
?conference rdfs:label ?conferenceLabel
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference
|
}
|
||||||
} UNION {
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
?presentation a vivo:Presentation .
|
||||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop
|
?presentation vivo:inEventWithin ?series .
|
||||||
}
|
?series vivo:seriesForEvent ?presentation .
|
||||||
OPTIONAL { ?conference rdfs:label ?conferenceLabel }
|
?series rdfs:label ?seriesLabel
|
||||||
}
|
}
|
||||||
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
OPTIONAL { ?series a vivo:EventSeries .
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||||
OPTIONAL { ?series rdfs:label ?seriesLabel }
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||||
|
?workshop vivo:inEventSeries ?series .
|
||||||
{
|
?series vivo:seriesForEvent ?workshop .
|
||||||
?presentation vivo:inEventWithin ?series
|
?series rdfs:label ?seriesLabel
|
||||||
} UNION {
|
}
|
||||||
?series vivo:seriesForEvent ?presentation
|
<collated>
|
||||||
}
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
}
|
?presentation a vivo:Presentation .
|
||||||
OPTIONAL {
|
?presentation vitro:mostSpecificType ?subclass .
|
||||||
{
|
}
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
</collated>
|
||||||
?workshop vivo:inEventSeries ?series
|
|
||||||
} UNION {
|
OPTIONAL { ?role vivo:dateTimeInterval ?dateTimeInterval .
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
?dateTimeInterval vivo:start ?dateTimeStartValue .
|
||||||
?series vivo:seriesForEvent ?workshop
|
?dateTimeStartValue vivo:dateTime ?dateTime
|
||||||
}
|
|
||||||
OPTIONAL { ?series rdfs:label ?seriesLabel }
|
|
||||||
}
|
|
||||||
|
|
||||||
<collated>
|
|
||||||
?presentation vitro:mostSpecificType ?subclass .
|
|
||||||
|
|
||||||
{
|
|
||||||
?subclass rdfs:subClassOf vivo:Presentation
|
|
||||||
} UNION {
|
|
||||||
?subclass owl:equivalentClass vivo:Presentation
|
|
||||||
}
|
|
||||||
</collated>
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
OPTIONAL { ?role vivo:dateTimeInterval ?dateTimeInterval
|
|
||||||
OPTIONAL { ?dateTimeInterval vivo:start ?dateTimeStartValue .
|
|
||||||
?dateTimeStartValue vivo:dateTime ?dateTime
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<critical-data-required>
|
<critical-data-required>
|
||||||
|
@ -101,44 +83,18 @@
|
||||||
} ORDER BY <collated>?subclass</collated> DESC(?dateTime) ?presentationLabel ?presentationName
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTime) ?presentationLabel ?presentationName
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
||||||
<query-construct>
|
|
||||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
||||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
||||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
||||||
|
|
||||||
CONSTRUCT {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?presentation vitro:mostSpecificType ?subclass .
|
|
||||||
?subclass rdfs:subClassOf vivo:Presentation .
|
|
||||||
?subclass owl:equivalentClass vivo:Presentation .
|
|
||||||
} WHERE {
|
|
||||||
{
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?presentation vitro:mostSpecificType ?subclass .
|
|
||||||
?subclass rdfs:subClassOf vivo:Presentation
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?presentation vitro:mostSpecificType ?subclass .
|
|
||||||
?subclass owl:equivalentClass vivo:Presentation
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</query-construct>
|
|
||||||
|
|
||||||
<query-construct>
|
<query-construct>
|
||||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
?role ?roleProperty ?roleValue .
|
?role rdfs:label ?roleLabel .
|
||||||
?presentation rdfs:label ?presentationLabel
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
|
?presentation rdfs:label ?presentationLabel .
|
||||||
|
?presentation vitro:mostSpecificType ?subclass .
|
||||||
} WHERE {
|
} WHERE {
|
||||||
{
|
{
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
|
@ -146,12 +102,19 @@
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
?role ?roleProperty ?roleValue
|
?role rdfs:label ?roleLabel .
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
?presentation rdfs:label ?presentationLabel
|
?presentation rdfs:label ?presentationLabel
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a vivo:PresenterRole .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
|
?presentation vitro:mostSpecificType ?subclass .
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
@ -164,37 +127,25 @@
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
?conference a bibo:Conference .
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
||||||
|
?conference a bibo:Conference .
|
||||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||||
?conference rdfs:label ?conferenceLabel
|
?conference rdfs:label ?conferenceLabel
|
||||||
} WHERE {
|
} WHERE {
|
||||||
|
|
||||||
{
|
{
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?conference a bibo:Conference .
|
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference
|
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
?conference a bibo:Conference .
|
?presentation a vivo:Presentation .
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
||||||
?conference rdfs:label ?conferenceLabel
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?conference a bibo:Conference .
|
|
||||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?conference a bibo:Conference .
|
|
||||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||||
|
?conference a bibo:Conference .
|
||||||
?conference rdfs:label ?conferenceLabel
|
?conference rdfs:label ?conferenceLabel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -208,43 +159,32 @@
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||||
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||||
|
?workshop a bibo:Workshop .
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
||||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
||||||
?conference a bibo:Conference .
|
?conference a bibo:Conference .
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
||||||
?conference rdfs:label ?conferenceLabel
|
?conference rdfs:label ?conferenceLabel
|
||||||
} WHERE {
|
} WHERE {
|
||||||
{
|
{
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a vivo:PresenterRole .
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
?conference a bibo:Conference .
|
?presentation a vivo:Presentation .
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?conference a bibo:Conference .
|
?conference a bibo:Conference .
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
|
||||||
?conference rdfs:label ?conferenceLabel
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?conference a bibo:Conference .
|
|
||||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?conference a bibo:Conference .
|
|
||||||
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||||
?conference rdfs:label ?conferenceLabel
|
?workshop a bibo:Workshop .
|
||||||
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
||||||
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
||||||
|
?conference a bibo:Conference .
|
||||||
|
?conference rdfs:label ?conferenceLabel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
@ -257,6 +197,8 @@
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
?series a vivo:EventSeries .
|
?series a vivo:EventSeries .
|
||||||
?presentation vivo:inEventSeries ?series .
|
?presentation vivo:inEventSeries ?series .
|
||||||
?series vivo:seriesForEvent ?presentation .
|
?series vivo:seriesForEvent ?presentation .
|
||||||
|
@ -266,27 +208,13 @@
|
||||||
{
|
{
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?series a vivo:EventSeries .
|
|
||||||
?presentation vivo:inEventSeries ?series
|
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
?series a vivo:EventSeries .
|
?series a vivo:EventSeries .
|
||||||
?presentation vivo:inEventSeries ?series .
|
?presentation vivo:inEventSeries ?series .
|
||||||
?series rdfs:label ?seriesLabel
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?series a vivo:EventSeries .
|
|
||||||
?series vivo:seriesForEvent ?presentation
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?series a vivo:EventSeries .
|
|
||||||
?series vivo:seriesForEvent ?presentation .
|
?series vivo:seriesForEvent ?presentation .
|
||||||
?series rdfs:label ?seriesLabel
|
?series rdfs:label ?seriesLabel
|
||||||
}
|
}
|
||||||
|
@ -301,42 +229,30 @@
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
|
?presentation a vivo:Presentation .
|
||||||
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||||
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||||
|
?workshop a bibo:Workshop .
|
||||||
?workshop vivo:inEventSeries ?series .
|
?workshop vivo:inEventSeries ?series .
|
||||||
?series vivo:seriesForEvent ?workshop .
|
?series vivo:seriesForEvent ?workshop .
|
||||||
?series a vivo:EventSeries .
|
?series a vivo:EventSeries .
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
||||||
?series rdfs:label ?seriesLabel
|
?series rdfs:label ?seriesLabel
|
||||||
} WHERE {
|
} WHERE {
|
||||||
{
|
{
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a vivo:PresenterRole .
|
?role a vivo:PresenterRole .
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a vivo:PresenterRole .
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
||||||
?series a vivo:EventSeries .
|
?presentation a vivo:Presentation .
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
||||||
?workshop vivo:inEventSeries ?series
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?series a vivo:EventSeries .
|
|
||||||
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
|
||||||
?workshop vivo:inEventSeries ?series .
|
|
||||||
?series rdfs:label ?seriesLabel
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?series a vivo:EventSeries .
|
|
||||||
?series vivo:seriesForEvent ?workshop .
|
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a vivo:PresenterRole .
|
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
||||||
?series a vivo:EventSeries .
|
|
||||||
?series vivo:seriesForEvent ?workshop .
|
|
||||||
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
||||||
|
?workshop a bibo:Workshop .
|
||||||
|
?workshop vivo:inEventSeries ?series .
|
||||||
|
?series vivo:seriesForEvent ?workshop .
|
||||||
|
?series a vivo:EventSeries .
|
||||||
?series rdfs:label ?seriesLabel
|
?series rdfs:label ?seriesLabel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,188 @@
|
||||||
|
<?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 .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
|
||||||
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity rdfs:label ?activityLabel .
|
||||||
|
LET (?activityName := afn:localname(?activity))
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:grantAwardedBy ?awardedBy .
|
||||||
|
?awardedBy rdfs:label ?awardedByLabel
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:administeredBy ?adminedBy .
|
||||||
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
|
}
|
||||||
|
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
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
||||||
|
} ORDER BY DESC(?dateTimeEndRole) DESC(?dateTimeStartRole) DESC(?dateTimeEndGrant) DESC(?dateTimeStartGrant) ?activityLabel ?activityName
|
||||||
|
</query-select>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?role ?roleProperty ?roleValue .
|
||||||
|
?activity rdfs:label ?activityLabel .
|
||||||
|
?activity core:grantAwardedBy ?awardedBy .
|
||||||
|
?awardedBy rdfs:label ?awardedByLabel .
|
||||||
|
?activity core:administeredBy ?adminedBy .
|
||||||
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
|
} WHERE {
|
||||||
|
{
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role ?roleProperty ?roleValue
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:grantAwardedBy ?awardedBy .
|
||||||
|
?awardedBy rdfs:label ?awardedByLabel
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:administeredBy ?adminedBy .
|
||||||
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||||
|
?dateTimeIntervalRole core:start ?dateTimeStartValueRole .
|
||||||
|
?dateTimeStartValueRole core:dateTime ?dateTimeStartRole
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?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 .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeIntervalRole .
|
||||||
|
?dateTimeIntervalRole core:end ?dateTimeEndValueRole .
|
||||||
|
?dateTimeEndValueRole core:dateTime ?dateTimeEndRole
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?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 .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Grant .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<template>propStatement-hasInvestigatorRole.ftl</template>
|
||||||
|
</list-view-config>
|
|
@ -22,18 +22,20 @@
|
||||||
|
|
||||||
?subject ?property ?role
|
?subject ?property ?role
|
||||||
OPTIONAL { ?role core:roleContributesTo ?activity .
|
OPTIONAL { ?role core:roleContributesTo ?activity .
|
||||||
?activity vitro:mostSpecificType ?subclass
|
?activity rdfs:label ?activityName .
|
||||||
OPTIONAL { ?activity rdfs:label ?activityName }
|
}
|
||||||
OPTIONAL { ?subclass rdfs:label ?subclassLabel }
|
|
||||||
}
|
|
||||||
|
|
||||||
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?role core:roleContributesTo ?activity .
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
?activity vitro:mostSpecificType ?subclass .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
?subclass rdfs:label ?subclassLabel
|
||||||
}
|
}
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
}
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
}
|
}
|
||||||
|
|
||||||
} ORDER BY <collated> ?subclass </collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityName
|
} ORDER BY <collated> ?subclass </collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityName
|
||||||
|
@ -60,20 +62,11 @@
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:ReviewerRole .
|
?role a core:ReviewerRole .
|
||||||
?role vitro:mostSpecificType ?roleSubclass
|
?role vitro:mostSpecificType ?roleSubclass
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a core:ReviewerRole .
|
|
||||||
?role core:roleContributesTo ?activity
|
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:ReviewerRole .
|
?role a core:ReviewerRole .
|
||||||
?role core:roleContributesTo ?activity .
|
?role core:roleContributesTo ?activity .
|
||||||
?activity rdfs:label ?activityName .
|
?activity rdfs:label ?activityName .
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role a core:ReviewerRole .
|
|
||||||
?role core:roleContributesTo ?activity .
|
|
||||||
?activity vitro:mostSpecificType ?subclass
|
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:ReviewerRole .
|
?role a core:ReviewerRole .
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
WHERE {
|
WHERE {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a ?objectType .
|
?role a ?objectType .
|
||||||
?role vitro:mostSpecificType ?roleSubclass
|
|
||||||
|
|
||||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
?activity rdfs:label ?activityLabel
|
?activity rdfs:label ?activityLabel
|
||||||
|
@ -46,25 +45,15 @@
|
||||||
?activity vitro:mostSpecificType ?subclass
|
?activity vitro:mostSpecificType ?subclass
|
||||||
</collated>
|
</collated>
|
||||||
}
|
}
|
||||||
<!-- for research activities where the activity involves a grant -->
|
|
||||||
OPTIONAL { ?role core:relatedBy ?activity .
|
|
||||||
?activity rdfs:label ?activityLabel
|
|
||||||
|
|
||||||
<collated>
|
|
||||||
?activity vitro:mostSpecificType ?subclass
|
|
||||||
</collated>
|
|
||||||
}
|
|
||||||
OPTIONAL { ?role rdfs:label ?roleLabel }
|
OPTIONAL { ?role rdfs:label ?roleLabel }
|
||||||
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
}
|
||||||
}
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
}
|
|
||||||
}
|
}
|
||||||
FILTER ( ?objectType = ?roleSubclass )
|
|
||||||
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityLabel ?activityName
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityLabel ?activityName
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
||||||
|
@ -84,22 +73,6 @@
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
|
||||||
<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#>
|
|
||||||
|
|
||||||
CONSTRUCT {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role core:relatedBy ?activity .
|
|
||||||
?activity vitro:mostSpecificType ?subclass .
|
|
||||||
} WHERE {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role core:relatedBy ?activity .
|
|
||||||
?activity vitro:mostSpecificType ?subclass
|
|
||||||
}
|
|
||||||
</query-construct>
|
|
||||||
|
|
||||||
<query-construct>
|
<query-construct>
|
||||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
@ -141,26 +114,27 @@
|
||||||
?activity rdfs:label ?activityName
|
?activity rdfs:label ?activityName
|
||||||
} WHERE {
|
} WHERE {
|
||||||
{
|
{
|
||||||
?subject ?property ?role
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
?role ?roleProperty ?roleValue
|
?role ?roleProperty ?roleValue
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
?role core:relates ?activity .
|
?role core:relates ?activity .
|
||||||
?activity rdfs:label ?activityName
|
?activity rdfs:label ?activityName
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
?activity rdfs:label ?activityName
|
?activity rdfs:label ?activityName
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
?role core:roleContributesTo ?activity .
|
?role core:roleContributesTo ?activity .
|
||||||
?activity rdfs:label ?activityName
|
?activity rdfs:label ?activityName
|
||||||
} UNION {
|
|
||||||
?subject ?property ?role .
|
|
||||||
?role core:relatedBy ?activity .
|
|
||||||
?activity rdfs:label ?activityName
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
|
|
@ -18,30 +18,22 @@
|
||||||
?subject ?property ?authorship .
|
?subject ?property ?authorship .
|
||||||
OPTIONAL { ?authorship core:rank ?rank }
|
OPTIONAL { ?authorship core:rank ?rank }
|
||||||
OPTIONAL { ?authorship core:relates ?person .
|
OPTIONAL { ?authorship core:relates ?person .
|
||||||
?person a foaf:Person .
|
?person a foaf:Person .
|
||||||
?person rdfs:label ?personName
|
?person rdfs:label ?personName
|
||||||
<collated>
|
<collated>
|
||||||
OPTIONAL { ?person vitro:mostSpecificType ?subclass .
|
OPTIONAL { ?authorship core:relates ?person .
|
||||||
?subclass rdfs:subClassOf foaf:Person
|
?person a foaf:Person .
|
||||||
}
|
?person vitro:mostSpecificType ?subclass .
|
||||||
</collated>
|
?subclass rdfs:subClassOf foaf:Person
|
||||||
|
}
|
||||||
|
</collated>
|
||||||
}
|
}
|
||||||
<critical-data-required>
|
<critical-data-required>
|
||||||
FILTER ( bound(?person) )
|
FILTER ( bound(?person) )
|
||||||
</critical-data-required>
|
</critical-data-required>
|
||||||
} ORDER BY <collated> ?subclass </collated> ?rank ?personName
|
} ORDER BY <collated> ?subclass </collated> ?rank ?personName
|
||||||
</query-select>
|
</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>
|
<query-construct>
|
||||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
@ -54,7 +46,8 @@
|
||||||
?authorship core:relates ?person .
|
?authorship core:relates ?person .
|
||||||
?person a foaf:Person .
|
?person a foaf:Person .
|
||||||
?person rdfs:label ?personName .
|
?person rdfs:label ?personName .
|
||||||
?person vitro:mostSpecificType ?subclass
|
?person vitro:mostSpecificType ?subclass .
|
||||||
|
?subclass rdfs:subClassOf foaf:Person
|
||||||
} WHERE {
|
} WHERE {
|
||||||
{
|
{
|
||||||
?subject ?property ?authorship .
|
?subject ?property ?authorship .
|
||||||
|
@ -75,7 +68,8 @@
|
||||||
?authorship core:relates ?person .
|
?authorship core:relates ?person .
|
||||||
?person a foaf:Person .
|
?person a foaf:Person .
|
||||||
?person rdfs:label ?personName .
|
?person rdfs:label ?personName .
|
||||||
?person vitro:mostSpecificType ?subclass
|
?person vitro:mostSpecificType ?subclass .
|
||||||
|
?subclass rdfs:subClassOf foaf:Person
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
|
|
@ -18,30 +18,22 @@
|
||||||
?subject ?property ?editorship .
|
?subject ?property ?editorship .
|
||||||
OPTIONAL { ?editorship core:rank ?rank }
|
OPTIONAL { ?editorship core:rank ?rank }
|
||||||
OPTIONAL { ?editorship core:relates ?person .
|
OPTIONAL { ?editorship core:relates ?person .
|
||||||
?person a foaf:Person .
|
?person a foaf:Person .
|
||||||
?person rdfs:label ?personName
|
?person rdfs:label ?personName
|
||||||
<collated>
|
}
|
||||||
OPTIONAL { ?person vitro:mostSpecificType ?subclass .
|
<collated>
|
||||||
?subclass rdfs:subClassOf foaf:Person
|
OPTIONAL { ?editorship core:relates ?person .
|
||||||
}
|
?person a foaf:Person .
|
||||||
</collated>
|
?person vitro:mostSpecificType ?subclass .
|
||||||
}
|
?subclass rdfs:subClassOf foaf:Person
|
||||||
|
}
|
||||||
|
</collated>
|
||||||
<critical-data-required>
|
<critical-data-required>
|
||||||
FILTER ( bound(?person) )
|
FILTER ( bound(?person) )
|
||||||
</critical-data-required>
|
</critical-data-required>
|
||||||
} ORDER BY <collated> ?subclass </collated> ?rank ?personName
|
} ORDER BY <collated> ?subclass </collated> ?rank ?personName
|
||||||
</query-select>
|
</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>
|
<query-construct>
|
||||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
@ -54,7 +46,8 @@
|
||||||
?editorship core:relates ?person .
|
?editorship core:relates ?person .
|
||||||
?person a foaf:Person .
|
?person a foaf:Person .
|
||||||
?person rdfs:label ?personName .
|
?person rdfs:label ?personName .
|
||||||
?person vitro:mostSpecificType ?subclass
|
?person vitro:mostSpecificType ?subclass .
|
||||||
|
?subclass rdfs:subClassOf foaf:Person
|
||||||
} WHERE {
|
} WHERE {
|
||||||
{
|
{
|
||||||
?subject ?property ?editorship .
|
?subject ?property ?editorship .
|
||||||
|
@ -75,7 +68,8 @@
|
||||||
?editorship core:relates ?person .
|
?editorship core:relates ?person .
|
||||||
?person a foaf:Person .
|
?person a foaf:Person .
|
||||||
?person rdfs:label ?personName .
|
?person rdfs:label ?personName .
|
||||||
?person vitro:mostSpecificType ?subclass
|
?person vitro:mostSpecificType ?subclass .
|
||||||
|
?subclass rdfs:subClassOf foaf:Person
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
|
|
@ -27,27 +27,25 @@
|
||||||
?subject ?property ?issuedCredential .
|
?subject ?property ?issuedCredential .
|
||||||
?issuedCredential a core:IssuedCredential .
|
?issuedCredential a core:IssuedCredential .
|
||||||
LET (?issuedCredentialLocal := afn:localname(?issuedCredential))
|
LET (?issuedCredentialLocal := afn:localname(?issuedCredential))
|
||||||
OPTIONAL { ?issuedCredential rdfs:label ?issuedCredentialLabel }
|
OPTIONAL {?issuedCredential rdfs:label ?issuedCredentialLabel }
|
||||||
OPTIONAL { ?issuedCredential core:relates ?credential .
|
OPTIONAL { ?issuedCredential core:relates ?credential .
|
||||||
?credential a core:Credential .
|
?credential a core:Credential .
|
||||||
|
?credential core:relatedBy ?issuedCredential .
|
||||||
|
?credential rdfs:label ?credentialLabel .
|
||||||
LET (?credentialLocal := afn:localname(?credential))
|
LET (?credentialLocal := afn:localname(?credential))
|
||||||
?credential core:relatedBy ?issuedCredential
|
}
|
||||||
OPTIONAL { ?credential rdfs:label ?credentialLabel }
|
OPTIONAL { ?issuedCredential core:dateTimeInterval ?dateTimeInterval .
|
||||||
}
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
OPTIONAL { ?issuedCredential core:dateTimeInterval ?dateTimeInterval
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
}
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
OPTIONAL { ?issuedCredential core:dateTimeInterval ?dateTimeInterval .
|
||||||
}
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
}
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
OPTIONAL { ?issuedCredential core:dateTimeInterval ?dateTimeInterval
|
}
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
OPTIONAL { ?issuedCredential core:dateIssued ?dateTimeValue .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeValue core:dateTime ?dateTime
|
||||||
}
|
}
|
||||||
}
|
} ORDER BY DESC(?dateTime) DESC(?dateTimeEnd)
|
||||||
OPTIONAL { ?issuedCredential core:dateIssued ?dateTimeValue
|
|
||||||
OPTIONAL { ?dateTimeValue core:dateTime ?dateTime }
|
|
||||||
}
|
|
||||||
} ORDER BY DESC(?dateTime) DESC(?dateTimeEnd)
|
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
||||||
<query-construct>
|
<query-construct>
|
||||||
|
|
|
@ -29,16 +29,15 @@
|
||||||
</collated>
|
</collated>
|
||||||
OPTIONAL { ?position rdfs:label ?positionTitle }
|
OPTIONAL { ?position rdfs:label ?positionTitle }
|
||||||
OPTIONAL { ?position core:hideFromDisplay ?hideThis }
|
OPTIONAL { ?position core:hideFromDisplay ?hideThis }
|
||||||
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
}
|
}
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
}
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
}
|
||||||
# Get current positions only: end date is either null or not in the past
|
# Get current positions only: end date is either null or not in the past
|
||||||
}
|
|
||||||
# NOT EXISTS { ?position core:hideFromDisplay ?hideThis }
|
|
||||||
FILTER ( !bound(?dateTimeEnd) ||
|
FILTER ( !bound(?dateTimeEnd) ||
|
||||||
afn:substring(str(?dateTimeEnd), 0, 4) >= afn:substring(str(afn:now()), 0, 4) )
|
afn:substring(str(?dateTimeEnd), 0, 4) >= afn:substring(str(afn:now()), 0, 4) )
|
||||||
<critical-data-required>
|
<critical-data-required>
|
||||||
|
|
|
@ -19,27 +19,33 @@
|
||||||
?org ?orgName
|
?org ?orgName
|
||||||
?middleOrg ?middleOrgName
|
?middleOrg ?middleOrgName
|
||||||
?outerOrg ?outerOrgName
|
?outerOrg ?outerOrgName
|
||||||
?dateTimeStart ?dateTimeEnd WHERE {
|
?dateTimeStart ?dateTimeEnd
|
||||||
?subject ?property ?position
|
WHERE {
|
||||||
|
?subject ?property ?position .
|
||||||
OPTIONAL { ?position core:relates ?org .
|
OPTIONAL { ?position core:relates ?org .
|
||||||
?org rdfs:label ?orgName
|
?org rdfs:label ?orgName
|
||||||
OPTIONAL { ?org obo:BFO_0000050 ?middleOrg .
|
}
|
||||||
?middleOrg rdfs:label ?middleOrgName
|
OPTIONAL { ?position core:relates ?org .
|
||||||
OPTIONAL { ?middleOrg obo:BFO_0000050 ?outerOrg .
|
?org rdfs:label ?orgName .
|
||||||
?outerOrg rdfs:label ?outerOrgName
|
?org obo:BFO_0000050 ?middleOrg .
|
||||||
}
|
?middleOrg rdfs:label ?middleOrgName
|
||||||
}
|
}
|
||||||
|
OPTIONAL { ?position core:relates ?org .
|
||||||
|
?org rdfs:label ?orgName .
|
||||||
|
?org obo:BFO_0000050 ?middleOrg .
|
||||||
|
?middleOrg obo:BFO_0000050 ?outerOrg .
|
||||||
|
?outerOrg rdfs:label ?outerOrgName
|
||||||
}
|
}
|
||||||
OPTIONAL { ?position rdfs:label ?positionTitle }
|
OPTIONAL { ?position rdfs:label ?positionTitle }
|
||||||
OPTIONAL { ?position core:hrJobTitle ?hrJobTitle }
|
OPTIONAL { ?position core:hrJobTitle ?hrJobTitle }
|
||||||
OPTIONAL { ?position core:rank ?rank }
|
OPTIONAL { ?position core:rank ?rank }
|
||||||
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
}
|
}
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
}
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
}
|
}
|
||||||
<collated>
|
<collated>
|
||||||
OPTIONAL { ?position vitro:mostSpecificType ?subclass .
|
OPTIONAL { ?position vitro:mostSpecificType ?subclass .
|
||||||
|
@ -75,7 +81,6 @@
|
||||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?position .
|
?subject ?property ?position .
|
||||||
?position a core:Position .
|
|
||||||
?position ?positionProperty ?positionValue .
|
?position ?positionProperty ?positionValue .
|
||||||
?org rdfs:label ?orgName .
|
?org rdfs:label ?orgName .
|
||||||
?org obo:BFO_0000050 ?middleOrg .
|
?org obo:BFO_0000050 ?middleOrg .
|
||||||
|
@ -86,14 +91,7 @@
|
||||||
{
|
{
|
||||||
?subject ?property ?position .
|
?subject ?property ?position .
|
||||||
?position a core:Position .
|
?position a core:Position .
|
||||||
} UNION {
|
|
||||||
?subject ?property ?position .
|
|
||||||
?position a core:Position .
|
|
||||||
?position ?positionProperty ?positionValue
|
?position ?positionProperty ?positionValue
|
||||||
} UNION {
|
|
||||||
?subject ?property ?position .
|
|
||||||
?position a core:Position .
|
|
||||||
?position core:rank ?rank
|
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?position .
|
?subject ?property ?position .
|
||||||
?position a core:Position .
|
?position a core:Position .
|
||||||
|
@ -105,12 +103,6 @@
|
||||||
?position a core:Position .
|
?position a core:Position .
|
||||||
?position core:relates ?org .
|
?position core:relates ?org .
|
||||||
?org a foaf:Organization .
|
?org a foaf:Organization .
|
||||||
?org obo:BFO_0000050 ?middleOrg
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?position .
|
|
||||||
?position a core:Position .
|
|
||||||
?position core:relates ?org .
|
|
||||||
?org a foaf:Organization .
|
|
||||||
?org obo:BFO_0000050 ?middleOrg .
|
?org obo:BFO_0000050 ?middleOrg .
|
||||||
?middleOrg rdfs:label ?middleOrgName
|
?middleOrg rdfs:label ?middleOrgName
|
||||||
} UNION {
|
} UNION {
|
||||||
|
@ -119,13 +111,6 @@
|
||||||
?position core:relates ?org .
|
?position core:relates ?org .
|
||||||
?org a foaf:Organization .
|
?org a foaf:Organization .
|
||||||
?org obo:BFO_0000050 ?middleOrg .
|
?org obo:BFO_0000050 ?middleOrg .
|
||||||
?middleOrg obo:BFO_0000050 ?outerOrg
|
|
||||||
} UNION {
|
|
||||||
?subject ?property ?position .
|
|
||||||
?position a core:Position .
|
|
||||||
?position core:positionInOrganization ?org .
|
|
||||||
?org a foaf:Organization .
|
|
||||||
?org obo:BFO_0000050 ?middleOrg .
|
|
||||||
?middleOrg obo:BFO_0000050 ?outerOrg .
|
?middleOrg obo:BFO_0000050 ?outerOrg .
|
||||||
?outerOrg rdfs:label ?outerOrgName
|
?outerOrg rdfs:label ?outerOrgName
|
||||||
}
|
}
|
||||||
|
@ -136,28 +121,22 @@
|
||||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?position .
|
?subject ?property ?position .
|
||||||
?position a core:Position .
|
|
||||||
?position core:dateTimeInterval ?dateTimeInterval .
|
?position core:dateTimeInterval ?dateTimeInterval .
|
||||||
?dateTimeInterval core:start ?dateTimeStartValue .
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart .
|
?dateTimeStartValue core:dateTime ?dateTimeStart .
|
||||||
?dateTimeInterval core:end ?dateTimeEndValue .
|
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
|
||||||
} WHERE {
|
} WHERE {
|
||||||
?subject ?property ?position .
|
?subject ?property ?position .
|
||||||
?position a core:Position .
|
?position a core:Position .
|
||||||
?position core:dateTimeInterval ?dateTimeInterval .
|
?position core:dateTimeInterval ?dateTimeInterval .
|
||||||
?dateTimeInterval core:start ?dateTimeStartValue .
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart .
|
?dateTimeStartValue core:dateTime ?dateTimeStart .
|
||||||
?dateTimeInterval core:end ?dateTimeEndValue .
|
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
<!--
|
|
||||||
<query-construct>
|
<query-construct>
|
||||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?subject ?property ?position .
|
?subject ?property ?position .
|
||||||
?position a core:Position .
|
|
||||||
?position core:dateTimeInterval ?dateTimeInterval .
|
?position core:dateTimeInterval ?dateTimeInterval .
|
||||||
?dateTimeInterval core:end ?dateTimeEndValue .
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
@ -169,6 +148,6 @@
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
-->
|
|
||||||
<template>propStatement-personInPosition.ftl</template>
|
<template>propStatement-personInPosition.ftl</template>
|
||||||
</list-view-config>
|
</list-view-config>
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
?preferredTitle
|
?preferredTitle
|
||||||
WHERE {
|
WHERE {
|
||||||
?subject ?property ?vcard .
|
?subject ?property ?vcard .
|
||||||
?vcard vcard:hasTitle ?title
|
?vcard vcard:hasTitle ?title .
|
||||||
OPTIONAL { ?title vcard:title ?preferredTitle }
|
?title vcard:title ?preferredTitle
|
||||||
|
|
||||||
}
|
}
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
|
@ -30,23 +30,27 @@ http://vivoweb.org/ontology/core#realizedRole and http://vivoweb.org/ontology/co
|
||||||
|
|
||||||
# We need ?subclass in the uncollated query to get the roleTypeLabel
|
# We need ?subclass in the uncollated query to get the roleTypeLabel
|
||||||
# for roles that have no label.
|
# for roles that have no label.
|
||||||
OPTIONAL { ?role vitro:mostSpecificType ?subclass .
|
OPTIONAL { ?role vitro:mostSpecificType ?subclass . }
|
||||||
OPTIONAL { ?subclass rdfs:label ?roleTypeLabel }
|
OPTIONAL { ?role vitro:mostSpecificType ?subclass .
|
||||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/RO_0000052> ?indivInRole
|
?subclass rdfs:label ?roleTypeLabel
|
||||||
OPTIONAL { ?indivInRole rdfs:label ?indivLabel }
|
}
|
||||||
}
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/RO_0000052> ?indivInRole }
|
||||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000055> ?indivInRole
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/RO_0000052> ?indivInRole .
|
||||||
OPTIONAL { ?indivInRole rdfs:label ?indivLabel }
|
?indivInRole rdfs:label ?indivLabel
|
||||||
}
|
}
|
||||||
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000055> ?indivInRole .
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000055> ?indivInRole .
|
||||||
|
?indivInRole rdfs:label ?indivLabel
|
||||||
}
|
}
|
||||||
|
|
||||||
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
}
|
}
|
||||||
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
}
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
}
|
}
|
||||||
<critical-data-required>
|
<critical-data-required>
|
||||||
FILTER ( bound(?indivInRole) )
|
FILTER ( bound(?indivInRole) )
|
||||||
|
|
157
productMods/config/listViewConfig-researchActivities.xml
Normal file
157
productMods/config/listViewConfig-researchActivities.xml
Normal file
|
@ -0,0 +1,157 @@
|
||||||
|
<?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 <collated>?subclass</collated>
|
||||||
|
# send the property to the template, since this view supports multiple role properties
|
||||||
|
?property
|
||||||
|
?role
|
||||||
|
?roleLabel
|
||||||
|
?activity ?activityName
|
||||||
|
?activityLabel
|
||||||
|
?dateTimeStart ?dateTimeEnd
|
||||||
|
?hideThis
|
||||||
|
?objectType
|
||||||
|
WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role vitro:mostSpecificType ?roleSubclass
|
||||||
|
|
||||||
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
|
|
||||||
|
<collated>
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
</collated>
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role core:relatedBy ?activity .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
|
|
||||||
|
<collated>
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
</collated>
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role rdfs:label ?roleLabel }
|
||||||
|
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
||||||
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
}
|
||||||
|
FILTER ( ?roleSubclass = core:ResearcherRole)
|
||||||
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityLabel ?activityName
|
||||||
|
</query-select>
|
||||||
|
|
||||||
|
<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#>
|
||||||
|
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role core:relatedBy ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass .
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role core:relatedBy ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<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#>
|
||||||
|
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass .
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role ?roleProperty ?roleValue .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} WHERE {
|
||||||
|
{
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role ?roleProperty ?roleValue
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role core:relatedBy ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:ResearcherRole .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<template>propStatement-hasRole.ftl</template>
|
||||||
|
</list-view-config>
|
|
@ -26,14 +26,19 @@
|
||||||
?subject ?property ?person .
|
?subject ?property ?person .
|
||||||
OPTIONAL { ?person core:relatedBy ?position .
|
OPTIONAL { ?person core:relatedBy ?position .
|
||||||
?position a core:Position
|
?position a core:Position
|
||||||
OPTIONAL { ?position rdfs:label ?posnLabel }
|
}
|
||||||
|
OPTIONAL { ?person core:relatedBy ?position .
|
||||||
|
?position a core:Position .
|
||||||
|
?position rdfs:label ?posnLabel
|
||||||
}
|
}
|
||||||
OPTIONAL { ?person rdfs:label ?personName }
|
OPTIONAL { ?person rdfs:label ?personName }
|
||||||
OPTIONAL { ?person obo:ARG_2000028 ?vcard .
|
OPTIONAL { ?person obo:ARG_2000028 ?vcard .
|
||||||
?vcard vcard:hasTitle ?titleObj .
|
?vcard vcard:hasTitle ?titleObj .
|
||||||
?titleObj vcard:title ?title
|
?titleObj vcard:title ?title
|
||||||
}
|
}
|
||||||
OPTIONAL { ?position core:relates ?org .
|
OPTIONAL { ?person core:relatedBy ?position .
|
||||||
|
?position a core:Position .
|
||||||
|
?position core:relates ?org .
|
||||||
?org a foaf:Organization .
|
?org a foaf:Organization .
|
||||||
?org rdfs:label ?orgLabel
|
?org rdfs:label ?orgLabel
|
||||||
}
|
}
|
||||||
|
|
133
productMods/config/listViewConfig-roleContributesTo.xml
Normal file
133
productMods/config/listViewConfig-roleContributesTo.xml
Normal file
|
@ -0,0 +1,133 @@
|
||||||
|
<?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 <collated>?subclass</collated>
|
||||||
|
# send the property to the template, since this view supports multiple role properties
|
||||||
|
?property
|
||||||
|
?role
|
||||||
|
?roleLabel
|
||||||
|
?activity ?activityName
|
||||||
|
?activityLabel
|
||||||
|
?dateTimeStart ?dateTimeEnd
|
||||||
|
?hideThis
|
||||||
|
?objectType
|
||||||
|
WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
|
||||||
|
OPTIONAL { ?role core:roleContributesTo ?activity .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
|
|
||||||
|
<collated>
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
</collated>
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role rdfs:label ?roleLabel }
|
||||||
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
}
|
||||||
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityLabel ?activityName
|
||||||
|
</query-select>
|
||||||
|
|
||||||
|
<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#>
|
||||||
|
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:roleContributesTo ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass .
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:roleContributesTo ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role ?roleProperty ?roleValue .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} WHERE {
|
||||||
|
{
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role ?roleProperty ?roleValue
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:relates ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:roleContributesTo ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<template>propStatement-hasRole.ftl</template>
|
||||||
|
</list-view-config>
|
133
productMods/config/listViewConfig-roleRealizedIn.xml
Normal file
133
productMods/config/listViewConfig-roleRealizedIn.xml
Normal file
|
@ -0,0 +1,133 @@
|
||||||
|
<?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 <collated>?subclass</collated>
|
||||||
|
# send the property to the template, since this view supports multiple role properties
|
||||||
|
?property
|
||||||
|
?role
|
||||||
|
?roleLabel
|
||||||
|
?activity ?activityName
|
||||||
|
?activityLabel
|
||||||
|
?dateTimeStart ?dateTimeEnd
|
||||||
|
?hideThis
|
||||||
|
?objectType
|
||||||
|
WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
|
||||||
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
|
|
||||||
|
<collated>
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
</collated>
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role rdfs:label ?roleLabel }
|
||||||
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
}
|
||||||
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
}
|
||||||
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityLabel ?activityName
|
||||||
|
</query-select>
|
||||||
|
|
||||||
|
<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#>
|
||||||
|
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass .
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity vitro:mostSpecificType ?subclass
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role ?roleProperty ?roleValue .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} WHERE {
|
||||||
|
{
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role ?roleProperty ?roleValue
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:relates ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:roleContributesTo ?activity .
|
||||||
|
?activity rdfs:label ?activityName
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a ?objectType .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
||||||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<template>propStatement-hasRole.ftl</template>
|
||||||
|
</list-view-config>
|
|
@ -16,7 +16,7 @@
|
||||||
<#macro showRole statement>
|
<#macro showRole statement>
|
||||||
<#local linkedIndividual>
|
<#local linkedIndividual>
|
||||||
<#if statement.presentation??>
|
<#if statement.presentation??>
|
||||||
<a href="${profileUrl(statement.uri("presentation"))}" title="${i18n().presentation_name}">${statement.presentationLabel!statement.presentationName}</a>
|
<a href="${profileUrl(statement.uri("presentation"))}" title="${i18n().presentation_name}">${statement.presentationLabel!statement.presentationName!""}</a>
|
||||||
<#else>
|
<#else>
|
||||||
<#-- This shouldn't happen, but we must provide for it -->
|
<#-- This shouldn't happen, but we must provide for it -->
|
||||||
<a href="${profileUrl(statement.uri("role"))}" title="${i18n().missing_presentation}">${i18n().missing_presentation}</a>
|
<a href="${profileUrl(statement.uri("role"))}" title="${i18n().missing_presentation}">${i18n().missing_presentation}</a>
|
||||||
|
|
|
@ -69,7 +69,7 @@ local:hasServiceProviderRoleContext a :ConfigContext ;
|
||||||
:qualifiedBy <http://purl.obolibrary.org/obo/ERO_0000012> .
|
:qualifiedBy <http://purl.obolibrary.org/obo/ERO_0000012> .
|
||||||
|
|
||||||
local:hasServiceProviderRoleConfig a :ObjectPropertyDisplayConfig ;
|
local:hasServiceProviderRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||||
:listViewConfigFile "listViewConfig-hasRole.xml"^^xsd:string ;
|
:listViewConfigFile "listViewConfig-roleContributesTo.xml"^^xsd:string ;
|
||||||
:displayName "service to the profession" ;
|
:displayName "service to the profession" ;
|
||||||
vitro:displayRankAnnot 20;
|
vitro:displayRankAnnot 20;
|
||||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||||
|
@ -84,7 +84,7 @@ local:hasClinicalRoleContext a :ConfigContext ;
|
||||||
:qualifiedBy <http://vivoweb.org/ontology/core#ClinicalRole> .
|
:qualifiedBy <http://vivoweb.org/ontology/core#ClinicalRole> .
|
||||||
|
|
||||||
local:hasClinicalRoleConfig a :ObjectPropertyDisplayConfig ;
|
local:hasClinicalRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||||
:listViewConfigFile "listViewConfig-hasRole.xml"^^xsd:string ;
|
:listViewConfigFile "listViewConfig-hasClinicalActivity.xml"^^xsd:string ;
|
||||||
:displayName "clinical activities" ;
|
:displayName "clinical activities" ;
|
||||||
vitro:displayRankAnnot 70;
|
vitro:displayRankAnnot 70;
|
||||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||||
|
@ -99,7 +99,7 @@ local:hasLeaderRoleContext a :ConfigContext ;
|
||||||
:qualifiedBy <http://vivoweb.org/ontology/core#LeaderRole> .
|
:qualifiedBy <http://vivoweb.org/ontology/core#LeaderRole> .
|
||||||
|
|
||||||
local:hasLeaderRoleConfig a :ObjectPropertyDisplayConfig ;
|
local:hasLeaderRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||||
:listViewConfigFile "listViewConfig-hasRole.xml"^^xsd:string ;
|
:listViewConfigFile "listViewConfig-roleContributesTo.xml"^^xsd:string ;
|
||||||
:displayName "head of" ;
|
:displayName "head of" ;
|
||||||
vitro:displayRankAnnot 30;
|
vitro:displayRankAnnot 30;
|
||||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||||
|
@ -114,7 +114,7 @@ local:hasMemberRoleContext a :ConfigContext ;
|
||||||
:qualifiedBy <http://vivoweb.org/ontology/core#MemberRole> .
|
:qualifiedBy <http://vivoweb.org/ontology/core#MemberRole> .
|
||||||
|
|
||||||
local:hasMemberRoleConfig a :ObjectPropertyDisplayConfig ;
|
local:hasMemberRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||||
:listViewConfigFile "listViewConfig-hasRole.xml"^^xsd:string ;
|
:listViewConfigFile "listViewConfig-roleContributesTo.xml"^^xsd:string ;
|
||||||
:displayName "member of" ;
|
:displayName "member of" ;
|
||||||
vitro:displayRankAnnot 50;
|
vitro:displayRankAnnot 50;
|
||||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||||
|
@ -129,7 +129,7 @@ local:hasTeacherRoleContext a :ConfigContext ;
|
||||||
:qualifiedBy <http://vivoweb.org/ontology/core#TeacherRole> .
|
:qualifiedBy <http://vivoweb.org/ontology/core#TeacherRole> .
|
||||||
|
|
||||||
local:hasTeacherRoleConfig a :ObjectPropertyDisplayConfig ;
|
local:hasTeacherRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||||
:listViewConfigFile "listViewConfig-hasRole.xml"^^xsd:string ;
|
:listViewConfigFile "listViewConfig-roleRealizedIn.xml"^^xsd:string ;
|
||||||
:displayName "teaching activities" ;
|
:displayName "teaching activities" ;
|
||||||
vitro:displayRankAnnot 20;
|
vitro:displayRankAnnot 20;
|
||||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||||
|
@ -174,7 +174,7 @@ local:hasOrganizerRoleContext a :ConfigContext ;
|
||||||
:qualifiedBy <http://vivoweb.org/ontology/core#OrganizerRole> .
|
:qualifiedBy <http://vivoweb.org/ontology/core#OrganizerRole> .
|
||||||
|
|
||||||
local:hasOrganizerRoleConfig a :ObjectPropertyDisplayConfig ;
|
local:hasOrganizerRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||||
:listViewConfigFile "listViewConfig-hasRole.xml"^^xsd:string ;
|
:listViewConfigFile "listViewConfig-roleRealizedIn.xml"^^xsd:string ;
|
||||||
:displayName "organizer of" ;
|
:displayName "organizer of" ;
|
||||||
vitro:displayRankAnnot 4;
|
vitro:displayRankAnnot 4;
|
||||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||||
|
@ -189,7 +189,7 @@ local:hasOutreachProviderRoleContext a :ConfigContext ;
|
||||||
:qualifiedBy <http://vivoweb.org/ontology/core#OutreachProviderRole> .
|
:qualifiedBy <http://vivoweb.org/ontology/core#OutreachProviderRole> .
|
||||||
|
|
||||||
local:hasOutreachProviderRoleConfig a :ObjectPropertyDisplayConfig ;
|
local:hasOutreachProviderRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||||
:listViewConfigFile "listViewConfig-hasRole.xml"^^xsd:string ;
|
:listViewConfigFile "listViewConfig-roleContributesTo.xml"^^xsd:string ;
|
||||||
:displayName "outreach and community service" ;
|
:displayName "outreach and community service" ;
|
||||||
vitro:displayRankAnnot 50;
|
vitro:displayRankAnnot 50;
|
||||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||||
|
@ -219,7 +219,7 @@ local:hasResearcherRoleContext a :ConfigContext ;
|
||||||
:qualifiedBy <http://vivoweb.org/ontology/core#ResearcherRole> .
|
:qualifiedBy <http://vivoweb.org/ontology/core#ResearcherRole> .
|
||||||
|
|
||||||
local:hasResearcherRoleConfig a :ObjectPropertyDisplayConfig ;
|
local:hasResearcherRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||||
:listViewConfigFile "listViewConfig-hasRole.xml"^^xsd:string ;
|
:listViewConfigFile "listViewConfig-researchActivities.xml"^^xsd:string ;
|
||||||
:displayName "research activities" ;
|
:displayName "research activities" ;
|
||||||
vitro:displayRankAnnot 15;
|
vitro:displayRankAnnot 15;
|
||||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||||
|
@ -249,7 +249,7 @@ local:hasPrincipalInvestigatorRoleContext a :ConfigContext ;
|
||||||
:qualifiedBy <http://vivoweb.org/ontology/core#PrincipalInvestigatorRole> .
|
:qualifiedBy <http://vivoweb.org/ontology/core#PrincipalInvestigatorRole> .
|
||||||
|
|
||||||
local:hasPrincipalInvestigatorRoleConfig a :ObjectPropertyDisplayConfig ;
|
local:hasPrincipalInvestigatorRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||||
:listViewConfigFile "listViewConfig-hasInvestigatorRole.xml"^^xsd:string ;
|
:listViewConfigFile "listViewConfig-hasPrincipalInvestigatorRole.xml"^^xsd:string ;
|
||||||
:displayName "principal investigator on" ;
|
:displayName "principal investigator on" ;
|
||||||
vitro:displayRankAnnot 20;
|
vitro:displayRankAnnot 20;
|
||||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||||
|
@ -264,7 +264,7 @@ local:hasCo-PrincipalInvestigatorRoleContext a :ConfigContext ;
|
||||||
:qualifiedBy <http://vivoweb.org/ontology/core#CoPrincipalInvestigatorRole> .
|
:qualifiedBy <http://vivoweb.org/ontology/core#CoPrincipalInvestigatorRole> .
|
||||||
|
|
||||||
local:hasCo-PrincipalInvestigatorRoleConfig a :ObjectPropertyDisplayConfig ;
|
local:hasCo-PrincipalInvestigatorRoleConfig a :ObjectPropertyDisplayConfig ;
|
||||||
:listViewConfigFile "listViewConfig-hasInvestigatorRole.xml"^^xsd:string ;
|
:listViewConfigFile "listViewConfig-hasCoPrincipalInvestigatorRole.xml"^^xsd:string ;
|
||||||
:displayName "co-principal investigator on" ;
|
:displayName "co-principal investigator on" ;
|
||||||
vitro:displayRankAnnot 25;
|
vitro:displayRankAnnot 25;
|
||||||
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
|
||||||
|
|
Loading…
Add table
Reference in a new issue