NIHVIVO-2325 Retrieve property in core:hasRole list view query, since the view supports multiple properties, so the template knows which property is being displayed.
This commit is contained in:
parent
be6c3c5a30
commit
a47a480552
10 changed files with 50 additions and 13 deletions
|
@ -10,6 +10,8 @@
|
|||
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
||||
|
||||
SELECT DISTINCT <collated>?subclass</collated>
|
||||
# send the property to the template, since this view supports multiple role properties
|
||||
?property
|
||||
?role
|
||||
?startDateOnly
|
||||
?roleLabel
|
||||
|
@ -18,8 +20,6 @@
|
|||
|
||||
?subject ?property ?role
|
||||
|
||||
LET (?startDateOnly := (?property = core:hasPresenterRole) )
|
||||
|
||||
OPTIONAL { ?role core:roleIn ?activity .
|
||||
?activity rdfs:label ?activityName
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue