NIHVIVO-2824: updated to display the conference name even when there is an intervening event between the presentation and the conference, such as a workshop or session.
This commit is contained in:
parent
915e2259a7
commit
fe07c2d0fb
1 changed files with 59 additions and 1 deletions
|
@ -3,6 +3,9 @@
|
|||
|
||||
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
||||
|
||||
<!-- Note: ?workshop is a generic name for any intervening event between a presentation and -->
|
||||
<!-- a conference, such as a workshop or session or exhibit. tlw72 -->
|
||||
|
||||
<list-view-config>
|
||||
<query-select>
|
||||
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
||||
|
@ -15,7 +18,8 @@
|
|||
SELECT DISTINCT <collated>?subclass</collated>
|
||||
?role ?roleLabel
|
||||
?presentation ?presentationName ?presentationLabel
|
||||
?conference ?conferenceLabel
|
||||
?conference ?conferenceLabel
|
||||
?workshop
|
||||
?dateTime
|
||||
|
||||
WHERE {
|
||||
|
@ -38,6 +42,16 @@
|
|||
?conference core:includesEvent ?presentation
|
||||
}
|
||||
}
|
||||
OPTIONAL {
|
||||
{
|
||||
?presentation core:eventWithin ?workshop .
|
||||
?workshop core:eventWithin ?conference
|
||||
} UNION {
|
||||
?workshop core:includesEvent ?presentation .
|
||||
?conference core:includesEvent ?workshop
|
||||
}
|
||||
OPTIONAL { ?conference rdfs:label ?conferenceLabel }
|
||||
}
|
||||
|
||||
<collated>
|
||||
?presentation vitro:mostSpecificType ?subclass .
|
||||
|
@ -151,6 +165,50 @@
|
|||
}
|
||||
</query-construct>
|
||||
|
||||
<query-construct>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?role .
|
||||
?workshop core:eventWithin ?conference .
|
||||
?conference core:includesEvent ?workshop .
|
||||
?conference a bibo:Conference .
|
||||
?presentation core:eventWithin ?workshop .
|
||||
?workshop core:includesEvent ?presentation .
|
||||
?conference rdfs:label ?conferenceLabel
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?role .
|
||||
?role core:roleIn ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?presentation core:eventWithin ?workshop .
|
||||
?workshop core:eventWithin ?conference
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleIn ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?presentation core:eventWithin ?workshop .
|
||||
?workshop core:eventWithin ?conference .
|
||||
?conference rdfs:label ?conferenceLabel
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleIn ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?conference core:includesEvent ?workshop .
|
||||
?workshop core:includesEvent ?presentation
|
||||
} UNION {
|
||||
?subject ?property ?role .
|
||||
?role core:roleIn ?presentation .
|
||||
?conference a bibo:Conference .
|
||||
?conference core:includesEvent ?workshop .
|
||||
?workshop core:includesEvent ?presentation .
|
||||
?conference rdfs:label ?conferenceLabel
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<query-construct>
|
||||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
CONSTRUCT {
|
||||
|
|
Loading…
Add table
Reference in a new issue