# OWL ontology, rendered from the LinkML model.
@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#> .

<https://hel.fi/models/helsinki/helsinki/views/dhiw4735mzyvwkrmszljpxcvvgv32q33> a owl:Ontology ;
  rdfs:label "helsinki" .

<https://smartdatamodels.org/Alert> a owl:Class ;
  rdfs:label "Alert" ;
  rdfs:comment "One road work or traffic announcement of Fintraffic in the capital region, or one service alert of HSL with the lines and stops it affects." .

<http://schema.org/address> a owl:DatatypeProperty ;
  rdfs:label "address" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The postal address as the source publishes it, field by field (Smart Data Models' common PostalAddress); a field the source leaves out is absent, never guessed from a line of text." .

<https://smartdatamodels.org/alertSource> a owl:DatatypeProperty ;
  rdfs:label "alertSource" ;
  rdfs:range xsd:string ;
  rdfs:comment "Who raised the alert, Fintraffic or HSL." .

<https://smartdatamodels.org/category> a owl:DatatypeProperty ;
  rdfs:label "category" ;
  rdfs:range xsd:string ;
  rdfs:comment "The alert's domain; traffic for everything Fintraffic and HSL publish." .

<https://joinedcontext.com/models/cause> a owl:DatatypeProperty ;
  rdfs:label "cause" ;
  rdfs:range xsd:string ;
  rdfs:comment "Why an HSL service alert is in force, as GTFS-RT names it, such as CONSTRUCTION or MAINTENANCE." .

<https://smartdatamodels.org/dateIssued> a owl:DatatypeProperty ;
  rdfs:label "dateIssued" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "When the situation was published." .

<http://schema.org/description> a owl:DatatypeProperty ;
  rdfs:label "description" ;
  rdfs:range xsd:string ;
  rdfs:comment "A short description, per language." .

<https://joinedcontext.com/models/effect> a owl:DatatypeProperty ;
  rdfs:label "effect" ;
  rdfs:range xsd:string ;
  rdfs:comment "What an HSL service alert does to the service, as GTFS-RT names it, such as DETOUR or REDUCED_SERVICE." .

<https://purl.org/geojson/vocab#geometry> a owl:DatatypeProperty ;
  rdfs:label "location" ;
  rdfs:range xsd:string ;
  rdfs:comment "Where the entity is, as GeoJSON geometry." .

<http://schema.org/name> a owl:DatatypeProperty ;
  rdfs:label "name" ;
  rdfs:range xsd:string ;
  rdfs:comment "The name, per language." .

<https://joinedcontext.com/models/refRoute> a owl:DatatypeProperty ;
  rdfs:label "refRoute" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The lines an HSL service alert affects, each a GtfsRoute of this space." .

<https://joinedcontext.com/models/refStop> a owl:DatatypeProperty ;
  rdfs:label "refStop" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The stops an HSL service alert affects, each a GtfsStop of this space." .

<https://smartdatamodels.org/severity> a owl:DatatypeProperty ;
  rdfs:label "severity" ;
  rdfs:range xsd:string ;
  rdfs:comment "How much the alert matters, informational, medium or high (GTFS-RT INFO, WARNING, SEVERE)." .

<https://smartdatamodels.org/source> a owl:DatatypeProperty ;
  rdfs:label "source" ;
  rdfs:range xsd:anyURI ;
  rdfs:comment "The open-data service the entity was read from." .

<https://smartdatamodels.org/subCategory> a owl:DatatypeProperty ;
  rdfs:label "subCategory" ;
  rdfs:range xsd:string ;
  rdfs:comment "The Smart Data Models code of the alert, roadWorks for a Fintraffic road work. Left out where no code fits: a Fintraffic traffic announcement and an HSL service alert." .

<https://joinedcontext.com/models/unknownReference> a owl:DatatypeProperty ;
  rdfs:label "unknownReference" ;
  rdfs:range xsd:string ;
  rdfs:comment "What an HSL service alert names that this space holds no entity for, as `route:<id>` or `stop:<id>`, kept as text rather than as a relationship that would point at nothing." .

<https://smartdatamodels.org/validFrom> a owl:DatatypeProperty ;
  rdfs:label "validFrom" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "When the situation starts." .

<https://smartdatamodels.org/validTo> a owl:DatatypeProperty ;
  rdfs:label "validTo" ;
  rdfs:range xsd:dateTime ;
  rdfs:comment "When the situation ends; absent while open-ended." .
