NIHVIVO-1335, NIHVIVO-1336 Corrected dateTimeValue predicate in custom queries

This commit is contained in:
rjy7 2010-12-23 20:01:30 +00:00
parent 812ce421d5
commit b966540d94
2 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@
FILTER (?g5 != <http://vitro.mannlib.cornell.edu/default/inferred-tbox> &&
?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 . } }
} ORDER BY ?subclass DESC(?dateTime) ?infoResourceName
</query>

View file

@ -69,7 +69,7 @@
OPTIONAL { GRAPH ?g6 { ?edTraining core:majorField ?majorField } }
OPTIONAL { GRAPH ?g7 { ?edTraining core:departmentOrSchool ?deptOrSchool } }
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 } }
} ORDER BY DESC(?dateTime)