VIVO-552 updates for vivo:Contract
This commit is contained in:
parent
6927e7b86d
commit
e100d805bc
3 changed files with 120 additions and 49 deletions
|
@ -27,7 +27,6 @@
|
||||||
?role a core:CoPrincipalInvestigatorRole .
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
|
||||||
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?activity a core:Grant .
|
|
||||||
?activity rdfs:label ?activityLabel .
|
?activity rdfs:label ?activityLabel .
|
||||||
LET (?activityName := afn:localname(?activity))
|
LET (?activityName := afn:localname(?activity))
|
||||||
}
|
}
|
||||||
|
@ -72,7 +71,6 @@
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:CoPrincipalInvestigatorRole .
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?activity a core:Grant .
|
|
||||||
?role ?roleProperty ?roleValue .
|
?role ?roleProperty ?roleValue .
|
||||||
?activity rdfs:label ?activityLabel .
|
?activity rdfs:label ?activityLabel .
|
||||||
?activity core:assignedBy ?awardedBy .
|
?activity core:assignedBy ?awardedBy .
|
||||||
|
@ -112,6 +110,12 @@
|
||||||
?adminedByRole <http://purl.obolibrary.org/obo/RO_0000052> ?adminedBy .
|
?adminedByRole <http://purl.obolibrary.org/obo/RO_0000052> ?adminedBy .
|
||||||
?adminedBy a foaf:Organization .
|
?adminedBy a foaf:Organization .
|
||||||
?adminedBy rdfs:label ?adminedByLabel
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Contract .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
@ -160,6 +164,7 @@
|
||||||
?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 core:CoPrincipalInvestigatorRole .
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
@ -167,6 +172,15 @@
|
||||||
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Contract .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
|
||||||
|
@ -181,6 +195,7 @@
|
||||||
?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 core:CoPrincipalInvestigatorRole .
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
@ -188,6 +203,15 @@
|
||||||
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Contract .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
?role vitro:mostSpecificType ?subclass
|
?role vitro:mostSpecificType ?subclass
|
||||||
|
|
||||||
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?activity a core:Grant .
|
|
||||||
?activity rdfs:label ?activityLabel .
|
?activity rdfs:label ?activityLabel .
|
||||||
LET (?activityName := afn:localname(?activity))
|
LET (?activityName := afn:localname(?activity))
|
||||||
}
|
}
|
||||||
|
@ -74,7 +73,6 @@
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:InvestigatorRole .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?activity a core:Grant .
|
|
||||||
?role ?roleProperty ?roleValue .
|
?role ?roleProperty ?roleValue .
|
||||||
?activity rdfs:label ?activityLabel .
|
?activity rdfs:label ?activityLabel .
|
||||||
?activity core:assignedBy ?awardedBy .
|
?activity core:assignedBy ?awardedBy .
|
||||||
|
@ -114,6 +112,12 @@
|
||||||
?adminedByRole <http://purl.obolibrary.org/obo/RO_0000052> ?adminedBy .
|
?adminedByRole <http://purl.obolibrary.org/obo/RO_0000052> ?adminedBy .
|
||||||
?adminedBy a foaf:Organization .
|
?adminedBy a foaf:Organization .
|
||||||
?adminedBy rdfs:label ?adminedByLabel
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:InvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Contract .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
@ -162,6 +166,7 @@
|
||||||
?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 core:InvestigatorRole .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
@ -169,6 +174,15 @@
|
||||||
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:InvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Contract .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
|
||||||
|
@ -178,11 +192,11 @@
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:InvestigatorRole .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?activity a core:Grant .
|
|
||||||
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
?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 core:InvestigatorRole .
|
?role a core:InvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
@ -190,6 +204,15 @@
|
||||||
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:InvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Contract .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
?role a core:PrincipalInvestigatorRole .
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
|
||||||
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
OPTIONAL { ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?activity a core:Grant .
|
|
||||||
?activity rdfs:label ?activityLabel .
|
?activity rdfs:label ?activityLabel .
|
||||||
LET (?activityName := afn:localname(?activity))
|
LET (?activityName := afn:localname(?activity))
|
||||||
}
|
}
|
||||||
|
@ -72,7 +71,6 @@
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:PrincipalInvestigatorRole .
|
?role a core:PrincipalInvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
?activity a core:Grant .
|
|
||||||
?role ?roleProperty ?roleValue .
|
?role ?roleProperty ?roleValue .
|
||||||
?activity rdfs:label ?activityLabel .
|
?activity rdfs:label ?activityLabel .
|
||||||
?activity core:assignedBy ?awardedBy .
|
?activity core:assignedBy ?awardedBy .
|
||||||
|
@ -112,6 +110,12 @@
|
||||||
?adminedByRole <http://purl.obolibrary.org/obo/RO_0000052> ?adminedBy .
|
?adminedByRole <http://purl.obolibrary.org/obo/RO_0000052> ?adminedBy .
|
||||||
?adminedBy a foaf:Organization .
|
?adminedBy a foaf:Organization .
|
||||||
?adminedBy rdfs:label ?adminedByLabel
|
?adminedBy rdfs:label ?adminedByLabel
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Contract .
|
||||||
|
?activity rdfs:label ?activityLabel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
@ -160,6 +164,7 @@
|
||||||
?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 core:PrincipalInvestigatorRole .
|
?role a core:PrincipalInvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
@ -167,6 +172,15 @@
|
||||||
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Contract .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:start ?dateTimeStartValueGrant .
|
||||||
|
?dateTimeStartValueGrant core:dateTime ?dateTimeStartGrant
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
|
||||||
|
@ -181,6 +195,7 @@
|
||||||
?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 core:PrincipalInvestigatorRole .
|
?role a core:PrincipalInvestigatorRole .
|
||||||
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
@ -188,6 +203,15 @@
|
||||||
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role <http://vivoweb.org/ontology/core#relatedBy> ?activity .
|
||||||
|
?activity a core:Contract .
|
||||||
|
?activity core:dateTimeInterval ?dateTimeIntervalGrant .
|
||||||
|
?dateTimeIntervalGrant core:end ?dateTimeEndValueGrant .
|
||||||
|
?dateTimeEndValueGrant core:dateTime ?dateTimeEndGrant
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</query-construct>
|
</query-construct>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue