NIHVIVO-1335, NIHVIVO-1336 Corrected dateTimeValue predicate in custom queries
This commit is contained in:
parent
812ce421d5
commit
b966540d94
2 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@
|
||||||
FILTER (?g5 != <http://vitro.mannlib.cornell.edu/default/inferred-tbox> &&
|
FILTER (?g5 != <http://vitro.mannlib.cornell.edu/default/inferred-tbox> &&
|
||||||
?g5 != <http://vitro.mannlib.cornell.edu/default/vitro-kb-inf> )
|
?g5 != <http://vitro.mannlib.cornell.edu/default/vitro-kb-inf> )
|
||||||
}
|
}
|
||||||
OPTIONAL { GRAPH ?g6 { ?infoResource core:hasDateTimeValue ?dateTimeValue .
|
OPTIONAL { GRAPH ?g6 { ?infoResource core:dateTimeValue ?dateTimeValue .
|
||||||
?dateTimeValue core:dateTime ?dateTime . } }
|
?dateTimeValue core:dateTime ?dateTime . } }
|
||||||
} ORDER BY ?subclass DESC(?dateTime) ?infoResourceName
|
} ORDER BY ?subclass DESC(?dateTime) ?infoResourceName
|
||||||
</query>
|
</query>
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
OPTIONAL { GRAPH ?g6 { ?edTraining core:majorField ?majorField } }
|
OPTIONAL { GRAPH ?g6 { ?edTraining core:majorField ?majorField } }
|
||||||
OPTIONAL { GRAPH ?g7 { ?edTraining core:departmentOrSchool ?deptOrSchool } }
|
OPTIONAL { GRAPH ?g7 { ?edTraining core:departmentOrSchool ?deptOrSchool } }
|
||||||
OPTIONAL { GRAPH ?g8 { ?edTraining core:supplementalInformation ?info } }
|
OPTIONAL { GRAPH ?g8 { ?edTraining core:supplementalInformation ?info } }
|
||||||
OPTIONAL { GRAPH ?g9 { ?edTraining core:hasDateTimeValue ?dateTimeValue .
|
OPTIONAL { GRAPH ?g9 { ?edTraining core:dateTimeValue ?dateTimeValue .
|
||||||
?dateTimeValue core:dateTime ?dateTime } }
|
?dateTimeValue core:dateTime ?dateTime } }
|
||||||
|
|
||||||
} ORDER BY DESC(?dateTime)
|
} ORDER BY DESC(?dateTime)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue