more property cleanup
This commit is contained in:
parent
5623eb82d4
commit
c66cdbf4aa
6 changed files with 133 additions and 74 deletions
|
@ -36,9 +36,9 @@
|
|||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/RO_0000052> ?indivInRole .
|
||||
?indivInRole rdfs:label ?indivLabel
|
||||
}
|
||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000055> ?indivInRole .
|
||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?indivInRole .
|
||||
}
|
||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000055> ?indivInRole .
|
||||
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?indivInRole .
|
||||
?indivInRole rdfs:label ?indivLabel
|
||||
}
|
||||
|
||||
|
@ -92,7 +92,7 @@
|
|||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role a ?objectType .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000055> ?indivInRole .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?indivInRole .
|
||||
?indivInRole rdfs:label ?indivLabel
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
<?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 -->
|
||||
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt
|
||||
This list view used for both roleContributesTo and BFO_0000054, which
|
||||
is for events.
|
||||
-->
|
||||
|
||||
<list-view-config>
|
||||
<query-select>
|
||||
|
@ -31,6 +34,13 @@
|
|||
?activity vitro:mostSpecificType ?subclass
|
||||
</collated>
|
||||
}
|
||||
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 .
|
||||
|
@ -61,6 +71,24 @@
|
|||
}
|
||||
</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://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#>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue