NIHVIVO3232: updated to order by rank
This commit is contained in:
parent
42cab346e6
commit
b7b7607242
1 changed files with 7 additions and 2 deletions
|
@ -13,7 +13,8 @@
|
||||||
SELECT DISTINCT <collated>?subclass</collated>
|
SELECT DISTINCT <collated>?subclass</collated>
|
||||||
?position
|
?position
|
||||||
?positionTitle
|
?positionTitle
|
||||||
?hrJobTitle
|
?hrJobTitle
|
||||||
|
?rank
|
||||||
?org ?orgName
|
?org ?orgName
|
||||||
?middleOrg ?middleOrgName
|
?middleOrg ?middleOrgName
|
||||||
?outerOrg ?outerOrgName
|
?outerOrg ?outerOrgName
|
||||||
|
@ -30,6 +31,7 @@
|
||||||
}
|
}
|
||||||
OPTIONAL { ?position rdfs:label ?positionTitle }
|
OPTIONAL { ?position rdfs:label ?positionTitle }
|
||||||
OPTIONAL { ?position core:hrJobTitle ?hrJobTitle }
|
OPTIONAL { ?position core:hrJobTitle ?hrJobTitle }
|
||||||
|
OPTIONAL { ?position core:rank ?rank }
|
||||||
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval
|
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval
|
||||||
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
||||||
?dateTimeStartValue core:dateTime ?dateTimeStart
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
||||||
|
@ -46,7 +48,7 @@
|
||||||
<critical-data-required>
|
<critical-data-required>
|
||||||
FILTER ( bound(?org) )
|
FILTER ( bound(?org) )
|
||||||
</critical-data-required>
|
</critical-data-required>
|
||||||
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?orgName
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) ?rank
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
||||||
<query-construct>
|
<query-construct>
|
||||||
|
@ -81,6 +83,9 @@
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?position .
|
?subject ?property ?position .
|
||||||
?position ?positionProperty ?positionValue
|
?position ?positionProperty ?positionValue
|
||||||
|
} UNION {
|
||||||
|
?subject ?property ?position .
|
||||||
|
?position core:rank ?rank
|
||||||
} UNION {
|
} UNION {
|
||||||
?subject ?property ?position .
|
?subject ?property ?position .
|
||||||
?position core:positionInOrganization ?org .
|
?position core:positionInOrganization ?org .
|
||||||
|
|
Loading…
Add table
Reference in a new issue