SCHEMA-reporting.ttl 2.22 KB
# baseURI: http://www.reportinghub.no/system/schema/reporting
# imports: http://purl.org/dc/terms/

@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@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 report:  <http://www.reportinghub.no/system/schema/reporting#> .
@prefix sioc:    <http://rdfs.org/sioc/ns#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .

sioc:id
      rdf:type owl:DatatypeProperty ;
      rdfs:label "id"^^xsd:string .

<http://www.reportinghub.no/system/schema/reporting>
      rdf:type owl:Ontology ;
      rdfs:comment "The schema of metadata kept by the ReportingHub system to keep track of submitted reports. The starting point is the class foaf:Document."^^xsd:string ;
      owl:imports <http://purl.org/dc/terms/> ;
      owl:versionInfo "0.1.0"^^xsd:string .

report:DDR
      rdf:type rdfs:Class ;
      rdfs:comment "The metadata about a Daily Drilling Report."^^xsd:string ;
      rdfs:label "DDR"^^xsd:string ;
      rdfs:subClassOf foaf:Document ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:allValuesFrom xsd:string ;
                owl:onProperty sioc:id
              ] ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:cardinality "1"^^xsd:nonNegativeInteger ;
                owl:onProperty <http://purl.org/dc/terms/date>
              ] ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:cardinality "1"^^xsd:nonNegativeInteger ;
                owl:onProperty report:wellBoreId
              ] ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:cardinality "1"^^xsd:nonNegativeInteger ;
                owl:onProperty <http://purl.org/dc/terms/created>
              ] ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:cardinality "1"^^xsd:nonNegativeInteger ;
                owl:onProperty sioc:id
              ] .

report:wellBoreId
      rdf:type owl:DatatypeProperty ;
      rdfs:label "well bore id"^^xsd:string .

foaf:Document
      rdf:type rdfs:Class ;
      rdfs:label "Document"^^xsd:string .