NIHVIVO-2605 Restore construct queries to core:hasPresenterRole custom list view
This commit is contained in:
parent
b55e3520aa
commit
fd55135f56
1 changed files with 92 additions and 3 deletions
|
@ -33,7 +33,8 @@
|
||||||
OPTIONAL { ?conference rdfs:label ?conferenceLabel }
|
OPTIONAL { ?conference rdfs:label ?conferenceLabel }
|
||||||
|
|
||||||
{
|
{
|
||||||
?presentation core:eventWithin ?conference } UNION {
|
?presentation core:eventWithin ?conference
|
||||||
|
} UNION {
|
||||||
?conference core:includesEvent ?presentation
|
?conference core:includesEvent ?presentation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,7 +43,8 @@
|
||||||
?presentation vitro:mostSpecificType ?subclass .
|
?presentation vitro:mostSpecificType ?subclass .
|
||||||
|
|
||||||
{
|
{
|
||||||
?subclass rdfs:subClassOf core:Presentation } UNION {
|
?subclass rdfs:subClassOf core:Presentation
|
||||||
|
} UNION {
|
||||||
?subclass owl:equivalentClass core:Presentation
|
?subclass owl:equivalentClass core:Presentation
|
||||||
}
|
}
|
||||||
</collated>
|
</collated>
|
||||||
|
@ -61,9 +63,96 @@
|
||||||
|
|
||||||
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) ?presentationLabel ?presentationName
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) ?presentationLabel ?presentationName
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <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#>
|
||||||
|
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:roleIn ?presentation .
|
||||||
|
?presentation vitro:mostSpecificType ?subclass .
|
||||||
|
?subclass rdfs:subClassOf core:Presentation .
|
||||||
|
?subclass owl:equivalentClass core:Presentation .
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:roleIn ?presentation .
|
||||||
|
?presentation vitro:mostSpecificType ?subclass .
|
||||||
|
{
|
||||||
|
?subclass rdfs:subClassOf core:Presentation
|
||||||
|
} UNION {
|
||||||
|
?subclass owl:equivalentClass core:Presentation
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role ?roleProperty ?roleValue .
|
||||||
|
?presentation rdfs:label ?presentationLabel
|
||||||
|
} WHERE {
|
||||||
|
{
|
||||||
|
?subject ?property ?role
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role ?roleProperty ?roleValue
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:roleIn ?presentation .
|
||||||
|
?presentation rdfs:label ?presentationLabel
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</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 .
|
||||||
|
?conference a bibo:Conference .
|
||||||
|
?presentation core:eventWithin ?conference .
|
||||||
|
?conference core:includesEvent ?presentation .
|
||||||
|
?conference rdfs:label ?conferenceLabel
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:roleIn ?presentation .
|
||||||
|
?conference a bibo:Conference .
|
||||||
|
|
||||||
|
{
|
||||||
|
?presentation core:eventWithin ?conference
|
||||||
|
} UNION {
|
||||||
|
?presentation core:eventWithin ?conference .
|
||||||
|
?conference rdfs:label ?conferenceLabel
|
||||||
|
} UNION {
|
||||||
|
?conference core:includesEvent ?presentation
|
||||||
|
} UNION {
|
||||||
|
?conference core:includesEvent ?presentation .
|
||||||
|
?conference rdfs:label ?conferenceLabel
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
|
<query-construct>
|
||||||
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||||
|
CONSTRUCT {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
} WHERE {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:dateTimeInterval ?dateTimeInterval .
|
||||||
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
}
|
||||||
|
</query-construct>
|
||||||
|
|
||||||
<template>propStatement-hasPresenterRole.ftl</template>
|
<template>propStatement-hasPresenterRole.ftl</template>
|
||||||
</list-view-config>
|
</list-view-config>
|
Loading…
Add table
Add a link
Reference in a new issue