VIVO-425, VIVO-422 and VIVO-424
This commit is contained in:
parent
f0844317a4
commit
239d075127
10 changed files with 466 additions and 7 deletions
57
productMods/config/listViewConfig-grantAdministeredBy.xml
Normal file
57
productMods/config/listViewConfig-grantAdministeredBy.xml
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?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 foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
|
||||
SELECT DISTINCT ?administratorRole
|
||||
?organization
|
||||
?organizationLabel
|
||||
|
||||
WHERE {
|
||||
?subject ?property ?administratorRole .
|
||||
?administratorRole a core:AdministratorRole .
|
||||
OPTIONAL { ?administratorRole obo:RO_0000052 ?organization .
|
||||
?organization a foaf:Organization .
|
||||
?organization obo:RO_0000053 ?administratorRole .
|
||||
?organization rdfs:label ?organizationLabel .
|
||||
}
|
||||
} ORDER BY ?organizationLabel
|
||||
</query-select>
|
||||
|
||||
<query-construct>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?administratorRole .
|
||||
?administratorRole a core:AdministratorRole .
|
||||
?administratorRole obo:RO_0000052 ?organization .
|
||||
?organization a foaf:Organization .
|
||||
?organization obo:RO_0000053 ?administratorRole .
|
||||
?organization rdfs:label ?organizationLabel .
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?administratorRole .
|
||||
?administratorRole a core:AdministratorRole .
|
||||
} UNION {
|
||||
?subject ?property ?administratorRole .
|
||||
?administratorRole a core:AdministratorRole .
|
||||
?administratorRole obo:RO_0000052 ?organization .
|
||||
?organization a foaf:Organization .
|
||||
?organization obo:RO_0000053 ?administratorRole .
|
||||
?organization rdfs:label ?organizationLabel .
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<template>propStatement-grantAdministeredBy.ftl</template>
|
||||
</list-view-config>
|
Loading…
Add table
Add a link
Reference in a new issue