David Leal

Completion of statusInfo mapping

# Saved by TopBraid on Mon Aug 01 13:33:06 PDT 2011
# Saved by TopBraid on Thu Aug 04 15:07:45 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.1/core
# imports: http://www.linkedmodel.org/1.2/schema/vaem
# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> .
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-core-1.1: <http://www.reportinghub.no/ep/schema/1.1/core#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -11,7 +13,7 @@
<http://www.reportinghub.no/ep/schema/1.1/core>
rdf:type owl:Ontology ;
owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ;
owl:imports <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> , <http://www.linkedmodel.org/1.2/schema/vaem> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-core:basisFor
......@@ -19,7 +21,7 @@ ep-core:basisFor
rdfs:label "basis for"^^xsd:string .
ep-core:derivedFrom
rdf:type owl:TransitiveProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:TransitiveProperty ;
rdfs:label "derived from"^^xsd:string .
ep-core:hasPart
......
This diff could not be displayed because it is too large.
# Saved by TopBraid on Tue Jul 26 22:48:40 CEST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.1/equipment
# Saved by TopBraid on Thu Aug 04 13:47:58 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/equipment
# imports: http://www.reportinghub.no/ep/schema/1.1/core
@prefix : <http://www.reportinghub.no/ep/schema/equipment#> .
@prefix ep-eqt: <http://www.reportinghub.no/ep/schema/equipment#> .
@prefix ep-eqt-1.1: <http://www.reportinghub.no/ep/schema/1.1/equipment#> .
@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.1/equipment>
<http://www.reportinghub.no/ep/schema/equipment>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# Saved by TopBraid on Tue Jul 26 22:56:33 CEST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.1/report
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# Saved by TopBraid on Thu Aug 04 14:54:00 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/report
# imports: http://www.reportinghub.no/ep/schema/1.1/core
@prefix : <http://www.reportinghub.no/ep/schema/report#> .
@prefix ep-report: <http://www.reportinghub.no/ep/schema/report#> .
@prefix ep-report-1.1: <http://www.reportinghub.no/ep/schema/1.1/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.1/report>
<http://www.reportinghub.no/ep/schema/report>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.reportinghub.no/ep/schema/1.1/core> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-report:DailyDrillingReport
rdf:type owl:Class ;
rdfs:subClassOf ep-report:Report .
ep-report:FinalDailyDrillingReport
rdf:type owl:Class ;
rdfs:subClassOf ep-report:DailyDrillingReport .
ep-report:NormalDailyDrillingReport
rdf:type owl:Class ;
rdfs:subClassOf ep-report:DailyDrillingReport .
ep-report:PreliminaryDailyDrillingReport
rdf:type owl:Class ;
rdfs:subClassOf ep-report:DailyDrillingReport .
ep-report:Report
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing .
......
# Saved by TopBraid on Thu Aug 04 10:01:25 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.1/well
# Saved by TopBraid on Thu Aug 04 14:29:37 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/well
# imports: http://www.reportinghub.no/ep/schema/1.1/core
@prefix : <http://www.reportinghub.no/ep/schema/well#> .
@prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> .
@prefix ep-well-1.1: <http://www.reportinghub.no/ep/schema/1.1/well#> .
@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.1/well>
<http://www.reportinghub.no/ep/schema/well>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......@@ -29,13 +29,13 @@ ep-well:Well
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#name>
owl:allValuesFrom ep-well:WellBore ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-well:WellBore ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#name>
] .
ep-well:WellBore
......
# Saved by TopBraid on Thu Aug 04 09:22:54 BST 2011
# Saved by TopBraid on Thu Aug 04 16:06:56 BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr
# imports: http://spinrdf.org/spin
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
......@@ -16,7 +17,7 @@
<http://www.reportinghub.no/ep/spin/1.1/lib>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-spin-lib:Function
......@@ -233,7 +234,130 @@ ep-spin-lib:normalizeString
spl:valueType xsd:string
] .
_:b3 sp:varName "uri"^^xsd:string .
ep-spin-lib:selectDailyDrillingReportType
rdf:type spin:Function ;
rdfs:label "select DailyDrillingReportType"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b16) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ORV_normal>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/report#NormalDailyDrillingReport> ;
sp:arg3 [ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ORV_preliminary>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/report#PreliminaryDailyDrillingReport> ;
sp:arg3 [ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#ORV_final>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
]
]
] ;
sp:variable _:b16
])
] .
ep-spin-lib:selectPressureTestType
rdf:type spin:Function ;
rdfs:label "select PressureTestType"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b17) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#PT_formationintegritytest>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#FormationIntegrityTest> ;
sp:arg3 [ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#PT_leakofftest>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#LeakOffTest>
]
] ;
sp:variable _:b17
])
] .
ep-spin-lib:selectWellBoreDrillingType
rdf:type spin:Function ;
rdfs:label "select WellBoreDrillingType"^^xsd:string ;
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b18) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_bypass>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-bypass> ;
sp:arg3 [ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_initial>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-initial> ;
sp:arg3 [ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_redrill>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-redrill> ;
sp:arg3 [ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_reentry>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-re-entry> ;
sp:arg3 [ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_respud>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-re-spud> ;
sp:arg3 [ rdf:type smf:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.reportinghub.no/ep/schema/ddr#W_sidetrack>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#Drill-sidetrack>
]
]
]
]
]
] ;
sp:variable _:b18
])
] .
_:b16
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b18
sp:varName "wellBoreDrillingType"^^xsd:string .
_:b17
sp:varName "pressureTestType"^^xsd:string .
_:b15
sp:varName "t4"^^xsd:string .
......@@ -265,6 +389,8 @@ _:b5 sp:varName "uri"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b3 sp:varName "uri"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
......
# Saved by TopBraid on Thu Aug 04 09:22:54 BST 2011
# Saved by TopBraid on Thu Aug 04 16:06:56 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Thu Aug 04 10:29:52 BST 2011
# Saved by TopBraid on Thu Aug 04 16:09:10 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Thu Aug 04 10:31:12 BST 2011
# Saved by TopBraid on Thu Aug 04 14:25:22 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
# imports: file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/schema/report
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
# imports: http://www.reportinghub.no/ep/schema/equipment
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/activity
# imports: http://www.reportinghub.no/ep/schema/well
@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -16,5 +20,5 @@
<http://www.reportinghub.no/ep/transform/1.1/normalization>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> ;
owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/schema/activity> , <http://spinrdf.org/spin> , <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/schema/equipment> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# Saved by TopBraid on Thu Aug 04 10:31:12 BST 2011
# Saved by TopBraid on Thu Aug 04 14:25:22 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Thu Aug 04 10:01:34 BST 2011
# Saved by TopBraid on Thu Aug 04 14:29:43 BST 2011
# baseURI: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr
# imports: http://purl.org/dc/elements/1.1/
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://www.reportinghub.no/ep/schema/report
# imports: http://www.reportinghub.no/iso15926/nativeOWL
# imports: http://www.reportinghub.no/ep/schema/equipment
# imports: http://purl.org/dc/terms/
# imports: http://www.reportinghub.no/ep/schema/well
# imports: http://www.reportinghub.no/ep/schema/activity
@prefix : <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> .
@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> .
......@@ -19,5 +23,5 @@
<http://www.reportinghub.no/iso15926/bindEP-NativeOWL>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://www.reportinghub.no/iso15926/nativeOWL> , <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://www.w3.org/2004/02/skos/core> ;
owl:imports <http://purl.org/dc/elements/1.1/> , <http://www.reportinghub.no/ep/schema/activity> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://www.w3.org/2004/02/skos/core> , <http://purl.org/dc/terms/> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/report> , <http://www.reportinghub.no/iso15926/nativeOWL> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# Saved by TopBraid on Thu Aug 04 09:41:43 BST 2011
# Saved by TopBraid on Thu Aug 04 15:12:00 BST 2011
# baseURI: http://www.reportinghub.no/iso15926/nativeOWL
# imports: http://purl.org/dc/elements/1.1/
# imports: http://www.w3.org/2004/02/skos/core
......@@ -12,24 +12,45 @@
<http://www.reportinghub.no/iso15926/nativeOWL>
rdf:type owl:Ontology ;
owl:imports <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://www.w3.org/2004/02/skos/core> ;
owl:imports <http://www.w3.org/2004/02/skos/core> , <http://purl.org/dc/terms/> , <http://purl.org/dc/elements/1.1/> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
:Activity
rdf:type owl:Class ;
rdfs:label "activity"^^xsd:string ;
rdfs:subClassOf :PossibleIndividual .
:PossibleIndividual
rdf:type owl:Class ;
rdfs:label "possible individual"^^xsd:string ;
rdfs:subClassOf owl:Thing .
:hasPart
rdf:type owl:TransitiveProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "has part"^^xsd:string ;
rdfs:range :PossibleIndividual ;
owl:inverseOf :partOf .
:hasTemporalPart
rdf:type owl:TransitiveProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "has temporal part"^^xsd:string ;
rdfs:range :PossibleIndividual ;
rdfs:subPropertyOf :hasPart ;
owl:inverseOf :temporalPartOf .
:partOf
rdf:type owl:TransitiveProperty , owl:ObjectProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "part of"^^xsd:string ;
rdfs:range :PossibleIndividual ;
owl:inverseOf :hasPart .
:temporalPartOf
rdf:type owl:ObjectProperty , owl:TransitiveProperty ;
rdf:type owl:TransitiveProperty , owl:ObjectProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "temporal part of"^^xsd:string ;
rdfs:range :PossibleIndividual ;
rdfs:subPropertyOf :partOf ;
owl:inverseOf :hasTemporalPart .
......