David Leal

Merging of DDR and NPD ontologies

# Saved by TopBraid on Mon Aug 08 14:39:42 BST 2011
# Saved by TopBraid on Tue Aug 09 15:23:56 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.linkedmodel.org/1.2/schema/vaem
# imports: http://www.linkedmodel.org/1.1/schema/ordered
......@@ -21,7 +21,7 @@
ep-activity:Activity
rdf:type owl:Class ;
rdfs:label "Activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/iso15926/nativeOWL#Activity> ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
......@@ -29,6 +29,11 @@ ep-activity:Activity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:startedAt
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
] ;
......@@ -46,11 +51,6 @@ ep-activity:Activity
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:startedAt
] .
ep-activity:DailyDrillingActivity
......@@ -59,8 +59,8 @@ ep-activity:DailyDrillingActivity
rdfs:subClassOf ep-activity:DrillingActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -69,8 +69,8 @@ ep-activity:DailyDrillingActivity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty ep-activity:hasSubActivity
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -176,8 +176,8 @@ ep-activity:OffshoreWellActivity
rdfs:subClassOf ep-activity:OffshoreActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/equipment#Rig> ;
owl:onProperty ep-activity:onRig
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onWell
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -188,11 +188,6 @@ ep-activity:OffshoreWellActivity
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
owl:onProperty ep-activity:onWell
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onWell
] .
ep-activity:PressureTestType
......
# Saved by TopBraid on Sun Aug 07 12:55:41 PDT 2011
# Saved by TopBraid on Tue Aug 09 15:02:54 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/ep/schema/1.1/activity
# 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#> .
......@@ -14,22 +12,58 @@
<http://www.reportinghub.no/ep/schema/1.1/core>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> ;
owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-core:PhysicalObject
rdf:type owl:Class ;
rdfs:label "physical object"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThing
rdf:type owl:Class ;
rdfs:label "physical thing"^^xsd:string ;
rdfs:subClassOf owl:Thing .
ep-core:basisFor
rdf:type owl:ObjectProperty ;
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
rdf:type owl:ObjectProperty ;
rdfs:label "has part"^^xsd:string .
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has part"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
owl:inverseOf ep-core:partOf .
ep-core:hasTemporalPart
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "has temporal part"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:hasPart ;
owl:inverseOf ep-core:partOf .
ep-core:name
rdf:type owl:DatatypeProperty ;
rdfs:label "name"^^xsd:string ;
rdfs:range xsd:string .
ep-core:partOf
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "part of"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
owl:inverseOf ep-core:hasPart .
ep-core:temporalPartOf
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "temporal part of"^^xsd:string ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-core:hasPart ;
owl:inverseOf ep-core:hasTemporalPart .
......
# Saved by TopBraid on Sun Aug 07 12:55:41 PDT 2011
# Saved by TopBraid on Tue Aug 09 15:41:34 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/equipment
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/schema/1.1/core
@prefix : <http://www.reportinghub.no/ep/schema/equipment#> .
......@@ -10,17 +9,15 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
rdfs:comment "Equivalent to ISO 15926-2 Possible Individual - DL"^^xsd:string .
<http://www.reportinghub.no/ep/schema/equipment>
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-eqt:Equipment
rdf:type owl:Class ;
rdfs:label "Equipment"^^xsd:string ;
rdfs:subClassOf owl:Thing .
ep-eqt:Rig
rdf:type owl:Class ;
rdfs:label "Rig"^^xsd:string ;
rdfs:subClassOf ep-eqt:Equipment .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
......
# Saved by TopBraid on Sun Aug 07 12:55:41 PDT 2011
# Saved by TopBraid on Tue Aug 09 15:08:18 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/well
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/schema/1.1/core
@prefix : <http://www.reportinghub.no/ep/schema/well#> .
......@@ -12,12 +11,13 @@
<http://www.reportinghub.no/ep/schema/well>
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-well:AllOrPartOfTheLifeOfAWellBore
rdf:type owl:Class ;
rdfs:label "all or part of the life of a well bore"^^xsd:string .
rdfs:label "all or part of the life of a well bore"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
ep-well:TemporalPartOfAWellBore
rdf:type owl:Class ;
......@@ -27,16 +27,16 @@ ep-well:TemporalPartOfAWellBore
ep-well:Well
rdf:type owl:Class ;
rdfs:label "Well"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
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 Sun Aug 07 12:55:42 PDT 2011
# Saved by TopBraid on Tue Aug 09 14:47:57 BST 2011
# baseURI: http://www.reportinghub.no/ep/spin/ddr-constraints
# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/1.1/schema/npd
@prefix : <http://www.reportinghub.no/ep/spin/ddr-constraints#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -26,7 +26,7 @@
sp:elements ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#name> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/schema/npd#WellBore> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b2
])
......@@ -37,7 +37,7 @@
<http://www.reportinghub.no/ep/spin/ddr-constraints>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://www.reportinghub.no/1.1/schema/npd> ;
owl:imports <http://www.reportinghub.no/1.1/schema/npd> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
......
# Saved by TopBraid on Sun Aug 07 12:55:42 PDT 2011
# Saved by TopBraid on Tue Aug 09 14:47:57 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Mon Aug 08 17:04:22 BST 2011
# Saved by TopBraid on Tue Aug 09 15:05:12 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
# imports: http://www.reportinghub.no/ep/schema/1.1/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/equipment
# imports: http://spinrdf.org/spin
......@@ -158,7 +157,7 @@
sp:predicate rdf:type ;
sp:subject _:b25
] [ sp:object _:b25 ;
sp:predicate iso15926:hasPart ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject _:b26
] [ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ;
......@@ -170,7 +169,7 @@
sp:predicate rdf:type ;
sp:subject _:b29
] [ sp:object _:b30 ;
sp:predicate iso15926:temporalPartOf ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b29
] [ sp:object _:b29 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
......@@ -234,101 +233,101 @@
<http://www.reportinghub.no/ep/transform/1.1/ddr/activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.1/activity-purpose> , <http://www.reportinghub.no/iso15926/bindEP-NativeOWL> ;
owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.1/activity-purpose> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b4 sp:varName "activity"^^xsd:string .
_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b5 sp:varName "index"^^xsd:string .
_:b7 sp:varName "proprietaryCode"^^xsd:string .
_:b6 sp:varName "dTimStartPart"^^xsd:string .
_:b7 sp:varName "proprietaryCode"^^xsd:string .
_:b5 sp:varName "index"^^xsd:string .
_:b8 sp:varName "normalizedWellBoreName"^^xsd:string .
_:b4 sp:varName "activity"^^xsd:string .
_:b3 sp:varName "nameWellBore"^^xsd:string .
_:b2 sp:varName "partActivity"^^xsd:string .
_:b1 sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b17
sp:varName "md"^^xsd:string .
_:b16
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b18
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b15
sp:varName "partActivity"^^xsd:string .
_:b19
sp:varName "nameWellBore"^^xsd:string .
_:b14
sp:varName "dTimStartPart"^^xsd:string .
_:b20
_:b13
sp:varName "index"^^xsd:string .
_:b12
sp:varName "activity"^^xsd:string .
_:b21
sp:varName "index"^^xsd:string .
_:b11
sp:varName "nameWellBore"^^xsd:string .
_:b22
sp:varName "dTimStartPart"^^xsd:string .
_:b10
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b23
sp:varName "partActivity"^^xsd:string .
_:b9 sp:varName "tvd"^^xsd:string .
_:b24
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b9 sp:varName "tvd"^^xsd:string .
_:b23
sp:varName "partActivity"^^xsd:string .
_:b10
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b22
sp:varName "dTimStartPart"^^xsd:string .
_:b11
sp:varName "nameWellBore"^^xsd:string .
_:b21
sp:varName "index"^^xsd:string .
_:b12
_:b20
sp:varName "activity"^^xsd:string .
_:b13
sp:varName "index"^^xsd:string .
_:b19
sp:varName "nameWellBore"^^xsd:string .
_:b14
sp:varName "dTimStartPart"^^xsd:string .
_:b18
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b15
sp:varName "partActivity"^^xsd:string .
_:b17
sp:varName "md"^^xsd:string .
_:b16
_:b35
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
sp:varName "partActivity"^^xsd:string .
_:b26
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b34
sp:varName "index"^^xsd:string .
_:b27
sp:varName "dTimStartPart"^^xsd:string .
_:b33
sp:varName "activity"^^xsd:string .
_:b28
sp:varName "dTimEndPart"^^xsd:string .
_:b32
sp:varName "dTimStart"^^xsd:string .
_:b29
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b31
sp:varName "nameWellBore"^^xsd:string .
_:b30
sp:varName "wellBore"^^xsd:string .
_:b31
sp:varName "nameWellBore"^^xsd:string .
_:b29
sp:varName "temporalPartOfAWellBore"^^xsd:string .
_:b32
sp:varName "dTimStart"^^xsd:string .
_:b28
sp:varName "dTimEndPart"^^xsd:string .
_:b33
sp:varName "activity"^^xsd:string .
_:b27
sp:varName "dTimStartPart"^^xsd:string .
_:b34
sp:varName "index"^^xsd:string .
_:b26
sp:varName "dailyDrillingActivity"^^xsd:string .
_:b35
sp:varName "normalizedWellBoreName"^^xsd:string .
_:b25
sp:varName "partActivity"^^xsd:string .
......
# Saved by TopBraid on Mon Aug 08 14:39:37 BST 2011
# Saved by TopBraid on Tue Aug 09 15:44:24 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Mon Aug 08 17:06:00 BST 2011
# Saved by TopBraid on Tue Aug 09 15:10:29 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo
# imports: http://spinrdf.org/spin
......@@ -20,7 +19,7 @@
<http://www.reportinghub.no/ep/transform/1.1/normalization>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
owl:Thing
......
# Saved by TopBraid on Mon Aug 08 17:06:00 BST 2011
# Saved by TopBraid on Tue Aug 09 15:10:29 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Mon Aug 08 14:39:30 BST 2011
# Saved by TopBraid on Tue Aug 09 14:36:52 BST 2011
# baseURI: http://www.reportinghub.no/iso15926/bindEP-NativeOWL
# imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
......@@ -18,9 +18,6 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore>
rdfs:subClassOf iso15926:PossibleIndividual .
<http://www.reportinghub.no/iso15926/bindEP-NativeOWL>
rdf:type owl:Ontology ;
owl:imports <http://purl.org/dc/elements/1.1/> , <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> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
......
# Saved by TopBraid on Fri Aug 05 15:03:26 BST 2011
# Saved by TopBraid on Tue Aug 09 15:00:49 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
# imports: http://www.reportinghub.no/ep/schema/1.1/core
# imports: http://purl.org/dc/terms/
@prefix : <http://www.reportinghub.no/iso15926/nativeOWL#> .
......@@ -10,48 +11,48 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<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: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:comment "something that exists or could exist in the universe"^^xsd:string ;
rdfs:label "possible individual"^^xsd:string ;
rdfs:subClassOf owl:Thing .
:hasPart
<http://www.reportinghub.no/ep/schema/core#hasPart>
rdf:type owl:TransitiveProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "has part"^^xsd:string ;
rdfs:range :PossibleIndividual ;
owl:inverseOf :partOf .
owl:inverseOf <http://www.reportinghub.no/ep/schema/core#partOf> .
:hasTemporalPart
<http://www.reportinghub.no/ep/schema/core#hasTemporalPart>
rdf:type owl:TransitiveProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "has temporal part"^^xsd:string ;
rdfs:range :PossibleIndividual ;
rdfs:subPropertyOf :hasPart ;
owl:inverseOf :temporalPartOf .
rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> ;
owl:inverseOf <http://www.reportinghub.no/ep/schema/core#temporalPartOf> .
:partOf
<http://www.reportinghub.no/ep/schema/core#partOf>
rdf:type owl:ObjectProperty , owl:TransitiveProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "part of"^^xsd:string ;
rdfs:range :PossibleIndividual ;
owl:inverseOf :hasPart .
owl:inverseOf <http://www.reportinghub.no/ep/schema/core#hasPart> .
:temporalPartOf
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
rdf:type owl:ObjectProperty , owl:TransitiveProperty ;
rdfs:domain :PossibleIndividual ;
rdfs:label "temporal part of"^^xsd:string ;
rdfs:range :PossibleIndividual ;
rdfs:subPropertyOf :partOf ;
owl:inverseOf :hasTemporalPart .
rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#partOf> ;
owl:inverseOf <http://www.reportinghub.no/ep/schema/core#hasTemporalPart> .
<http://www.reportinghub.no/iso15926/nativeOWL>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> , <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:comment "something that exists or could exist in the universe"^^xsd:string ;
rdfs:label "possible individual"^^xsd:string ;
rdfs:subClassOf owl:Thing .
......
# Saved by TopBraid on Thu Aug 04 09:37:09 BST 2011
# Saved by TopBraid on Tue Aug 09 14:48:52 BST 2011
# baseURI: http://www.reportinghub.no/1.1/schema/NPD-to-15926
# imports: http://topbraid.org/spin/spinmapl
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://spinrdf.org/spin
# imports: http://rds.posccaesar.org/2008/06/OWL/RDL
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
......@@ -22,7 +22,7 @@
<http://www.reportinghub.no/1.1/schema/NPD-to-15926>
rdf:type owl:Ontology ;
owl:imports <http://rds.posccaesar.org/2008/06/OWL/RDL> , <http://www.reportinghub.no/1.1/schema/npd> , <http://topbraid.org/spin/spinmapl> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> , <http://www.reportinghub.no/1.1/schema/npd> , <http://rds.posccaesar.org/2008/06/OWL/RDL> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
npdMap:ClassifyArrangedIndividual
......@@ -227,13 +227,7 @@ npdMap:Licence_1
rdf:type npd:Licence ;
npd:id "ABC123"^^xsd:string .
npd:NpdIndividual
spin:rule
[ rdf:type npdMap:CreateIndividualWithNPDID ;
sp:arg1 "\"Individual\""^^xsd:string
] .
npd:WellBore
<http://www.reportinghub.no/ep/schema/well#WellBore>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """This rule creates the WellBore and Well and joins them up using a composition relationship (dm:ArrangementOfIndividual)
......@@ -296,6 +290,12 @@ Note that because it uses the same URI production rule as other functions, we do
[ rdf:type npdMap:ClassifyArrangedIndividual
] .
npd:NpdIndividual
spin:rule
[ rdf:type npdMap:CreateIndividualWithNPDID ;
sp:arg1 "\"Individual\""^^xsd:string
] .
npd:WellBore_1
npd:drilledInProductionLicence
npdMap:Licence_1 .
......@@ -303,7 +303,7 @@ npd:WellBore_1
npd:wellDiskosType
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to DISKOS Type field in WellBore tables"^^xsd:string ;
rdfs:domain npd:Well ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:range xsd:string .
_:b13
......
# Saved by TopBraid on Tue Aug 09 15:37:11 BST 2011
# baseURI: http://www.reportinghub.no/spin/rh
# imports: http://spinrdf.org/spin
# imports: http://topbraid.org/spin/spinmapl
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://spinrdf.org/spin
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -76,7 +77,7 @@ rhspin:GetWellBoresOfWell
[ rdf:type spl:Argument ;
rdfs:comment "The Well to get the bores of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#well> ;
spl:valueType <http://www.reportinghub.no/schema/npd#Well>
spl:valueType <http://www.reportinghub.no/ep/schema/well#Well>
] .
rhspin:baaById
......@@ -181,9 +182,9 @@ rhspin:companyHasLicenceForWellBore
[ rdf:type spl:Argument ;
rdfs:comment "The Company to match."^^xsd:string ;
spl:predicate sp:arg1 ;
spl:valueType <http://www.reportinghub.no/schema/npd#Company>
spl:valueType <http://www.reportinghub.no/ep/schema/organization#Company>
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#WellBore> .
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:discoveryById
rdf:type spin:Function ;
......@@ -385,7 +386,7 @@ rhspin:parentCompanyByName
spl:predicate <http://spinrdf.org/arg#name> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#WellBore> .
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:tufById
rdf:type spin:Function ;
......@@ -440,7 +441,7 @@ rhspin:wellBoreByName
spl:predicate <http://spinrdf.org/arg#wellBoreName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#WellBore> .
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:wellByName
rdf:type spin:Function ;
......@@ -466,46 +467,46 @@ rhspin:wellByName
spl:predicate <http://spinrdf.org/arg#wellName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#Well> .
spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> .
_:b3 sp:varName "wellBore"^^xsd:string .
_:b1 sp:varName "wellBoreName"^^xsd:string .
_:b8 sp:varName "endDate"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
_:b7 sp:varName "startDate"^^xsd:string .
_:b3 sp:varName "wellBore"^^xsd:string .
_:b6 sp:varName "licence"^^xsd:string .
_:b4 sp:varName "nowDate"^^xsd:string .
_:b5 sp:varName "share"^^xsd:string .
_:b4 sp:varName "nowDate"^^xsd:string .
_:b6 sp:varName "licence"^^xsd:string .
_:b17
sp:varName "t4"^^xsd:string .
_:b7 sp:varName "startDate"^^xsd:string .
_:b16
sp:varName "t3"^^xsd:string .
_:b8 sp:varName "endDate"^^xsd:string .
_:b15
sp:varName "t2"^^xsd:string .
_:b9 sp:varName "normalizedStr"^^xsd:string .
_:b14
sp:varName "t1"^^xsd:string .
_:b10
sp:varName "s1"^^xsd:string .
_:b13
sp:varName "t0b"^^xsd:string .
_:b11
sp:varName "s2"^^xsd:string .
_:b12
sp:varName "t0a"^^xsd:string .
_:b11
sp:varName "s2"^^xsd:string .
_:b13
sp:varName "t0b"^^xsd:string .
_:b10
sp:varName "s1"^^xsd:string .
_:b14
sp:varName "t1"^^xsd:string .
_:b9 sp:varName "normalizedStr"^^xsd:string .
_:b15
sp:varName "t2"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
_:b16
sp:varName "t3"^^xsd:string .
_:b1 sp:varName "wellBoreName"^^xsd:string .
_:b17
sp:varName "t4"^^xsd:string .
......
# Saved by TopBraid on Tue Aug 09 15:37:11 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# Saved by TopBraid on Tue Aug 09 15:36:54 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......@@ -12,11 +13,11 @@
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "1"^^xsd:int
composite:index "0"^^xsd:int
] ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
composite:index "1"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean ;
......