NIHVIVO3232: updated to order by rank

This commit is contained in:
tworrall 2012-03-05 21:20:49 +00:00
parent 42cab346e6
commit b7b7607242

View file

@ -14,6 +14,7 @@
?position
?positionTitle
?hrJobTitle
?rank
?org ?orgName
?middleOrg ?middleOrgName
?outerOrg ?outerOrgName
@ -30,6 +31,7 @@
}
OPTIONAL { ?position rdfs:label ?positionTitle }
OPTIONAL { ?position core:hrJobTitle ?hrJobTitle }
OPTIONAL { ?position core:rank ?rank }
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
@ -46,7 +48,7 @@
<critical-data-required>
FILTER ( bound(?org) )
</critical-data-required>
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?orgName
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) ?rank
</query-select>
<query-construct>
@ -81,6 +83,9 @@
} UNION {
?subject ?property ?position .
?position ?positionProperty ?positionValue
} UNION {
?subject ?property ?position .
?position core:rank ?rank
} UNION {
?subject ?property ?position .
?position core:positionInOrganization ?org .