NIHVIVO-2054 dates note showing up for presentations in a 1.2 migrated instance

This commit is contained in:
sjm222 2011-02-06 18:05:45 +00:00
parent 29bf10367c
commit a7e0919955
2 changed files with 35 additions and 2 deletions

View file

@ -22,9 +22,15 @@ Construct {
?thing core:year ?theDate .
Optional {
?thing a ?type .
?thing a ?ettype .
?thing a core:EducationalTraining
}
FILTER (!bound(?type))
Optional {
?thing a ?prtype .
?thing a core:PresenterRole
}
FILTER (!bound(?ettype))
FILTER (!bound(?prtype))
}

View file

@ -0,0 +1,27 @@
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX core: <http://vivoweb.org/ontology/core#>
Construct {
_:sdtv a core:DateTimeValue .
_:sdtv core:dateTime ?theYear .
_:sdtv core:dateTimePrecision core:yearPrecision .
?thing core:dateTimeInterval _:dti .
_:dti a core:DateTimeInterval .
_:dti core:start _:sdtv .
_:dti core:dateTimeIntervalFor ?thing .
} where {
?thing core:year ?theYear .
?thing a core:PresenterRole .
}