PREFIX ontotrafficincident: <https://www.theworldavatar.com/kg/ontotrafficincident/>
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#>

<https://www.w3.org/TR/owl-time/#time:Interval> a rdfs:Class .

ontotrafficincident:TrafficIncident a rdfs:Class ;
  rdfs:label "Traffic Incident" ;
  rdfs:comment "A traffic incident." .

ontotrafficincident:hasDescription a rdf:Property ;
  rdfs:label "hasDescription" ;
  rdfs:comment "A relationship between a traffic incident and its description." ;
  rdfs:domain ontotrafficincident:TrafficIncident ;
  rdfs:range xsd:string .

ontotrafficincident:hasTrafficIncidentType a rdf:Property ;
  rdfs:label "hasTrafficIncidentType" ;
  rdfs:comment "A relationship between a traffic incident and its incident type." ;
  rdfs:domain ontotrafficincident:TrafficIncident ;
  rdfs:range xsd:string .

ontotrafficincident:hasTimeInterval a rdf:Property ;
  rdfs:label "hasTimeInterval" ;
  rdfs:comment "A relationship between a traffic incident and its time interval." ;
  rdfs:domain ontotrafficincident:TrafficIncident ;
  rdfs:range <https://www.w3.org/TR/owl-time/#time:Interval> .
