279 lines
14 KiB
XML
279 lines
14 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
<!-- 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#>
|
|
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
SELECT DISTINCT <collated>?subclass</collated>
|
|
?role ?roleLabel
|
|
?presentation ?presentationName ?presentationLabel
|
|
?conference ?conferenceLabel
|
|
?series ?seriesLabel
|
|
?workshop
|
|
?dateTime
|
|
|
|
WHERE {
|
|
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole
|
|
|
|
OPTIONAL { ?role rdfs:label ?roleLabel }
|
|
|
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation rdfs:label ?presentationLabel .
|
|
LET (?presentationName := afn:localname(?presentation))
|
|
}
|
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?conference a bibo:Conference .
|
|
?conference rdfs:label ?conferenceLabel
|
|
}
|
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
|
?conference rdfs:label ?conferenceLabel
|
|
}
|
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?series .
|
|
?series <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?series rdfs:label ?seriesLabel
|
|
}
|
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?series .
|
|
?series <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
|
?series rdfs:label ?seriesLabel
|
|
}
|
|
<collated>
|
|
OPTIONAL { ?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation vitro:mostSpecificType ?subclass .
|
|
}
|
|
</collated>
|
|
|
|
OPTIONAL { ?role vivo:dateTimeInterval ?dateTimeInterval .
|
|
?dateTimeInterval vivo:start ?dateTimeStartValue .
|
|
?dateTimeStartValue vivo:dateTime ?dateTime
|
|
}
|
|
|
|
<critical-data-required>
|
|
FILTER ( bound(?presentation) )
|
|
</critical-data-required>
|
|
|
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTime) ?presentationLabel ?presentationName
|
|
</query-select>
|
|
|
|
<query-construct>
|
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
CONSTRUCT {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role rdfs:label ?roleLabel .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation rdfs:label ?presentationLabel .
|
|
?presentation vitro:mostSpecificType ?subclass .
|
|
} WHERE {
|
|
{
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role rdfs:label ?roleLabel .
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation rdfs:label ?presentationLabel
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation vitro:mostSpecificType ?subclass .
|
|
}
|
|
}
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
CONSTRUCT {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
|
?conference a bibo:Conference .
|
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?conference rdfs:label ?conferenceLabel
|
|
} WHERE {
|
|
|
|
{
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?conference a bibo:Conference .
|
|
?conference rdfs:label ?conferenceLabel
|
|
}
|
|
}
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
CONSTRUCT {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?workshop a bibo:Workshop .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
|
?conference a bibo:Conference .
|
|
?conference rdfs:label ?conferenceLabel
|
|
} WHERE {
|
|
{
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
|
?conference a bibo:Conference .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?workshop a bibo:Workshop .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?conference .
|
|
?conference <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
|
?conference a bibo:Conference .
|
|
?conference rdfs:label ?conferenceLabel
|
|
}
|
|
}
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
CONSTRUCT {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?series a vivo:EventSeries .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?series .
|
|
?series <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?series rdfs:label ?seriesLabel
|
|
} WHERE {
|
|
|
|
{
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?series a vivo:EventSeries .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?series .
|
|
?series <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?series rdfs:label ?seriesLabel
|
|
}
|
|
}
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
CONSTRUCT {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?workshop a bibo:Workshop .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?series .
|
|
?series <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
|
?series a vivo:EventSeries .
|
|
?series rdfs:label ?seriesLabel
|
|
} WHERE {
|
|
{
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?presentation .
|
|
?presentation a vivo:Presentation .
|
|
?presentation <http://purl.obolibrary.org/obo/BFO_0000050> ?workshop .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000051> ?presentation .
|
|
?workshop a bibo:Workshop .
|
|
?workshop <http://purl.obolibrary.org/obo/BFO_0000050> ?series .
|
|
?series <http://purl.obolibrary.org/obo/BFO_0000051> ?workshop .
|
|
?series a vivo:EventSeries .
|
|
?series rdfs:label ?seriesLabel
|
|
}
|
|
}
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
CONSTRUCT {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role vivo:dateTimeInterval ?dateTimeInterval .
|
|
?dateTimeInterval vivo:start ?dateTimeStartValue .
|
|
?dateTimeStartValue vivo:dateTime ?dateTimeStart
|
|
} WHERE {
|
|
?subject ?property ?role .
|
|
?role a vivo:PresenterRole .
|
|
?role vivo:dateTimeInterval ?dateTimeInterval .
|
|
?dateTimeInterval vivo:start ?dateTimeStartValue .
|
|
?dateTimeStartValue vivo:dateTime ?dateTimeStart
|
|
}
|
|
</query-construct>
|
|
|
|
<template>propStatement-hasPresenterRole.ftl</template>
|
|
</list-view-config>
|