VIVO Documentation
Page History
Notes
- VIVO uses DateTimeValue and DateTimeInterval to model dates and datetimes. These are objects, not literal values. The object models are simple (see below). VIVO DateTimeValue supports the concept of a precision, which indicates whether a particular DateTimeValue is accurate to the day, or perhaps only to the month, or perhaps only to the year. Precision is an important idea – publication dates, for example, are often known only to year precision, and sometimes to year and month.
The model indicates that creating a DateTimeValue requires three triples – one to specify the type, one to specify the literal value of the datetime, and one to indicate the precision.
Code Block <http://vivo.myschool.edu/individual/n123> rdf:type vivo:DateTimeValue . <http://vivo.myschool.edu/individual/n123> vivo:dateTime "2010-11-12T12:00:00"^^xsd:datetime . <http://vivo.myschool.edu/individual/n123> vivo:dateTimePrecision vivo:yearPrecision .
- VIVO provides the precisions shown below:
<http://vivoweb.org/ontology/core#yearMonthDayTimePrecision>
<http://vivoweb.org/ontology/core#yearMonthPrecision>
<http://vivoweb.org/ontology/core#yearPrecision>
<http://vivoweb.org/ontology/core#yearMonthDayPrecision>
...
Excerpt Include | ||||
---|---|---|---|---|
|
...
Code Block |
---|
<http://vivo.mydomain.edu/individual/n456> ardf:type vivo:DateTimeInterval . <http://vivo.mydomain.edu/individual/n456> vivo:start <http://vivo.mydomain.edu/individual/n123> . <http://vivo.mydomain.edu/individual/n456> vivo:end <http://vivo.mydomain.edu/individual/n124> . |
...
Overview
Content Tools