Skip to content

Latest commit

 

History

History
112 lines (94 loc) · 2.02 KB

timespans-draft-spec.md

File metadata and controls

112 lines (94 loc) · 2.02 KB

Example: "Early Dynastic period" defined as starting "3000 B.C. (+/- 150 years)" and ending "about 2330 B.C."

{ "label": "Early Dynastic period"
, "start":
  { "in":
    { "earliestYear": "-3149"
    , "latestYear": "-2849"
    }
  , "label": "3000 B.C. (+/- 150 years)"
  }
  , "stop":
  { "in":
    { "year": "-2329" }
  , "label": "about 2330 B.C."
  }
}

More examples of interval descriptions:

  • seventeenth century B.C.
{ "earliestYear": "-1699"
, "latestYear": "-1600"
}
  • 675/650
{ "earliestYear": "-675"
, "latestYear": "-650"
}
  • mid 3rd century BC
{ "earliestYear": "-274"
, "latestYear": "-224"
}
  • at least from the beginning of the second millennium B.C.E.
{ "latestYear": "-1999"
}
  • 3000 B.C. (+/- 150 years)
{ "earliestYear": "-3149"
, "latestYear": "-2849"
}
  • 4th millennium B.C.E.
{ "earliestYear": "-3999"
, "latestYear": "-3000"
}
  • before 1000
{ "latestYear": "1000"
}
  • 7th cent.
{ "earliestYear": "600"
, "latestYear": "699"
}

Proposed changes to JSON-LD context:

  • start changes from http://www.w3.org/2006/time#hasBeginning to http://www.w3.org/2006/time#intervalStartedBy.

  • stop changes from http://www.w3.org/2006/time#hasEnding to http://www.w3.org/2006/time#intervalFinishedBy.

  • in changes from http://www.w3.org/2006/time#inDateTime to http://www.w3.org/2006/time#hasDateTimeDescription.

  • earliestYear is defined as follows:

:earliestYear
  a owl:DatatypeProperty ;
  rdfs:domain :DateTimeDescription ;
  rdfs:range xsd:gYear .

:DateTimeDescription
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
    owl:onProperty :earliestYear
  ]
  • latestYear is defined as follows:
:latestYear
  a owl:DatatypeProperty ;
  rdfs:domain :DateTimeDescription ;
  rdfs:range xsd:gYear .

:DateTimeDescription
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
    owl:onProperty :latestYear
  ]