diff --git a/productMods/config/listViewConfig-hasRole.xml b/productMods/config/listViewConfig-hasRole.xml index 1a9b9ed4..e4a82741 100644 --- a/productMods/config/listViewConfig-hasRole.xml +++ b/productMods/config/listViewConfig-hasRole.xml @@ -16,13 +16,15 @@ ?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 } + } OPTIONAL { ?role a ?subclass . ?subclass rdfs:subClassOf core:Role