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
|
?startDateOnly
|
||||||
?roleLabel
|
?roleLabel
|
||||||
?activity ?activityName
|
?activity ?activityName
|
||||||
|
?activityLabel
|
||||||
?dateTimeStart ?dateTimeEnd WHERE {
|
?dateTimeStart ?dateTimeEnd WHERE {
|
||||||
|
|
||||||
?subject ?property ?role
|
?subject ?property ?role
|
||||||
|
|
||||||
OPTIONAL { ?role core:roleIn ?activity .
|
OPTIONAL { ?role core:roleIn ?activity
|
||||||
?activity rdfs:label ?activityName
|
LET (?activityName := afn:localname(?activity))
|
||||||
|
OPTIONAL { ?activity rdfs:label ?activityLabel }
|
||||||
}
|
}
|
||||||
<collated>
|
<collated>
|
||||||
OPTIONAL { ?role a ?subclass .
|
OPTIONAL { ?role a ?subclass .
|
||||||
|
|
Loading…
Add table
Reference in a new issue