NIHVIVO-2480 Fix core:hasRole list view so an activity with no rdfs:label can be returned by the query
This commit is contained in:
parent
44f4792df5
commit
a98b77762c
1 changed files with 5 additions and 3 deletions
|
@ -16,12 +16,14 @@
|
|||
?startDateOnly
|
||||
?roleLabel
|
||||
?activity ?activityName
|
||||
?activityLabel
|
||||
?dateTimeStart ?dateTimeEnd WHERE {
|
||||
|
||||
?subject ?property ?role
|
||||
|
||||
OPTIONAL { ?role core:roleIn ?activity .
|
||||
?activity rdfs:label ?activityName
|
||||
OPTIONAL { ?role core:roleIn ?activity
|
||||
LET (?activityName := afn:localname(?activity))
|
||||
OPTIONAL { ?activity rdfs:label ?activityLabel }
|
||||
}
|
||||
<collated>
|
||||
OPTIONAL { ?role a ?subclass .
|
||||
|
|
Loading…
Add table
Reference in a new issue