PREFIX owl: <http://www.w3.org/2002/07/owl#>
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 linkml: <https://w3id.org/linkml/>
PREFIX base-x: <http://www.base-x/model/>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX vann: <http://purl.org/vocab/vann/>

base-x:roaddamage a owl:Ontology ;
  vann:preferredNamespacePrefix "base-x" ;
  vann:preferredNamespaceUri "http://www.base-x/model/"^^xsd:anyURI ;
  sh:declare [
    sh:prefix "linkml" ;
    sh:namespace "https://w3id.org/linkml/"^^xsd:anyURI
  ] , [
    sh:prefix "base-x" ;
    sh:namespace "http://www.base-x/model/"^^xsd:anyURI
  ] .

base-x:Roaddamage a owl:Class ;
  rdfs:label "Road damage" ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty base-x:type ;
    owl:allValuesFrom xsd:string
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:type ;
    owl:cardinality "1"^^xsd:nonNegativeInteger
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:subtype ;
    owl:allValuesFrom xsd:string
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:subtype ;
    owl:minCardinality "1"^^xsd:nonNegativeInteger
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:longitude ;
    owl:allValuesFrom xsd:float
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:longitude ;
    owl:cardinality "1"^^xsd:nonNegativeInteger
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:latitude ;
    owl:allValuesFrom xsd:float
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:latitude ;
    owl:cardinality "1"^^xsd:nonNegativeInteger
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:last_observation ;
    owl:allValuesFrom xsd:dateTime
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:last_observation ;
    owl:cardinality "1"^^xsd:nonNegativeInteger
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:heading ;
    owl:allValuesFrom xsd:float
  ] , [
    a owl:Restriction ;
    owl:onProperty base-x:heading ;
    owl:cardinality "1"^^xsd:nonNegativeInteger
  ] .

base-x:type a owl:DatatypeProperty ;
  rdfs:label "type" ;
  rdfs:range xsd:string ;
  a owl:FunctionalProperty .

base-x:subtype a owl:DatatypeProperty ;
  rdfs:label "subtype" ;
  rdfs:range xsd:string .

base-x:longitude a owl:DatatypeProperty ;
  rdfs:label "longitude" ;
  rdfs:range xsd:float ;
  a owl:FunctionalProperty .

base-x:latitude a owl:DatatypeProperty ;
  rdfs:label "latitude" ;
  rdfs:range xsd:float ;
  a owl:FunctionalProperty .

base-x:last_observation a owl:DatatypeProperty ;
  rdfs:label "last observation" ;
  rdfs:comment "At what time this situation was last observed." ;
  rdfs:range xsd:dateTime ;
  a owl:FunctionalProperty .

base-x:heading a owl:DatatypeProperty ;
  rdfs:label "heading" ;
  rdfs:comment "Heading information." ;
  rdfs:range xsd:float ;
  a owl:FunctionalProperty .

vann:preferredNamespacePrefix a owl:AnnotationProperty .

vann:preferredNamespaceUri a owl:AnnotationProperty .

sh:declare a owl:AnnotationProperty .

sh:prefix a owl:AnnotationProperty .

sh:namespace a owl:AnnotationProperty .
