Fix hiding of Principal / Co-Principal Investigator roles
This commit is contained in:
parent
7bbf75d800
commit
740ad18542
2 changed files with 15 additions and 4 deletions
|
@ -71,6 +71,7 @@
|
||||||
?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 .
|
||||||
|
?role core:hideFromDisplay ?hideThis .
|
||||||
?activity rdfs:label ?activityLabel .
|
?activity rdfs:label ?activityLabel .
|
||||||
?activity core:assignedBy ?awardedBy .
|
?activity core:assignedBy ?awardedBy .
|
||||||
?awardedBy rdfs:label ?awardedByLabel .
|
?awardedBy rdfs:label ?awardedByLabel .
|
||||||
|
@ -80,7 +81,11 @@
|
||||||
} WHERE {
|
} WHERE {
|
||||||
{
|
{
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:CoPrincipalInvestigatorRole .
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
?role core:hideFromDisplay ?hideThis .
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:CoPrincipalInvestigatorRole .
|
?role a core:CoPrincipalInvestigatorRole .
|
||||||
|
|
|
@ -62,7 +62,13 @@
|
||||||
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
||||||
} 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>
|
||||||
|
<!--
|
||||||
|
?role rdfs:label ?roleLabel .
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
?role rdfs:label ?roleLabel .
|
||||||
|
-->
|
||||||
<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#>
|
||||||
|
@ -71,7 +77,7 @@
|
||||||
?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 .
|
||||||
?role ?roleProperty ?roleValue .
|
?role core:hideFromDisplay ?hideThis .
|
||||||
?activity rdfs:label ?activityLabel .
|
?activity rdfs:label ?activityLabel .
|
||||||
?activity core:assignedBy ?awardedBy .
|
?activity core:assignedBy ?awardedBy .
|
||||||
?awardedBy rdfs:label ?awardedByLabel .
|
?awardedBy rdfs:label ?awardedByLabel .
|
||||||
|
@ -85,7 +91,7 @@
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:PrincipalInvestigatorRole .
|
?role a core:PrincipalInvestigatorRole .
|
||||||
?role ?roleProperty ?roleValue
|
?role core:hideFromDisplay ?hideThis .
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?role .
|
?subject ?property ?role .
|
||||||
?role a core:PrincipalInvestigatorRole .
|
?role a core:PrincipalInvestigatorRole .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue