Merge branch 'develop' of github.com:vivo-project/VIVO into develop
This commit is contained in:
commit
0d60501f43
1 changed files with 28 additions and 0 deletions
|
@ -50,6 +50,14 @@
|
|||
</collated>
|
||||
}
|
||||
|
||||
OPTIONAL { ?role core:relatedBy ?activity .
|
||||
LET (?activityName := afn:localname(?activity))
|
||||
OPTIONAL { ?activity rdfs:label ?activityLabel }
|
||||
|
||||
<collated>
|
||||
?activity vitro:mostSpecificType ?subclass
|
||||
</collated>
|
||||
}
|
||||
OPTIONAL { ?role rdfs:label ?roleLabel }
|
||||
OPTIONAL { ?role core:hideFromDisplay ?hideThis }
|
||||
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval
|
||||
|
@ -80,6 +88,22 @@
|
|||
}
|
||||
</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 core:relatedBy ?activity .
|
||||
?activity vitro:mostSpecificType ?subclass .
|
||||
} WHERE {
|
||||
?subject ?property ?role .
|
||||
?role core:relatedBy ?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#>
|
||||
|
@ -137,6 +161,10 @@
|
|||
?subject ?property ?role .
|
||||
?role core:roleContributesTo ?activity .
|
||||
?activity rdfs:label ?activityName
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:relatedBy ?activity .
|
||||
?activity rdfs:label ?activityName
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
|
Loading…
Add table
Reference in a new issue