SCHEMA_EP-REPORT-v1.0.ttl 4.72 KB
# Saved by TopBraid on Tue Sep 27 13:03:12 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/activity

@prefix ep-core:  <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-report:  <http://www.reportinghub.no/ep/schema/report#> .
@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#> .

<http://www.reportinghub.no/ep/schema/1.0/report>
      rdf:type owl:Ontology ;
      owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/activity> ;
      owl:versionInfo "0.1.0"^^xsd:string .

ep-report:DailyDrillingReport
      rdf:type owl:Class ;
      rdfs:subClassOf ep-report:Report .

ep-report:DailyDrillingReportFinalisationType
      rdf:type owl:Class ;
      rdfs:subClassOf owl:Class .

ep-report:FinalDailyDrillingReport
      rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
      rdfs:subClassOf ep-report:DailyDrillingReport .

ep-report:NonProductivetimeReport
      rdf:type owl:Class ;
      rdfs:subClassOf ep-report:Report ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:cardinality "1"^^xsd:nonNegativeInteger ;
                owl:onProperty ep-report:reportOn
              ] ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:allValuesFrom ep-report:DailyDrillingReport ;
                owl:onProperty ep-report:reportOn
              ] ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:cardinality "1"^^xsd:nonNegativeInteger ;
                owl:onProperty ep-report:createdAt
              ] ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:allValuesFrom xsd:dateTime ;
                owl:onProperty ep-report:createdAt
              ] .

ep-report:NormalDailyDrillingReport
      rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
      rdfs:subClassOf ep-report:DailyDrillingReport .

ep-report:PreliminaryDailyDrillingReport
      rdf:type owl:Class , ep-report:DailyDrillingReportFinalisationType ;
      rdfs:subClassOf ep-report:DailyDrillingReport .

ep-report:Report
      rdf:type owl:Class ;
      rdfs:subClassOf owl:Thing .

ep-report:WeeklyDrillingReport
      rdf:type owl:Class ;
      rdfs:subClassOf ep-report:Report ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:cardinality "1"^^xsd:nonNegativeInteger ;
                owl:onProperty ep-report:createdAt
              ] ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:allValuesFrom xsd:dateTime ;
                owl:onProperty ep-report:createdAt
              ] ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:cardinality "7"^^xsd:nonNegativeInteger ;
                owl:onProperty ep-report:reportOn
              ] ;
      rdfs:subClassOf
              [ rdf:type owl:Restriction ;
                owl:allValuesFrom ep-report:DailyDrillingReport ;
                owl:onProperty ep-report:reportOn
              ] .

ep-report:createdAt
      rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
      rdfs:domain ep-report:Report ;
      rdfs:label "created at"^^xsd:string .

ep-report:dailyDrillingReportNumber
      rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
      rdfs:domain ep-report:DailyDrillingReport ;
      rdfs:label "daily drilling report number"^^xsd:string .

ep-report:datumObjectForDailyDrillingReport
      rdf:type owl:ObjectProperty ;
      rdfs:domain ep-report:DailyDrillingReport ;
      rdfs:label "datum object for daily drilling report"^^xsd:string ;
      rdfs:range ep-core:PhysicalObject .

ep-report:hasContent
      rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
      rdfs:domain ep-report:Report ;
      rdfs:label "has content"^^xsd:string .

ep-report:nameAsDatumObject
      rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
      rdfs:domain ep-core:PhysicalObject ;
      rdfs:label "name as datum object"^^xsd:string .

ep-report:reportOn
      rdf:type owl:ObjectProperty ;
      rdfs:domain ep-report:Report ;
      rdfs:label "report on"^^xsd:string .