NIHVIVO-2926 rewrote hasPresenterRole list view queries to avoid nested unions
This commit is contained in:
parent
8eccf61dbf
commit
7d5ce28f07
1 changed files with 19 additions and 7 deletions
|
@ -77,12 +77,15 @@
|
||||||
?subclass rdfs:subClassOf core:Presentation .
|
?subclass rdfs:subClassOf core:Presentation .
|
||||||
?subclass owl:equivalentClass core:Presentation .
|
?subclass owl:equivalentClass core:Presentation .
|
||||||
} WHERE {
|
} WHERE {
|
||||||
?subject ?property ?role .
|
|
||||||
?role core:roleIn ?presentation .
|
|
||||||
?presentation vitro:mostSpecificType ?subclass .
|
|
||||||
{
|
{
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:roleIn ?presentation .
|
||||||
|
?presentation vitro:mostSpecificType ?subclass .
|
||||||
?subclass rdfs:subClassOf core:Presentation
|
?subclass rdfs:subClassOf core:Presentation
|
||||||
} UNION {
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:roleIn ?presentation .
|
||||||
|
?presentation vitro:mostSpecificType ?subclass .
|
||||||
?subclass owl:equivalentClass core:Presentation
|
?subclass owl:equivalentClass core:Presentation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -121,18 +124,27 @@
|
||||||
?conference core:includesEvent ?presentation .
|
?conference core:includesEvent ?presentation .
|
||||||
?conference rdfs:label ?conferenceLabel
|
?conference rdfs:label ?conferenceLabel
|
||||||
} WHERE {
|
} WHERE {
|
||||||
?subject ?property ?role .
|
|
||||||
?role core:roleIn ?presentation .
|
|
||||||
?conference a bibo:Conference .
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:roleIn ?presentation .
|
||||||
|
?conference a bibo:Conference .
|
||||||
?presentation core:eventWithin ?conference
|
?presentation core:eventWithin ?conference
|
||||||
} UNION {
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:roleIn ?presentation .
|
||||||
|
?conference a bibo:Conference .
|
||||||
?presentation core:eventWithin ?conference .
|
?presentation core:eventWithin ?conference .
|
||||||
?conference rdfs:label ?conferenceLabel
|
?conference rdfs:label ?conferenceLabel
|
||||||
} UNION {
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:roleIn ?presentation .
|
||||||
|
?conference a bibo:Conference .
|
||||||
?conference core:includesEvent ?presentation
|
?conference core:includesEvent ?presentation
|
||||||
} UNION {
|
} UNION {
|
||||||
|
?subject ?property ?role .
|
||||||
|
?role core:roleIn ?presentation .
|
||||||
|
?conference a bibo:Conference .
|
||||||
?conference core:includesEvent ?presentation .
|
?conference core:includesEvent ?presentation .
|
||||||
?conference rdfs:label ?conferenceLabel
|
?conference rdfs:label ?conferenceLabel
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue