diff --git a/productMods/config/listViewConfig-hasCoPrincipalInvestigatorRole.xml b/productMods/config/listViewConfig-hasCoPrincipalInvestigatorRole.xml index 13aa43bd..102989af 100644 --- a/productMods/config/listViewConfig-hasCoPrincipalInvestigatorRole.xml +++ b/productMods/config/listViewConfig-hasCoPrincipalInvestigatorRole.xml @@ -71,6 +71,7 @@ ?subject ?property ?role . ?role a core:CoPrincipalInvestigatorRole . ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity . + ?role core:hideFromDisplay ?hideThis . ?activity rdfs:label ?activityLabel . ?activity core:assignedBy ?awardedBy . ?awardedBy rdfs:label ?awardedByLabel . @@ -80,7 +81,11 @@ } WHERE { { ?subject ?property ?role . - ?role a core:CoPrincipalInvestigatorRole . + ?role a core:CoPrincipalInvestigatorRole . + } UNION { + ?subject ?property ?role . + ?role a core:CoPrincipalInvestigatorRole . + ?role core:hideFromDisplay ?hideThis . } UNION { ?subject ?property ?role . ?role a core:CoPrincipalInvestigatorRole . diff --git a/productMods/config/listViewConfig-hasPrincipalInvestigatorRole.xml b/productMods/config/listViewConfig-hasPrincipalInvestigatorRole.xml index 92a0a379..ac71e9b6 100644 --- a/productMods/config/listViewConfig-hasPrincipalInvestigatorRole.xml +++ b/productMods/config/listViewConfig-hasPrincipalInvestigatorRole.xml @@ -62,7 +62,13 @@ OPTIONAL { ?role core:hideFromDisplay ?hideThis } } ORDER BY DESC(?dateTimeEndRole) DESC(?dateTimeStartRole) DESC(?dateTimeEndGrant) DESC(?dateTimeStartGrant) ?activityLabel ?activityName - + PREFIX core: <http://vivoweb.org/ontology/core#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> @@ -71,7 +77,7 @@ ?subject ?property ?role . ?role a core:PrincipalInvestigatorRole . ?role <http://vivoweb.org/ontology/core#relatedBy> ?activity . - ?role ?roleProperty ?roleValue . + ?role core:hideFromDisplay ?hideThis . ?activity rdfs:label ?activityLabel . ?activity core:assignedBy ?awardedBy . ?awardedBy rdfs:label ?awardedByLabel . @@ -85,7 +91,7 @@ } UNION { ?subject ?property ?role . ?role a core:PrincipalInvestigatorRole . - ?role ?roleProperty ?roleValue + ?role core:hideFromDisplay ?hideThis . } UNION { ?subject ?property ?role . ?role a core:PrincipalInvestigatorRole .