NIHVIVO3232: updated to order by rank
This commit is contained in:
parent
42cab346e6
commit
b7b7607242
1 changed files with 7 additions and 2 deletions
|
@ -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 .
|
||||
|
|
Loading…
Add table
Reference in a new issue