Holger Knublauch

Renaming from 1.1 to 1.0

NPD namespace changes
UI progress
# baseURI: http://www.energistics.org/schemas/abstract
# imports: http://www.linkedmodel.org/schema/dtype
# imports: http://www.linkedmodel.org/schema/vaem
@prefix abstract: <http://www.energistics.org/schemas/abstract#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dtype: <http://www.linkedmodel.org/schema/dtype#> .
@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 skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix vaem: <http://www.linkedmodel.org/schema/vaem#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
dc:description
rdfs:label "description"^^xsd:string .
<http://www.energistics.org/schemas/abstract>
rdf:type owl:Ontology ;
owl:imports <http://www.linkedmodel.org/schema/vaem> , <http://www.linkedmodel.org/schema/dtype> ;
owl:versionInfo "Created with TopBraid Composer from the XML Schema http://www.energistics.org/schemas/abstract"^^xsd:string .
abstract:AbstractContextualObject
rdf:type owl:Class ;
rdfs:label "Abstract contextual object"^^xsd:string ;
rdfs:subClassOf abstract:AbstractObject ;
dc:description "Substitution group for contextual objects."^^xsd:string .
abstract:AbstractDataObject
rdf:type owl:Class ;
rdfs:label "Abstract data object"^^xsd:string ;
rdfs:subClassOf abstract:AbstractObject ;
dc:description "Substitution group for normative data objects."^^xsd:string .
abstract:AbstractObject
rdf:type owl:Class ;
rdfs:label "Abstract object"^^xsd:string ;
dc:description """The intended abstract supertype of all schema roots
that may be a member of a substitution group (whether contextual or data).
The type of root global elements should be extended from this type and the
root global element should be declared to be a member of one of the above substitution groups."""^^xsd:string .
skos:prefLabel
rdf:type owl:AnnotationProperty ;
rdfs:label "pref label"^^xsd:string .
# Saved by TopBraid on Mon Aug 08 15:10:22 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.1/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.1/activity
# imports: http://purl.org/dc/elements/1.1/
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://spinrdf.org/spin
# imports: http://purl.org/dc/terms/
@prefix : <http://www.reportinghub.no/ep/schema/1.1/activity-purpose#> .
@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 sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.1/activity-purpose>
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> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1/activity> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
:DailyDrillingActivityPurposeType
rdf:type rdfs:Class ;
rdfs:label "daily drilling activity purpose type"^^xsd:string ;
rdfs:subClassOf owl:Class .
:Completion--bopwellheadequipment
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--circulatingconditioning
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--completionstring
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--flow
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--hydraulicworkover
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--mill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--perforate
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--sandcontrol
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--stimulate
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--testscsssv
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Completion--wireline
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--bopactivities
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--bopwellheadequipment
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--casing
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--circulatingconditioning
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--drill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--drive
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--holeopen
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--mill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--pressuredetection
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--ream
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--survey
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--trip
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--underream
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Drilling--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--circulatingconditioning
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--circulationsamples
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--core
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--drillstemtest
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--log
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--productiontest
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--rftfit
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--trip
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Formationevaluation--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--fish
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--lostcirculation
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--maintain
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--mill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--repair
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--sidetrack
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--waitingonweather
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Interruption--wellcontrol
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Moving--anchor
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Moving--jack
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Moving--position
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Moving--skid
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Moving--transit
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--cementplug
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--circulatingconditioning
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--cut
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--equipmentrecovery
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--mechanicalplug
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--mill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--perforate
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--squeeze
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--trip
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Plugabandon--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--bopwellheadequipment
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--circulatingconditioning
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--completionstring
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--flow
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--hydraulicworkover
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--mill
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--other
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--perforate
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--rigupdown
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--sandcontrol
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--stimulate
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--testscsssv
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--wait
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
:Workover--wireline
rdf:type :DailyDrillingActivityPurposeType ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> .
# 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
# imports: http://www.reportinghub.no/ep/schema/equipment
# imports: http://www.reportinghub.no/ep/schema/1.1/core
# imports: http://www.reportinghub.no/ep/schema/well
@prefix : <http://www.reportinghub.no/ep/schema/1.1/activity#> .
@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
@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/activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.reportinghub.no/ep/schema/1.1/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-activity:Activity
rdf:type owl:Class ;
rdfs:label "Activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:finishedAt
] ;
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>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
] .
ep-activity:DailyDrillingActivity
rdf:type owl:Class ;
rdfs:label "Daily drilling activity"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
owl:onProperty ep-activity:onWellBore
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
] .
ep-activity:DailyDrillingReportFinalisationType
rdf:type rdfs:Class ;
rdfs:label "daily drilling report finalisation type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-activity:DailyProductionActivity
rdf:type owl:Class ;
rdfs:label "Daily production activity"^^xsd:string ;
rdfs:subClassOf ep-activity:ProductionActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:ProductionActivity ;
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:Drill-bypass
rdf:type ep-activity:WellBoreDrillingType ;
rdfs:label "drill bypass"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:Drill-initial
rdf:type ep-activity:WellBoreDrillingType ;
rdfs:label "drill initial"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:Drill-re-entry
rdf:type ep-activity:WellBoreDrillingType ;
rdfs:label "drill re-entry"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:Drill-re-spud
rdf:type ep-activity:WellBoreDrillingType ;
rdfs:label "drill re-spud"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:Drill-redrill
rdf:type ep-activity:WellBoreDrillingType ;
rdfs:label "redrill"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:Drill-sidetrack
rdf:type ep-activity:WellBoreDrillingType ;
rdfs:label "drill sidetrack"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity
rdf:type owl:Class ;
rdfs:label "Drilling activity"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:FormationIntegrityTest
rdf:type owl:Class , ep-activity:PressureTestType ;
rdfs:label "formation integrity test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:LeakOffTest .
ep-activity:LeakOffTest
rdf:type owl:Class , ep-activity:PressureTestType ;
rdfs:label "leak-off test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:FormationIntegrityTest .
ep-activity:MonthlyDrillingActivity
rdf:type owl:Class ;
rdfs:label "Weekly drilling activity"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:WeeklyDrillingActivity ;
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:MonthlyProductionActivity
rdf:type owl:Class ;
rdfs:label "Monthly production activity"^^xsd:string ;
rdfs:subClassOf ep-activity:ProductionActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:WeeklyProductionActivity ;
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:OffshoreActivity
rdf:type owl:Class ;
rdfs:label "Offshore activity"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:OffshoreWellActivity
rdf:type owl:Class ;
rdfs:label "Offshore well activity"^^xsd:string ;
rdfs:subClassOf ep-activity:OffshoreActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onWell
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onRig
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
owl:onProperty ep-activity:onWell
] .
ep-activity:PressureTestType
rdf:type rdfs:Class ;
rdfs:label "pressure test type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-activity:ProductionActivity
rdf:type owl:Class ;
rdfs:label "Production activity"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:WeeklyDrillingActivity
rdf:type owl:Class ;
rdfs:label "Weekly drilling activity"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DailyDrillingActivity ;
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:WeeklyProductionActivity
rdf:type owl:Class ;
rdfs:label "Weekly production activity"^^xsd:string ;
rdfs:subClassOf ep-activity:ProductionActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DailyProductionActivity ;
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:WellBoreDrillingType
rdf:type rdfs:Class ;
rdfs:label "well bore drilling type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-activity:WellBorePressureTest
rdf:type owl:Class ;
rdfs:label "well bore pressure test"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity .
ep-activity:createdAt
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "created at"^^xsd:string ;
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:finishedAt
rdf:type owl:DatatypeProperty ;
rdfs:label "finished at"^^xsd:string ;
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:hasSubActivity
rdf:type owl:ObjectProperty ;
rdfs:label "has sub activity"^^xsd:string .
ep-activity:onRig
rdf:type owl:ObjectProperty ;
rdfs:label "on rig"^^xsd:string .
ep-activity:onWell
rdf:type owl:ObjectProperty ;
rdfs:label "on well"^^xsd:string .
ep-activity:onWellBore
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "on WellBore"^^xsd:string .
ep-activity:reportOn
rdf:type owl:ObjectProperty ;
rdfs:label "report on"^^xsd:string .
ep-activity:startedAt
rdf:type owl:DatatypeProperty ;
rdfs:label "started at"^^xsd:string ;
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:wellBoreDrillingType
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "has sub activity"^^xsd:string ;
rdfs:range ep-activity:WellBoreDrillingType ;
rdfs:subPropertyOf rdf:type .
<http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
rdf:type ep-activity:DailyDrillingReportFinalisationType .
<http://www.reportinghub.no/ep/schema/report#NormalDailyDrillingReport>
rdf:type ep-activity:DailyDrillingReportFinalisationType .
<http://www.reportinghub.no/ep/schema/report#PreliminaryDailyDrillingReport>
rdf:type ep-activity:DailyDrillingReportFinalisationType .
# 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
@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#> .
@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/core>
rdf:type owl:Ontology ;
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:ObjectProperty , owl:TransitiveProperty ;
rdfs:label "derived from"^^xsd:string .
ep-core:hasPart
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 .
This diff could not be displayed because it is too large.
# 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/core
@prefix : <http://www.reportinghub.no/ep/schema/equipment#> .
@prefix ep-eqt: <http://www.reportinghub.no/ep/schema/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/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/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-eqt:Equipment
rdf:type owl:Class ;
rdfs:label "Equipment"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
# Saved by TopBraid on Tue Aug 09 14:35:50 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/facility
# imports: http://purl.org/dc/elements/1.1/
# imports: http://www.reportinghub.no/ep/schema/1.1/core
# imports: http://spinrdf.org/spin
# imports: http://purl.org/dc/terms/
@prefix : <http://www.reportinghub.no/ep/schema/facility#> .
@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 sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/facility>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.1/core> , <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
:Facility
rdf:type owl:Class ;
rdfs:label "facility"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
:FixedFacility
rdf:type owl:DeprecatedClass ;
rdfs:subClassOf :Facility .
:MoveableFacility
rdf:type owl:Class ;
rdfs:subClassOf :Facility .
:Rig rdf:type owl:Class ;
rdfs:subClassOf :Facility .
:SubSurfaceFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf :FixedFacility .
:SurfaceFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf :FixedFacility .
# baseURI: http://www.reportinghub.no/ep/schema/organization
# imports: http://purl.org/dc/elements/1.1/
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.1/core
@prefix ep-org: <http://www.reportinghub.no/ep/schema/organization#> .
@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 sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/organization>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://purl.org/dc/elements/1.1/> , <http://www.reportinghub.no/ep/schema/1.1/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-org:Company
rdf:type owl:Class ;
rdfs:label "Company"^^xsd:string ;
rdfs:subClassOf ep-org:Organization .
ep-org:Organization
rdf:type owl:Class ;
rdfs:label "organization"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
# Saved by TopBraid on Mon Aug 08 14:39:14 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/report
# 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/report#> .
@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/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: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 Tue Jul 26 01:03:35 CEST 2011
# baseURI: http://www.reportinghub.no/1.1/schema/epvv
# imports: http://www.linkedmodel.org/1.2/schema/vaem
# imports: http://www.reportinghub.no/1.1/schema/epa
# imports: http://www.linkedmodel.org/1.0/schema/dtype
# imports: http://spinrdf.org/spin
@prefix dtype: <http://www.linkedmodel.org/schema/dtype#> .
@prefix epvv: <http://www.reportinghub.no/schema/epvv#> .
@prefix epvv-1.1: <http://www.reportinghub.no/1.1/schema/epvv#> .
@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 sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/1.1/schema/epvv>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/1.1/schema/epa> , <http://www.linkedmodel.org/1.0/schema/dtype> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://spinrdf.org/spin> ;
owl:versionInfo "TBD by RH"^^xsd:string .
epvv:Discrepancy
rdf:type owl:Class ;
rdfs:label "Discrepancy"^^xsd:string ;
rdfs:subClassOf owl:Thing .
epvv:ET_InvalidAttributeValue
rdf:type epvv:ErrorType ;
rdfs:label "invalid attribute value"^^xsd:string ;
dtype:value "invalid attribute value"^^xsd:string .
epvv:ET_InvalidEndTime
rdf:type epvv:EnumeratedValue ;
rdfs:label "Invalid end time"^^xsd:string .
epvv:ET_InvalidEnumeratedValue
rdf:type epvv:ErrorType ;
rdfs:label "invalid enumerated value"^^xsd:string ;
dtype:value "invalid enumerated value"^^xsd:string .
epvv:ET_InvalidStartTime
rdf:type epvv:EnumeratedValue ;
rdfs:label "Invalid start time"^^xsd:string .
epvv:ET_MissingAttribute
rdf:type epvv:ErrorType ;
rdfs:label "missing attribute"^^xsd:string ;
dtype:value "missing attribute"^^xsd:string .
epvv:ET_TotalTimeLessThanReportingPeriod
rdf:type epvv:EnumeratedValue ;
rdfs:label "total time is less than reporting period"^^xsd:string .
epvv:ET_TotalTimeMoreThanReportingPeriod
rdf:type epvv:EnumeratedValue ;
rdfs:label "total time is more than reporting period"^^xsd:string .
epvv:EnumeratedValue
rdf:type owl:Class ;
rdfs:label "Enumerated value"^^xsd:string ;
rdfs:subClassOf dtype:EnumeratedValue .
epvv:ErrorType
rdf:type owl:Class ;
rdfs:label "Error type"^^xsd:string ;
rdfs:subClassOf epvv:EnumeratedValue .
epvv:Subject
rdf:type owl:Class ;
rdfs:label "Source location"^^xsd:string ;
rdfs:subClassOf owl:Thing .
epvv:WarningType
rdf:type owl:Class ;
rdfs:label "Warning type"^^xsd:string ;
rdfs:subClassOf epvv:EnumeratedValue .
epvv:hasSubject
rdf:type owl:ObjectProperty ;
rdfs:label "has subject"^^xsd:string .
epvv:lineNumber
rdf:type owl:DatatypeProperty ;
rdfs:label "line number"^^xsd:string ;
rdfs:range xsd:integer .
# 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/core
@prefix : <http://www.reportinghub.no/ep/schema/well#> .
@prefix ep-well: <http://www.reportinghub.no/ep/schema/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/well>
rdf:type owl:Ontology ;
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:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
ep-well:TemporalPartOfAWellBore
rdf:type owl:Class ;
rdfs:label "temporal part of a well bore"^^xsd:string ;
rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore .
ep-well:Well
rdf:type owl:Class ;
rdfs:label "Well"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-well:WellBore ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#name>
] .
ep-well:WellBore
rdf:type owl:Class ;
rdfs:label "well bore"^^xsd:string ;
rdfs:subClassOf ep-well:AllOrPartOfTheLifeOfAWellBore ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/ep/schema/core#name>
] .
# 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://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#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:constraint
[ rdf:type sp:Ask ;
rdfs:comment "Unregistered well bore name"^^xsd:string ;
sp:where ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ rdf:type sp:NotExists ;
sp:elements ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#name> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b2
])
]) ;
sp:graphNameNode <https://www.reportinghub.no/ep/data/npd>
])
] .
<http://www.reportinghub.no/ep/spin/ddr-constraints>
rdf:type owl:Ontology ;
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 .
_:b1 sp:varName "nameWellbore"^^xsd:string .
# baseURI: http://www.reportinghub.no/ep/spin/ddr-constraints
# imports: http://spinrdf.org/spin
# 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/npd/1.1/schema
@prefix : <http://www.reportinghub.no/ep/spin/ddr-constraints#> .
@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 sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
spin:constraint
[ rdf:type sp:Ask ;
rdfs:comment "Unregistered well bore name"^^xsd:string ;
sp:where ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ rdf:type sp:NotExists ;
sp:elements ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/npd/schema#name> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject _:b2
])
]) ;
sp:graphNameNode <https://www.reportinghub.no/ep/data/npd>
])
] .
<http://www.reportinghub.no/ep/spin/ddr-constraints>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/npd/1.1/schema> , <http://www.reportinghub.no/ep/schema/1.1/activity> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b1 sp:varName "nameWellbore"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
......
# Saved by TopBraid on Tue Aug 09 14:47:57 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@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 visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@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 visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
......
# baseURI: http://www.reportinghub.no/examples/npdi
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://www.reportinghub.no/npd/1.1/schema
@prefix : <http://www.reportinghub.no/examples/npdi#> .
@prefix npd: <http://www.reportinghub.no/schema/npd#> .
......@@ -11,5 +11,5 @@
<http://www.reportinghub.no/examples/npdi>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/1.1/schema/npd> ;
owl:imports <http://www.reportinghub.no/npd/1.1/schema> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# 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://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#> .
@prefix dm: <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#> .
@prefix npd: <http://www.reportinghub.no/schema/npd#> .
@prefix npdMap: <http://www.reportinghub.no/1.1/schema/NPD-to-15926#> .
@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 rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> .
@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spif: <http://spinrdf.org/spif#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/1.1/schema/NPD-to-15926>
rdf:type owl:Ontology ;
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
rdf:type spin:ConstructTemplate ;
# baseURI: http://www.reportinghub.no/1.1/schema/NPD-to-15926
# imports: http://rds.posccaesar.org/2008/06/OWL/RDL
# imports: http://spinrdf.org/spin
# imports: http://topbraid.org/spin/spinmapl
# imports: http://www.reportinghub.no/npd/1.1/schema
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix dm: <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#> .
@prefix npd: <http://www.reportinghub.no/schema/npd#> .
@prefix npdMap: <http://www.reportinghub.no/1.1/schema/NPD-to-15926#> .
@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 rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> .
@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spif: <http://spinrdf.org/spif#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/1.1/schema/NPD-to-15926>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/npd/1.1/schema> , <http://rds.posccaesar.org/2008/06/OWL/RDL> , <http://topbraid.org/spin/spinmapl> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
npdMap:ClassifyArrangedIndividual
rdf:type spin:ConstructTemplate ;
rdfs:comment """?AI is the Arranged_Individual that is the wellbore
?AIClsn is the classification relationship from ?ai to the RDL entry for Wellbore - RDS1714464911"""^^xsd:string ;
rdfs:subClassOf spin:ConstructTemplates ;
spin:body
[ rdf:type sp:Construct ;
?AIClsn is the classification relationship from ?ai to the RDL entry for Wellbore - RDS1714464911"""^^xsd:string ;
rdfs:subClassOf spin:ConstructTemplates ;
spin:body
[ rdf:type sp:Construct ;
rdfs:comment """?AI is the Arranged_Individual that is the wellbore
?AIClsn is the classification relationship from ?ai to the RDL entry referred to by arg1"""^^xsd:string ;
sp:templates ([ sp:object dm:ArrangedIndividual ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object dm:Classification ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate dm:hasClassified ;
sp:subject _:b2
] [ sp:object spin:_arg1 ;
sp:predicate dm:hasClassifier ;
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b3 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "npdid"^^xsd:string
] ;
sp:predicate npd:id ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression "http://www.reportinghub.no/ep/" ;
sp:variable
[ sp:varName "base"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b3
]
] ;
sp:arg2 "AI-{?npdid}>"
]
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b3
]
] ;
sp:arg2 "AIClsn-{?npdid}>"
]
] ;
sp:variable _:b2
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
spl:predicate sp:arg1 ;
spl:valueType owl:Thing
] ;
?AIClsn is the classification relationship from ?ai to the RDL entry referred to by arg1"""^^xsd:string ;
sp:templates ([ sp:object dm:ArrangedIndividual ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object dm:Classification ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate dm:hasClassified ;
sp:subject _:b2
] [ sp:object spin:_arg1 ;
sp:predicate dm:hasClassifier ;
sp:subject _:b2
]) ;
sp:where ([ sp:object _:b3 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "npdid"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/npd/schema#id> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression "http://www.reportinghub.no/ep/" ;
sp:variable
[ sp:varName "base"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b3
]
] ;
sp:arg2 "AI-{?npdid}>"
]
] ;
sp:variable _:b1
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b3
]
] ;
sp:arg2 "AIClsn-{?npdid}>"
]
] ;
sp:variable _:b2
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
spl:predicate sp:arg1 ;
spl:valueType owl:Thing
] ;
spin:labelTemplate """?AI is the Arranged_Individual that is the wellbore
?AIClsn is the classification relationship from ?ai to the RDL entry referred to by arg1"""^^xsd:string .
npdMap:CreateIndividualWithNPDID
rdf:type spin:ConstructTemplate ;
?AIClsn is the classification relationship from ?ai to the RDL entry referred to by arg1"""^^xsd:string .
npdMap:CreateIndividualWithNPDID
rdf:type spin:ConstructTemplate ;
rdfs:comment """?Arg1 is the type of object - e.g. \"WellBore\", \"Licence\", etc.?AI is the Arranged_Individual
?npdExpStr is the Express_string that holds the NPDID text
?npdCOI is the class of Identification relating ?ai to ?npdExpStr
?npdCOIClsn is classification relationship from ?npdCOI to the RDL entry for NPD Identifier - RDS487765302
?wbIDExpStr is the Express_string that holds the wellbore id code
?wbCOI is the class of Identification relating ?ai to ?wbIDExpStr
?wbIDCOIClsn is classification relationship from ?wbCOI to the RDL entry for wellbore identification code - RDS16622067"""^^xsd:string ;
rdfs:subClassOf spin:ConstructTemplates ;
spin:body
[ rdf:type sp:Construct ;
?wbIDCOIClsn is classification relationship from ?wbCOI to the RDL entry for wellbore identification code - RDS16622067"""^^xsd:string ;
rdfs:subClassOf spin:ConstructTemplates ;
spin:body
[ rdf:type sp:Construct ;
rdfs:comment """?Arg1 is the type of object - e.g. \"WellBore\", \"Licence\", etc.
?AI is the Arranged_Individual
?npdExpStr is the Express_string that holds the NPDID text
......@@ -117,221 +116,222 @@ npdMap:CreateIndividualWithNPDID
?npdCOIClsn is classification relationship from ?npdCOI to the RDL entry for NPD Identifier - RDS487765302
?wbIDExpStr is the Express_string that holds the wellbore id code
?wbCOI is the class of Identification relating ?ai to ?wbIDExpStr
?wbIDCOIClsn is classification relationship from ?wbCOI to the RDL entry for wellbore identification code - RDS16622067"""^^xsd:string ;
sp:templates ([ sp:object dm:ArrangedIndividual ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object dm:ClassOfIdentification ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b4 ;
sp:predicate dm:hasRepresented ;
sp:subject _:b5
] [ sp:object dm:ExpressString ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b6 ;
sp:predicate dm:hasPattern ;
sp:subject _:b5
] [ sp:object dm:Classification ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b5 ;
sp:predicate dm:hasClassified ;
sp:subject _:b7
] [ sp:object rdl:RDS487765302 ;
sp:predicate dm:hasClassifier ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate dm:hasContent ;
sp:subject _:b6
]) ;
sp:where ([ sp:object _:b8 ;
sp:predicate npd:id ;
sp:subject spin:_this
] [ sp:object _:b9 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression "http://www.reportinghub.no/ep/" ;
sp:variable
[ sp:varName "base"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b9
]
] ;
sp:arg2 "AI-{?npdid}>"
]
] ;
sp:variable _:b4
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b9
]
] ;
sp:arg2 "CoINPDID-{?npdid}>"
]
] ;
sp:variable _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b9
]
] ;
sp:arg2 "CoINPDIDClsn-{?npdid}>"
]
] ;
sp:variable _:b7
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b9
]
] ;
sp:arg2 "NPDIDExpressString-{?npdid}>"
]
] ;
sp:variable _:b6
])
] ;
?wbIDCOIClsn is classification relationship from ?wbCOI to the RDL entry for wellbore identification code - RDS16622067"""^^xsd:string ;
sp:templates ([ sp:object dm:ArrangedIndividual ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object dm:ClassOfIdentification ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b4 ;
sp:predicate dm:hasRepresented ;
sp:subject _:b5
] [ sp:object dm:ExpressString ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b6 ;
sp:predicate dm:hasPattern ;
sp:subject _:b5
] [ sp:object dm:Classification ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b5 ;
sp:predicate dm:hasClassified ;
sp:subject _:b7
] [ sp:object rdl:RDS487765302 ;
sp:predicate dm:hasClassifier ;
sp:subject _:b7
] [ sp:object _:b8 ;
sp:predicate dm:hasContent ;
sp:subject _:b6
]) ;
sp:where ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/npd/schema#id> ;
sp:subject spin:_this
] [ sp:object _:b9 ;
sp:predicate rdf:type ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression "http://www.reportinghub.no/ep/" ;
sp:variable
[ sp:varName "base"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b9
]
] ;
sp:arg2 "AI-{?npdid}>"
]
] ;
sp:variable _:b4
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b9
]
] ;
sp:arg2 "CoINPDID-{?npdid}>"
]
] ;
sp:variable _:b5
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b9
]
] ;
sp:arg2 "CoINPDIDClsn-{?npdid}>"
]
] ;
sp:variable _:b7
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 [ rdf:type sp:add ;
sp:arg1 "<{?base}" ;
sp:arg2 [ rdf:type afn:localname ;
sp:arg1 _:b9
]
] ;
sp:arg2 "NPDIDExpressString-{?npdid}>"
]
] ;
sp:variable _:b6
])
] ;
spin:labelTemplate """?AI is the Arranged_Individual that is the wellbore
?npdExpStr is the Express_string that holds the NPDID text
?npdCOI is the class of Identification relating ?ai to ?npdExpStr
?npdCOIClsn is classification relationship from ?npdCOI to the RDL entry for NPD Identifier - RDS487765302
?wbIDExpStr is the Express_string that holds the wellbore id code
?wbCOI is the class of Identification relating ?ai to ?wbIDExpStr
?wbIDCOIClsn is classification relationship from ?wbCOI to the RDL entry for wellbore identification code - RDS16622067"""^^xsd:string .
npdMap:Licence_1
rdf:type npd:Licence ;
npd:id "ABC123"^^xsd:string .
<http://www.reportinghub.no/ep/schema/well#WellBore>
spin:rule
[ rdf:type sp:Construct ;
?wbIDCOIClsn is classification relationship from ?wbCOI to the RDL entry for wellbore identification code - RDS16622067"""^^xsd:string .
npdMap:Licence_1
rdf:type <http://www.reportinghub.no/npd/schema#Licence> ;
<http://www.reportinghub.no/npd/schema#id>
"ABC123"^^xsd:string .
<http://www.reportinghub.no/ep/schema/well#WellBore>
spin:rule
[ rdf:type npdMap:ClassifyArrangedIndividual
] ;
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)
Note that because it uses the same URI production rule as other functions, we don't get repeated instances of the Well and WellBore...hopefully"""^^xsd:string ;
sp:templates ([ sp:object dm:ArrangedIndividual ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object dm:ArrangedIndividual ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object dm:ArrangementOfIndividual ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object _:b11 ;
sp:predicate dm:hasWhole ;
sp:subject _:b12
] [ sp:object _:b10 ;
sp:predicate dm:hasPart ;
sp:subject _:b12
]) ;
sp:where ([ sp:object
[ sp:varName "npdid"^^xsd:string
] ;
sp:predicate npd:id ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate npd:partOfWell ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate npd:name ;
sp:subject _:b13
] [ rdf:type sp:Bind ;
sp:expression "http://www.reportinghub.no/ep/" ;
sp:variable
[ sp:varName "base"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 "<{?base}WellAI-{?wellName}>"
] ;
sp:variable _:b11
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 "<{?base}WellBoreAI-{?npdid}>"
] ;
sp:variable _:b10
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 "<{?base}WellBoreComposition-{?npdid}>"
] ;
sp:variable _:b12
])
] ;
spin:rule
[ 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 .
npd:wellDiskosType
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to DISKOS Type field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:range xsd:string .
_:b13
sp:varName "well"^^xsd:string .
_:b12
sp:varName "wellBoreComp"^^xsd:string .
_:b11
sp:varName "wellAI"^^xsd:string .
_:b10
sp:varName "wellBoreAI"^^xsd:string .
_:b9 sp:varName "npdType"^^xsd:string .
_:b8 sp:varName "npdid"^^xsd:string .
_:b7 sp:varName "npdCOIClsn"^^xsd:string .
_:b6 sp:varName "npdExpStr"^^xsd:string .
_:b5 sp:varName "npdCOI"^^xsd:string .
_:b4 sp:varName "AI"^^xsd:string .
_:b3 sp:varName "npdType"^^xsd:string .
_:b2 sp:varName "AIClsn"^^xsd:string .
_:b1 sp:varName "AI"^^xsd:string .
Note that because it uses the same URI production rule as other functions, we don't get repeated instances of the Well and WellBore...hopefully"""^^xsd:string ;
sp:templates ([ sp:object dm:ArrangedIndividual ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object dm:ArrangedIndividual ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object dm:ArrangementOfIndividual ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object _:b11 ;
sp:predicate dm:hasWhole ;
sp:subject _:b12
] [ sp:object _:b10 ;
sp:predicate dm:hasPart ;
sp:subject _:b12
]) ;
sp:where ([ sp:object
[ sp:varName "npdid"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/npd/schema#id> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate <http://www.reportinghub.no/npd/schema#partOfWell> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/npd/schema#name> ;
sp:subject _:b13
] [ rdf:type sp:Bind ;
sp:expression "http://www.reportinghub.no/ep/" ;
sp:variable
[ sp:varName "base"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 "<{?base}WellAI-{?wellName}>"
] ;
sp:variable _:b11
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 "<{?base}WellBoreAI-{?npdid}>"
] ;
sp:variable _:b10
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 "<{?base}WellBoreComposition-{?npdid}>"
] ;
sp:variable _:b12
])
] .
<http://www.reportinghub.no/npd/schema#NPDIndividual>
spin:rule
[ rdf:type npdMap:CreateIndividualWithNPDID ;
sp:arg1 "\"Individual\""^^xsd:string
] .
npd:WellBore_1
<http://www.reportinghub.no/npd/schema#drilledInProductionLicence>
npdMap:Licence_1 .
npd:wellDiskosType
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to DISKOS Type field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:range xsd:string .
_:b1 sp:varName "AI"^^xsd:string .
_:b2 sp:varName "AIClsn"^^xsd:string .
_:b3 sp:varName "npdType"^^xsd:string .
_:b4 sp:varName "AI"^^xsd:string .
_:b5 sp:varName "npdCOI"^^xsd:string .
_:b6 sp:varName "npdExpStr"^^xsd:string .
_:b7 sp:varName "npdCOIClsn"^^xsd:string .
_:b8 sp:varName "npdid"^^xsd:string .
_:b9 sp:varName "npdType"^^xsd:string .
_:b10
sp:varName "wellBoreAI"^^xsd:string .
_:b11
sp:varName "wellAI"^^xsd:string .
_:b12
sp:varName "wellBoreComp"^^xsd:string .
_:b13
sp:varName "well"^^xsd:string .
......
# Saved by TopBraid on Tue Aug 09 15:35:38 BST 2011
# baseURI: http://www.reportinghub.no/1.1/schema/npd
# imports: http://www.reportinghub.no/ep/schema/organization
# imports: http://www.reportinghub.no/ep/schema/facility
# imports: http://www.reportinghub.no/ep/schema/well
@prefix facility: <http://www.reportinghub.no/ep/schema/facility#> .
@prefix npd: <http://www.reportinghub.no/schema/npd#> .
@prefix organization: <http://www.reportinghub.no/ep/schema/organization#> .
@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 rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/1.1/schema/npd>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/organization> , <http://www.reportinghub.no/ep/schema/facility> , <http://www.reportinghub.no/ep/schema/well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
rdf:type owl:Class ;
rdfs:comment "An individual (cringe) that has temporal extent. If Matthew and Chris ever found out about this, they'd string me up. - IB"^^xsd:string .
facility:Facility
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual .
facility:FixedFacility
rdf:type owl:Class ;
rdfs:comment "'Permanently placed facility' is a generic term for all facilities that are placed on a field permanently. Floating production facilities, which in principle are mobile, come under this definition as they are meant to be permanently placed on the field."^^xsd:string ;
rdfs:subClassOf facility:Facility .
facility:MoveableFacility
rdf:type owl:Class ;
rdfs:comment "Mobile facilities are facilities not meant to be permanently placed on the field during the lifetime of the field, for example mobile drilling units."^^xsd:string ;
rdfs:subClassOf facility:Facility .
facility:SubSurfaceFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf facility:FixedFacility .
facility:SurfaceFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf facility:FixedFacility .
organization:Company
rdf:type owl:Class ;
rdfs:subClassOf npd:Individual .
<http://www.reportinghub.no/ep/schema/well#Well>
rdf:type owl:Class ;
rdfs:comment "Wells are referred to by name in the NPD datasheets, but there is not specific dataset for them, nor do they have NPDIDs. It is assumed that Wells may have more than one WellBore, but usually only have one. Wells belong to Fields, it would seem, but again the data is patchy."^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
<http://www.reportinghub.no/ep/schema/well#WellBore>
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual , <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> .
npd:BusinessArrangementArea
rdf:type owl:Class ;
rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NpdIndividual , npd:Owner .
npd:DAS_DecidedByTheLicensees
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "decided by the licensees"@en ;
npd:code "DECIDED BY THE LICENSEES"^^xsd:string .
npd:DAS_DevelopmentIsNotVeryLikely
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "development is not very likely"@en ;
npd:code "DEVELOPMENT IS NOT VERY LIKELY"^^xsd:string .
npd:DAS_DevelopmentLikelyButNotClarified
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "development likely but not clarified"@en ;
npd:code "DEVELOPMENT LIKELY BUT NOT CLARIFIED"^^xsd:string .
npd:DAS_IncludedInOtherDiscovery
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "included in other discovery"@en ;
npd:code "INCLUDED IN OTHER DISCOVERY"^^xsd:string .
npd:DAS_NewDiscoveriesNotEvaluated
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "new discoveries, not evaluated"@en ;
npd:code "NEW DISCOVERIES, NOT EVALUATED"^^xsd:string .
npd:DAS_PDOApproved
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "PDO approved"@en ;
npd:code "PDO APPROVED"^^xsd:string .
npd:DAS_PlanningPhase
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "planning phase"@en ;
npd:code "PLANNING PHASE"^^xsd:string .
npd:DAS_Producing
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "producing"@en ;
npd:code "PRODUCING"^^xsd:string .
npd:DAS_ShutDown
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:DAS_Unknown
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "unknown"@en ;
npd:code "?"^^xsd:string .
npd:DWBP_Injection
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "injection"@en ;
npd:code "INJECTION"^^xsd:string .
npd:DWBP_Observation
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "observation"@en ;
npd:code "OBSERVATION"^^xsd:string .
npd:DWBP_Production
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "production"@en ;
npd:code "PRODUCTION"^^xsd:string .
npd:DevelopmentWellBorePurpose
rdf:type owl:Class ;
rdfs:label "Development well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:WellBorePurpose ;
owl:oneOf (npd:DWBP_Injection npd:DWBP_Observation npd:DWBP_Production) .
npd:Discovery
rdf:type owl:Class ;
rdfs:comment "A discovery is a petroleum deposit or several petroleum deposits collectively, which have been discovered in the same well, in which through testing, sampling or logging there has been established a probability of the existence of mobile petroleum (includes both commercial and technical discovery)."^^xsd:string ;
rdfs:subClassOf npd:NpdIndividual .
npd:DiscoveryActivityStatus
rdf:type owl:Class ;
rdfs:label "Discovery activity status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:DAS_Unknown npd:DAS_PlanningPhase npd:DAS_IncludedInOtherDiscovery npd:DAS_PDOApproved npd:DAS_ShutDown npd:DAS_DevelopmentLikelyButNotClarified npd:DAS_DecidedByTheLicensees npd:DAS_DevelopmentIsNotVeryLikely npd:DAS_NewDiscoveriesNotEvaluated npd:DAS_Producing) .
npd:EWBP_Appraisal
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "appraisal"@en ;
npd:code "APPRAISAL"^^xsd:string .
npd:EWBP_Wildcat
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "wildcat"@en ;
npd:code "WILDCAT"^^xsd:string .
npd:EWBP_Wildcat-Appraisal
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "wildcat & appraisal"@en ;
npd:code "WILDCAT&APPRAISAL"^^xsd:string .
npd:Enumeration
rdf:type owl:Class ;
rdfs:label "Enumeration"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty npd:code
] .
npd:ExplorationWellBorePurpose
rdf:type owl:Class ;
rdfs:label "Exploration well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:WellBorePurpose ;
owl:oneOf (npd:EWBP_Appraisal npd:EWBP_Wildcat-Appraisal npd:EWBP_Wildcat) .
npd:FAS_PDOApproved
rdf:type npd:FieldActivityStatus ;
rdfs:label "PDO approved"@en ;
npd:code "PDO APPROVED"^^xsd:string .
npd:FAS_Producing
rdf:type npd:FieldActivityStatus ;
rdfs:label "producing"@en ;
npd:code "PRODUCING"^^xsd:string .
npd:FAS_ShutDown
rdf:type npd:FieldActivityStatus ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:FFP_Decommissioned
rdf:type npd:FixedFacilityPhase ;
rdfs:label "decommissioned"@en ;
npd:code "DECOMMISSIONED"^^xsd:string .
npd:FFP_DisposalCompleted
rdf:type npd:FixedFacilityPhase ;
rdfs:label "disposal completed"@en ;
npd:code "DISPOSAL COMPLETED"^^xsd:string .
npd:FFP_Fabrication
rdf:type npd:FixedFacilityPhase ;
rdfs:label "fabrication"@en ;
npd:code "FABRICATION"^^xsd:string .
npd:FFP_Future
rdf:type npd:FixedFacilityPhase ;
rdfs:label "future"@en ;
npd:code "FUTURE"^^xsd:string .
npd:FFP_InService
rdf:type npd:FixedFacilityPhase ;
rdfs:label "in service"@en ;
npd:code "IN SERVICE"^^xsd:string .
npd:FFP_Installation
rdf:type npd:FixedFacilityPhase ;
rdfs:label "installation"@en ;
npd:code "INSTALLATION"^^xsd:string .
npd:FFP_PartlyRemoved
rdf:type npd:FixedFacilityPhase ;
rdfs:label "partly removed"@en ;
npd:code "PARTLY REMOVED"^^xsd:string .
npd:FFP_Removal
rdf:type npd:FixedFacilityPhase ;
rdfs:label "removal"@en ;
npd:code "REMOVAL"^^xsd:string .
npd:FFP_Removed
rdf:type npd:FixedFacilityPhase ;
rdfs:label "removed"@en ;
npd:code "REMOVED"^^xsd:string .
npd:FFP_ShutDown
rdf:type npd:FixedFacilityPhase ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:Field
rdf:type owl:Class ;
# baseURI: http://www.reportinghub.no/npd/1.1/schema
# imports: http://www.reportinghub.no/ep/schema/facility
# imports: http://www.reportinghub.no/ep/schema/organization
# imports: http://www.reportinghub.no/ep/schema/well
@prefix facility: <http://www.reportinghub.no/ep/schema/facility#> .
@prefix npd: <http://www.reportinghub.no/npd/schema#> .
@prefix organization: <http://www.reportinghub.no/ep/schema/organization#> .
@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 rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
rdf:type owl:Class ;
rdfs:comment "An individual (cringe) that has temporal extent. If Matthew and Chris ever found out about this, they'd string me up. - IB"^^xsd:string .
facility:Facility
rdf:type owl:Class ;
rdfs:subClassOf npd:NPDIndividual .
facility:FixedFacility
rdf:type owl:Class ;
rdfs:comment "'Permanently placed facility' is a generic term for all facilities that are placed on a field permanently. Floating production facilities, which in principle are mobile, come under this definition as they are meant to be permanently placed on the field."^^xsd:string ;
rdfs:subClassOf facility:Facility .
facility:MoveableFacility
rdf:type owl:Class ;
rdfs:comment "Mobile facilities are facilities not meant to be permanently placed on the field during the lifetime of the field, for example mobile drilling units."^^xsd:string ;
rdfs:subClassOf facility:Facility .
facility:SubSurfaceFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf facility:FixedFacility .
facility:SurfaceFixedFacility
rdf:type owl:Class ;
rdfs:subClassOf facility:FixedFacility .
organization:Company
rdfs:subClassOf npd:Individual .
<http://www.reportinghub.no/ep/schema/well#Well>
rdf:type owl:Class ;
rdfs:comment "Wells are referred to by name in the NPD datasheets, but there is not specific dataset for them, nor do they have NPDIDs. It is assumed that Wells may have more than one WellBore, but usually only have one. Wells belong to Fields, it would seem, but again the data is patchy."^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
<http://www.reportinghub.no/ep/schema/well#WellBore>
rdf:type owl:Class ;
rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> .
<http://www.reportinghub.no/npd/1.1/schema>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/well> , <http://www.reportinghub.no/ep/schema/facility> , <http://www.reportinghub.no/ep/schema/organization> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
npd:BusinessArrangementArea
rdf:type owl:Class ;
rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ;
rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:Owner .
npd:DAS_DecidedByTheLicensees
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "decided by the licensees"@en ;
npd:code "DECIDED BY THE LICENSEES"^^xsd:string .
npd:DAS_DevelopmentIsNotVeryLikely
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "development is not very likely"@en ;
npd:code "DEVELOPMENT IS NOT VERY LIKELY"^^xsd:string .
npd:DAS_DevelopmentLikelyButNotClarified
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "development likely but not clarified"@en ;
npd:code "DEVELOPMENT LIKELY BUT NOT CLARIFIED"^^xsd:string .
npd:DAS_IncludedInOtherDiscovery
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "included in other discovery"@en ;
npd:code "INCLUDED IN OTHER DISCOVERY"^^xsd:string .
npd:DAS_NewDiscoveriesNotEvaluated
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "new discoveries, not evaluated"@en ;
npd:code "NEW DISCOVERIES, NOT EVALUATED"^^xsd:string .
npd:DAS_PDOApproved
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "PDO approved"@en ;
npd:code "PDO APPROVED"^^xsd:string .
npd:DAS_PlanningPhase
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "planning phase"@en ;
npd:code "PLANNING PHASE"^^xsd:string .
npd:DAS_Producing
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "producing"@en ;
npd:code "PRODUCING"^^xsd:string .
npd:DAS_ShutDown
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:DAS_Unknown
rdf:type npd:DiscoveryActivityStatus ;
rdfs:label "unknown"@en ;
npd:code "?"^^xsd:string .
npd:DWBP_Injection
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "injection"@en ;
npd:code "INJECTION"^^xsd:string .
npd:DWBP_Observation
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "observation"@en ;
npd:code "OBSERVATION"^^xsd:string .
npd:DWBP_Production
rdf:type npd:DevelopmentWellBorePurpose ;
rdfs:label "production"@en ;
npd:code "PRODUCTION"^^xsd:string .
npd:DevelopmentWellBorePurpose
rdf:type owl:Class ;
rdfs:label "Development well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:WellBorePurpose ;
owl:oneOf (npd:DWBP_Injection npd:DWBP_Observation npd:DWBP_Production) .
npd:Discovery
rdf:type owl:Class ;
rdfs:comment "A discovery is a petroleum deposit or several petroleum deposits collectively, which have been discovered in the same well, in which through testing, sampling or logging there has been established a probability of the existence of mobile petroleum (includes both commercial and technical discovery)."^^xsd:string ;
rdfs:subClassOf npd:NPDIndividual .
npd:DiscoveryActivityStatus
rdf:type owl:Class ;
rdfs:label "Discovery activity status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:DAS_Unknown npd:DAS_PlanningPhase npd:DAS_IncludedInOtherDiscovery npd:DAS_PDOApproved npd:DAS_ShutDown npd:DAS_DevelopmentLikelyButNotClarified npd:DAS_DecidedByTheLicensees npd:DAS_DevelopmentIsNotVeryLikely npd:DAS_NewDiscoveriesNotEvaluated npd:DAS_Producing) .
npd:EWBP_Appraisal
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "appraisal"@en ;
npd:code "APPRAISAL"^^xsd:string .
npd:EWBP_Wildcat
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "wildcat"@en ;
npd:code "WILDCAT"^^xsd:string .
npd:EWBP_Wildcat-Appraisal
rdf:type npd:ExplorationWellBorePurpose ;
rdfs:label "wildcat & appraisal"@en ;
npd:code "WILDCAT&APPRAISAL"^^xsd:string .
npd:Enumeration
rdf:type owl:Class ;
rdfs:label "Enumeration"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty npd:code
] .
npd:ExplorationWellBorePurpose
rdf:type owl:Class ;
rdfs:label "Exploration well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:WellBorePurpose ;
owl:oneOf (npd:EWBP_Appraisal npd:EWBP_Wildcat-Appraisal npd:EWBP_Wildcat) .
npd:FAS_PDOApproved
rdf:type npd:FieldActivityStatus ;
rdfs:label "PDO approved"@en ;
npd:code "PDO APPROVED"^^xsd:string .
npd:FAS_Producing
rdf:type npd:FieldActivityStatus ;
rdfs:label "producing"@en ;
npd:code "PRODUCING"^^xsd:string .
npd:FAS_ShutDown
rdf:type npd:FieldActivityStatus ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:FFP_Decommissioned
rdf:type npd:FixedFacilityPhase ;
rdfs:label "decommissioned"@en ;
npd:code "DECOMMISSIONED"^^xsd:string .
npd:FFP_DisposalCompleted
rdf:type npd:FixedFacilityPhase ;
rdfs:label "disposal completed"@en ;
npd:code "DISPOSAL COMPLETED"^^xsd:string .
npd:FFP_Fabrication
rdf:type npd:FixedFacilityPhase ;
rdfs:label "fabrication"@en ;
npd:code "FABRICATION"^^xsd:string .
npd:FFP_Future
rdf:type npd:FixedFacilityPhase ;
rdfs:label "future"@en ;
npd:code "FUTURE"^^xsd:string .
npd:FFP_InService
rdf:type npd:FixedFacilityPhase ;
rdfs:label "in service"@en ;
npd:code "IN SERVICE"^^xsd:string .
npd:FFP_Installation
rdf:type npd:FixedFacilityPhase ;
rdfs:label "installation"@en ;
npd:code "INSTALLATION"^^xsd:string .
npd:FFP_PartlyRemoved
rdf:type npd:FixedFacilityPhase ;
rdfs:label "partly removed"@en ;
npd:code "PARTLY REMOVED"^^xsd:string .
npd:FFP_Removal
rdf:type npd:FixedFacilityPhase ;
rdfs:label "removal"@en ;
npd:code "REMOVAL"^^xsd:string .
npd:FFP_Removed
rdf:type npd:FixedFacilityPhase ;
rdfs:label "removed"@en ;
npd:code "REMOVED"^^xsd:string .
npd:FFP_ShutDown
rdf:type npd:FixedFacilityPhase ;
rdfs:label "shut down"@en ;
npd:code "SHUT DOWN"^^xsd:string .
npd:Field
rdf:type owl:Class ;
rdfs:comment """A field is a discovery or several discoveries combined which the licensees have decided to develop, and for which the authorities have approved a plan for development and operation (PDO) or granted a PDO exemption.
A field may have several Wells, however this information is not presented directly in the NPD data. Each Well usually has one (occasionally more than one) WellBore, and so in order to ascertain what field the Well is in, we have to infer it from the related WellBore table. Unfortunately, the Field column is not always populated, so sometimes the Field can only be inferred from the License, which usually corresponds to a Field.
NOTE: Wells do not have NPDIDs"""^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:FieldActivityStatus
rdf:type owl:Class ;
rdfs:label "Field activity status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:FAS_PDOApproved npd:FAS_Producing npd:FAS_ShutDown) .
npd:FieldPart
rdf:type owl:Class ;
rdfs:comment "A part of a Field"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:FixedFacilityParent
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual .
npd:FixedFacilityPhase
rdf:type owl:Class ;
rdfs:label "Fixed facility phase"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:FFP_Fabrication npd:FFP_PartlyRemoved npd:FFP_DisposalCompleted npd:FFP_ShutDown npd:FFP_Decommissioned npd:FFP_Removal npd:FFP_Removed npd:FFP_Installation npd:FFP_InService npd:FFP_Future) .
npd:HCT_Gas
rdf:type npd:HCType ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:HCT_Gas-Condensate
rdf:type npd:HCType ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:HCT_Oil
rdf:type npd:HCType ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:HCT_Oil-Gas
rdf:type npd:HCType ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:HCType
rdf:type owl:Class ;
rdfs:label "HCType"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:HCT_Gas-Condensate npd:HCT_Oil-Gas npd:HCT_Gas npd:HCT_Oil) .
npd:Individual
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing .
npd:LS_Active
rdf:type npd:LicenseStatus ;
rdfs:label "active"@en ;
npd:code "ACTIVE"^^xsd:string .
npd:LS_Inactive
rdf:type npd:LicenseStatus ;
rdfs:label "inactive"@en ;
npd:code "INACTIVE"^^xsd:string .
npd:Licence
rdf:type owl:Class ;
rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NpdIndividual , npd:Owner .
npd:LicenseStatus
rdf:type owl:Class ;
rdfs:label "License status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:LS_Active npd:LS_Inactive) .
npd:MNA_BarentsSea
rdf:type npd:MainNCSArea ;
rdfs:label "Barents sea"@en ;
npd:code "Barents sea"^^xsd:string .
npd:MNA_NorthSea
rdf:type npd:MainNCSArea ;
rdfs:label "North sea"@en ;
npd:code "North sea"^^xsd:string .
npd:MNA_NorwegianSea
rdf:type npd:MainNCSArea ;
rdfs:label "Norwegian sea"@en ;
npd:code "Norwegian sea"^^xsd:string .
npd:MainNCSArea
rdf:type owl:Class ;
rdfs:label "Main NCS Area"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:MNA_NorthSea npd:MNA_NorwegianSea npd:MNA_BarentsSea) .
npd:NpdIndividual
rdf:type owl:Class ;
rdfs:subClassOf npd:Individual .
npd:OperatingCompany
rdf:type owl:Class ;
rdfs:subClassOf organization:Company , npd:NpdIndividual .
npd:Owner
rdf:type owl:Class ;
rdfs:comment "Supertype of BAA and License - i.e. anything that can own a Field"^^xsd:string ;
rdfs:subClassOf npd:Individual .
npd:ParcellBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:ParentCompany
rdf:type owl:Class ;
rdfs:subClassOf organization:Company .
npd:SeismicAreaBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:Share
rdf:type owl:Class ;
rdfs:comment "A company's share in something - e.g. a BAA or a License"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> .
npd:ShareOfBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:Share .
npd:ShareOfLicence
rdf:type owl:Class ;
rdfs:comment "A class that relates a Company to a Licence it has been granted."^^xsd:string ;
rdfs:subClassOf npd:Share .
npd:SlidingScaleBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:TUF
rdf:type owl:Class ;
rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ;
rdfs:subClassOf facility:Facility , npd:FixedFacilityParent .
npd:TufPart
rdf:type owl:Class ;
rdfs:comment "A part of a TUF"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:UnitizedBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:WBC_CO2
rdf:type npd:WellBoreContent ;
rdfs:label "CO2"@en ;
npd:code "CO2"^^xsd:string .
npd:WBC_Cuttings
rdf:type npd:WellBoreContent ;
rdfs:label "cuttings"@en ;
npd:code "CUTTINGS"^^xsd:string .
npd:WBC_Gas
rdf:type npd:WellBoreContent ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:WBC_Gas-Condensate
rdf:type npd:WellBoreContent ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:WBC_NotApplicable
rdf:type npd:WellBoreContent ;
rdfs:label "not applicable"@en ;
npd:code "NOT APPLICABLE"^^xsd:string .
npd:WBC_NotAvailable
rdf:type npd:WellBoreContent ;
rdfs:label "not available"@en ;
npd:code "NOT AVAILABLE"^^xsd:string .
npd:WBC_Oil
rdf:type npd:WellBoreContent ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:WBC_Oil-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:WBC_Water
rdf:type npd:WellBoreContent ;
rdfs:label "water"@en ;
npd:code "WATER"^^xsd:string .
npd:WBC_Water-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "water/gas"@en ;
npd:code "WATER/GAS"^^xsd:string .
npd:WellBoreContent
rdf:type owl:Class ;
rdfs:label "Well bore content"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:WBC_Water-Gas npd:WBC_Water npd:WBC_Gas npd:WBC_Gas-Condensate npd:WBC_NotAvailable npd:WBC_Cuttings npd:WBC_Oil npd:WBC_NotApplicable npd:WBC_Oil-Gas npd:WBC_CO2) .
npd:WellBorePurpose
rdf:type owl:Class ;
rdfs:label "Well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:Enumeration .
npd:baaShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfBAA ;
rdfs:range npd:BusinessArrangementArea .
npd:belongsTo
rdf:type owl:ObjectProperty ;
rdfs:domain facility:FixedFacility ;
rdfs:range npd:FixedFacilityParent .
npd:code
rdf:type owl:DatatypeProperty ;
rdfs:comment "Identifier of enumerated resources (control vocabularies). Can be used to match against string values in databases etc."^^xsd:string ;
rdfs:label "code"^^xsd:string .
npd:companyShortName
rdf:type owl:DatatypeProperty ;
rdfs:domain organization:Company ;
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:currentActivityStatus
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Field ;
rdfs:range npd:FieldActivityStatus .
npd:currentOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Current Operator field in fixed facility tables"^^xsd:string ;
rdfs:domain facility:FixedFacility ;
rdfs:range organization:Company .
npd:currentlyResponsibleCompany
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Currently Reponsible Company field in moveable facility tables"^^xsd:string ;
rdfs:domain facility:MoveableFacility ;
rdfs:range organization:Company .
npd:discoveryCurrentActivityStatus
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:DiscoveryActivityStatus .
npd:discoveryField
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Field NPDID field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Field .
npd:discoveryHCType
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:HCType .
npd:discoveryMainNcsArea
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:MainNCSArea .
npd:discoveryOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Operator field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range organization:Company .
npd:discoveryOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in NPD Discovery table (see also Owner Kind)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Owner .
npd:discoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> .
npd:discoveryYear
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:integer .
npd:drilledInProductionLicence
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production Licence field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:Licence .
npd:drillingFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production License field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range facility:Facility .
npd:drillingOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilling Operator field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range organization:Company .
npd:endDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "The date at which an individual ceases to exist"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:range xsd:date .
npd:facilityKind
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ;
rdfs:domain facility:Facility ;
rdfs:range xsd:string .
npd:fieldDiscoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Field table "^^xsd:string ;
rdfs:domain npd:Field ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> .
npd:fieldOperator
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Field ;
rdfs:range organization:Company .
npd:fieldOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "The owner column in the NPD Field table may correspond to a BAA or a License, as indicated by the Owner Kind column"^^xsd:string ;
rdfs:domain npd:Field ;
rdfs:range npd:Owner .
npd:fixedFacilityPhase
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to Phase field in fixed facility tables"^^xsd:string ;
rdfs:domain facility:FixedFacility ;
rdfs:range npd:FixedFacilityPhase .
npd:id
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:NpdIndividual ;
rdfs:range xsd:string .
npd:licenceShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfLicence ;
rdfs:range npd:Licence .
npd:licenseStatus
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to the Status field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range npd:LicenseStatus .
npd:licensingActivity
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to the licensing activity field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range xsd:string .
npd:name
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Individual ;
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:organisationNumber
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:label "organisation number"^^xsd:string ;
rdfs:range xsd:string .
npd:parentCompany
rdf:type owl:ObjectProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:range npd:ParentCompany .
npd:partOfField
rdf:type owl:ObjectProperty ;
rdfs:domain npd:FieldPart ;
rdfs:range npd:Field .
npd:partOfTuf
rdf:type owl:ObjectProperty ;
rdfs:domain npd:TufPart ;
rdfs:range npd:TUF .
npd:partOfWell
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#Well> .
npd:percentageOfShare
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Share ;
rdfs:range xsd:float .
npd:productionFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Production Facility field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range facility:Facility .
npd:shareHolder
rdf:type owl:ObjectProperty ;
rdfs:comment "Equivalent to AwardedTo field in License table"^^xsd:string ;
rdfs:domain npd:Share ;
rdfs:range organization:Company .
npd:startDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "The date at which an individual comes into existance"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:range xsd:date .
npd:wellBoreCompletionDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Completion Date field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:date ;
rdfs:subPropertyOf npd:endDate .
npd:wellBoreContent
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Content field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:WellBoreContent .
npd:wellBoreDrillPermit
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Drill Permit field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:string .
npd:wellBorePurpose
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Purpose field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:WellBorePurpose .
npd:wellBoreType
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Type field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:string .
npd:wellPartOfField
rdf:type owl:ObjectProperty ;
rdfs:comment "A field may have several Wells, however this information is not presented directly in the NPD data. Each Well usually has one (occasionally more than one) WellBore, and so in order to ascertain what field the Well is in, we have to infer it from the related WellBore table. Unfortunately, the Field column is not always populated, so sometimes the Field can only be inferred from the License, which usually corresponds to a Field."^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:range npd:Field .
npd:wellboreOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in WellBore tables - see also Owner Kind"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:Owner .
NOTE: Wells do not have NPDIDs"""^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:FieldActivityStatus
rdf:type owl:Class ;
rdfs:label "Field activity status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:FAS_PDOApproved npd:FAS_Producing npd:FAS_ShutDown) .
npd:FieldPart
rdf:type owl:Class ;
rdfs:comment "A part of a Field"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:FixedFacilityParent
rdf:type owl:Class ;
rdfs:subClassOf npd:NPDIndividual .
npd:FixedFacilityPhase
rdf:type owl:Class ;
rdfs:label "Fixed facility phase"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:FFP_Fabrication npd:FFP_PartlyRemoved npd:FFP_DisposalCompleted npd:FFP_ShutDown npd:FFP_Decommissioned npd:FFP_Removal npd:FFP_Removed npd:FFP_Installation npd:FFP_InService npd:FFP_Future) .
npd:HCT_Gas
rdf:type npd:HCType ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:HCT_Gas-Condensate
rdf:type npd:HCType ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:HCT_Oil
rdf:type npd:HCType ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:HCT_Oil-Gas
rdf:type npd:HCType ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:HCType
rdf:type owl:Class ;
rdfs:label "HCType"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:HCT_Gas-Condensate npd:HCT_Oil-Gas npd:HCT_Gas npd:HCT_Oil) .
npd:Individual
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing .
npd:LS_Active
rdf:type npd:LicenceStatus ;
rdfs:label "active"@en ;
npd:code "ACTIVE"^^xsd:string .
npd:LS_Inactive
rdf:type npd:LicenceStatus ;
rdfs:label "inactive"@en ;
npd:code "INACTIVE"^^xsd:string .
npd:Licence
rdf:type owl:Class ;
rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ;
rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:Owner .
npd:LicenceStatus
rdf:type owl:Class ;
rdfs:label "Licence status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:LS_Active npd:LS_Inactive) .
npd:MNA_BarentsSea
rdf:type npd:MainNCSArea ;
rdfs:label "Barents sea"@en ;
npd:code "Barents sea"^^xsd:string .
npd:MNA_NorthSea
rdf:type npd:MainNCSArea ;
rdfs:label "North sea"@en ;
npd:code "North sea"^^xsd:string .
npd:MNA_NorwegianSea
rdf:type npd:MainNCSArea ;
rdfs:label "Norwegian sea"@en ;
npd:code "Norwegian sea"^^xsd:string .
npd:MainNCSArea
rdf:type owl:Class ;
rdfs:label "Main NCS Area"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:MNA_NorthSea npd:MNA_NorwegianSea npd:MNA_BarentsSea) .
npd:NPDIndividual
rdf:type owl:Class ;
rdfs:subClassOf npd:Individual .
npd:OperatingCompany
rdf:type owl:Class ;
rdfs:subClassOf npd:NPDIndividual , organization:Company .
npd:Owner
rdf:type owl:Class ;
rdfs:comment "Supertype of BAA and License - i.e. anything that can own a Field"^^xsd:string ;
rdfs:subClassOf npd:Individual .
npd:ParcellBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:ParentCompany
rdf:type owl:Class ;
rdfs:subClassOf organization:Company .
npd:SeismicAreaBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:Share
rdf:type owl:Class ;
rdfs:comment "A company's share in something - e.g. a BAA or a License"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> .
npd:ShareOfBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:Share .
npd:ShareOfLicence
rdf:type owl:Class ;
rdfs:comment "A class that relates a Company to a Licence it has been granted."^^xsd:string ;
rdfs:subClassOf npd:Share .
npd:SlidingScaleBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:TUF
rdf:type owl:Class ;
rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ;
rdfs:subClassOf facility:Facility , npd:FixedFacilityParent .
npd:TUFPart
rdf:type owl:Class ;
rdfs:comment "A part of a TUF"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
npd:UnitizedBAA
rdf:type owl:Class ;
rdfs:subClassOf npd:BusinessArrangementArea .
npd:WBC_CO2
rdf:type npd:WellBoreContent ;
rdfs:label "CO2"@en ;
npd:code "CO2"^^xsd:string .
npd:WBC_Cuttings
rdf:type npd:WellBoreContent ;
rdfs:label "cuttings"@en ;
npd:code "CUTTINGS"^^xsd:string .
npd:WBC_Gas
rdf:type npd:WellBoreContent ;
rdfs:label "gas"@en ;
npd:code "GAS"^^xsd:string .
npd:WBC_Gas-Condensate
rdf:type npd:WellBoreContent ;
rdfs:label "gas/condensate"@en ;
npd:code "GAS/CONDENSATE"^^xsd:string .
npd:WBC_NotApplicable
rdf:type npd:WellBoreContent ;
rdfs:label "not applicable"@en ;
npd:code "NOT APPLICABLE"^^xsd:string .
npd:WBC_NotAvailable
rdf:type npd:WellBoreContent ;
rdfs:label "not available"@en ;
npd:code "NOT AVAILABLE"^^xsd:string .
npd:WBC_Oil
rdf:type npd:WellBoreContent ;
rdfs:label "oil"@en ;
npd:code "OIL"^^xsd:string .
npd:WBC_Oil-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "oil/gas"@en ;
npd:code "OIL/GAS"^^xsd:string .
npd:WBC_Water
rdf:type npd:WellBoreContent ;
rdfs:label "water"@en ;
npd:code "WATER"^^xsd:string .
npd:WBC_Water-Gas
rdf:type npd:WellBoreContent ;
rdfs:label "water/gas"@en ;
npd:code "WATER/GAS"^^xsd:string .
npd:WellBoreContent
rdf:type owl:Class ;
rdfs:label "Well bore content"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:WBC_Water-Gas npd:WBC_Water npd:WBC_Gas npd:WBC_Gas-Condensate npd:WBC_NotAvailable npd:WBC_Cuttings npd:WBC_Oil npd:WBC_NotApplicable npd:WBC_Oil-Gas npd:WBC_CO2) .
npd:WellBorePurpose
rdf:type owl:Class ;
rdfs:label "Well bore purpose"^^xsd:string ;
rdfs:subClassOf npd:Enumeration .
npd:baaShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfBAA ;
rdfs:range npd:BusinessArrangementArea .
npd:belongsTo
rdf:type owl:ObjectProperty ;
rdfs:domain facility:FixedFacility ;
rdfs:range npd:FixedFacilityParent .
npd:code
rdf:type owl:DatatypeProperty ;
rdfs:comment "Identifier of enumerated resources (control vocabularies). Can be used to match against string values in databases etc."^^xsd:string ;
rdfs:label "code"^^xsd:string .
npd:companyShortName
rdf:type owl:DatatypeProperty ;
rdfs:domain organization:Company ;
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:currentActivityStatus
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Field ;
rdfs:range npd:FieldActivityStatus .
npd:currentOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Current Operator field in fixed facility tables"^^xsd:string ;
rdfs:domain facility:FixedFacility ;
rdfs:range organization:Company .
npd:currentlyResponsibleCompany
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Currently Reponsible Company field in moveable facility tables"^^xsd:string ;
rdfs:domain facility:MoveableFacility ;
rdfs:range organization:Company .
npd:discoveryCurrentActivityStatus
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:DiscoveryActivityStatus .
npd:discoveryField
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Field NPDID field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Field .
npd:discoveryHCType
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:HCType .
npd:discoveryMainNcsArea
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Discovery ;
rdfs:range npd:MainNCSArea .
npd:discoveryOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Operator field in NPD Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range organization:Company .
npd:discoveryOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in NPD Discovery table (see also Owner Kind)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range npd:Owner .
npd:discoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Discovery table (overview)"^^xsd:string ;
rdfs:domain npd:Discovery ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> .
npd:discoveryYear
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Discovery ;
rdfs:range xsd:integer .
npd:drilledInProductionLicence
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production Licence field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:Licence .
npd:drillingFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilled in Production License field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range facility:Facility .
npd:drillingOperator
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Drilling Operator field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range organization:Company .
npd:endDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "The date at which an individual ceases to exist"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:range xsd:date .
npd:facilityKind
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ;
rdfs:domain facility:Facility ;
rdfs:range xsd:string .
npd:fieldDiscoveryWellBore
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Field table "^^xsd:string ;
rdfs:domain npd:Field ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> .
npd:fieldOperator
rdf:type owl:ObjectProperty ;
rdfs:domain npd:Field ;
rdfs:range organization:Company .
npd:fieldOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "The owner column in the NPD Field table may correspond to a BAA or a License, as indicated by the Owner Kind column"^^xsd:string ;
rdfs:domain npd:Field ;
rdfs:range npd:Owner .
npd:fixedFacilityPhase
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to Phase field in fixed facility tables"^^xsd:string ;
rdfs:domain facility:FixedFacility ;
rdfs:range npd:FixedFacilityPhase .
npd:id
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:NPDIndividual ;
rdfs:range xsd:string .
npd:licenceShared
rdf:type owl:ObjectProperty ;
rdfs:domain npd:ShareOfLicence ;
rdfs:range npd:Licence .
npd:licenceStatus
rdf:type owl:ObjectProperty ;
rdfs:comment "corresponds to the Status field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range npd:LicenceStatus .
npd:licensingActivity
rdf:type owl:DatatypeProperty ;
rdfs:comment "corresponds to the licensing activity field in the License table"^^xsd:string ;
rdfs:domain npd:Licence ;
rdfs:range xsd:string .
npd:name
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Individual ;
rdfs:range xsd:string ;
rdfs:subPropertyOf rdfs:label .
npd:organisationNumber
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:label "organisation number"^^xsd:string ;
rdfs:range xsd:string .
npd:parentCompany
rdf:type owl:ObjectProperty ;
rdfs:domain npd:OperatingCompany ;
rdfs:range npd:ParentCompany .
npd:partOfField
rdf:type owl:ObjectProperty ;
rdfs:domain npd:FieldPart ;
rdfs:range npd:Field .
npd:partOfTUF
rdf:type owl:ObjectProperty ;
rdfs:domain npd:TUFPart ;
rdfs:range npd:TUF .
npd:partOfWell
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#Well> .
npd:percentageOfShare
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:Share ;
rdfs:range xsd:float .
npd:productionFacility
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Production Facility field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range facility:Facility .
npd:shareHolder
rdf:type owl:ObjectProperty ;
rdfs:comment "Equivalent to AwardedTo field in License table"^^xsd:string ;
rdfs:domain npd:Share ;
rdfs:range organization:Company .
npd:startDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "The date at which an individual comes into existance"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:range xsd:date .
npd:wellBoreCompletionDate
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Completion Date field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:date ;
rdfs:subPropertyOf npd:endDate .
npd:wellBoreContent
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Content field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:WellBoreContent .
npd:wellBoreDrillPermit
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Drill Permit field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:string .
npd:wellBorePurpose
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Purpose field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:WellBorePurpose .
npd:wellBoreType
rdf:type owl:DatatypeProperty ;
rdfs:comment "Corresponds to Type field in WellBore tables"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range xsd:string .
npd:wellPartOfField
rdf:type owl:ObjectProperty ;
rdfs:comment "A field may have several Wells, however this information is not presented directly in the NPD data. Each Well usually has one (occasionally more than one) WellBore, and so in order to ascertain what field the Well is in, we have to infer it from the related WellBore table. Unfortunately, the Field column is not always populated, so sometimes the Field can only be inferred from the License, which usually corresponds to a Field."^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:range npd:Field .
npd:wellboreOwner
rdf:type owl:ObjectProperty ;
rdfs:comment "Corresponds to Owner field in WellBore tables - see also Owner Kind"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ;
rdfs:range npd:Owner .
......
# Saved by TopBraid on Tue Aug 09 15:37:11 BST 2011
# baseURI: http://www.reportinghub.no/spin/rh
# 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#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spif: <http://spinrdf.org/spif#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://spinrdf.org/arg#company>
rdf:type rdf:Property ;
rdfs:label "company"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#id>
rdf:type rdf:Property ;
rdfs:label "id"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#name>
rdf:type rdf:Property ;
rdfs:label "name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#well>
rdf:type rdf:Property ;
rdfs:label "well"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#wellBoreName>
rdf:type rdf:Property ;
rdfs:label "well bore name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#wellName>
rdf:type rdf:Property ;
rdfs:label "well name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://www.reportinghub.no/spin/rh>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ;
owl:imports <http://topbraid.org/spin/spinmapl> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/1.1/schema/npd> ;
owl:versionInfo "0.1.0"^^xsd:string .
rhspin:GetWellBoresOfWell
rdf:type spin:SelectTemplate ;
rdfs:comment "Gets an ordered list of well bores that belong to a given Well. Result variables are ?wellBore and ?wellBoreName."^^xsd:string ;
rdfs:label "Get well bores of well"^^xsd:string ;
rdfs:subClassOf spin:SelectTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy (_:b1) ;
sp:resultVariables (_:b2 _:b1) ;
sp:where ([ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object
[ sp:varName "well"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/schema/npd#partOfWell> ;
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#name> ;
sp:subject _:b2
]) ;
sp:graphNameNode <https://www.reportinghub.no/data/npd>
])
] ;
spin:constraint
[ 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/ep/schema/well#Well>
] .
rhspin:baaById
rdf:type spin:Function ;
rdfs:label "baa by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/BAA-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the BAA."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:companyById
rdf:type spin:Function ;
rdfs:label "company by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Company-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the company."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:companyHasLicenceForWellBore
rdf:type spin:MagicProperty ;
rdfs:comment "A magic property that defines a relationship between companies (left side) and well bores (right side). It matches those well bores that the company currently holds a licence for. The query is optimized for the direction when the company is given and the well bores variable."^^xsd:string ;
rdfs:label "company has licence for well bore"^^xsd:string ;
rdfs:subClassOf spin:MagicProperties ;
spin:body
[ rdf:type sp:Select ;
sp:distinct "true"^^xsd:boolean ;
sp:resultVariables (_:b3) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:date ;
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ rdf:type sp:now
]
] ;
sp:arg2 1 ;
sp:arg3 10
]
] ;
sp:variable _:b4
] [ sp:object spin:_arg1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#shareHolder> ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/schema/npd#licenceShared> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/schema/npd#LS_Active> ;
sp:predicate <http://www.reportinghub.no/schema/npd#licenseStatus> ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/schema/npd#startDate> ;
sp:subject _:b6
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:le ;
sp:arg1 _:b7 ;
sp:arg2 _:b4
]
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/schema/npd#endDate> ;
sp:subject _:b6
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:gt ;
sp:arg1 _:b8 ;
sp:arg2 _:b4
]
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/schema/npd#drilledInProductionLicence> ;
sp:subject _:b3
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The Company to match."^^xsd:string ;
spl:predicate sp:arg1 ;
spl:valueType <http://www.reportinghub.no/ep/schema/organization#Company>
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:discoveryById
rdf:type spin:Function ;
rdfs:label "discovery by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Discovery-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the Discovery."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:facilityById
rdf:type spin:Function ;
rdfs:label "facility by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Facility-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the facility."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:fieldById
rdf:type spin:Function ;
rdfs:label "field by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Field-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the field."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:licenceById
rdf:type spin:Function ;
rdfs:label "license by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Licence-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The id of the license."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#Licence> .
rhspin:normalizeString
rdf:type spin:Function ;
rdfs:comment "Takes a raw string and \"normalizes\" it, replacing special characters so that they can be used in URIs."^^xsd:string ;
rdfs:label "normalize string"^^xsd:string ;
rdfs:subClassOf spl:StringFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b9) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 spin:_arg1 ;
sp:arg2 "\\((.*)\\)" ;
sp:arg3 ""
] ;
sp:variable _:b10
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:trim ;
sp:arg1 _:b10
] ;
sp:variable _:b11
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:encodeURL ;
sp:arg1 _:b11
] ;
sp:variable _:b12
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b12 ;
sp:arg2 "%2F" ;
sp:arg3 "_"
] ;
sp:variable _:b13
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b13 ;
sp:arg2 "%[0-9A-F][0-9A-F]" ;
sp:arg3 ""
] ;
sp:variable _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b14 ;
sp:arg2 "\\+" ;
sp:arg3 "_"
] ;
sp:variable _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b15 ;
sp:arg2 "_+" ;
sp:arg3 "_"
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b16 ;
sp:arg2 "\\*" ;
sp:arg3 ""
] ;
sp:variable _:b17
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:string ;
sp:arg1 [ rdf:type spif:upperCase ;
sp:arg1 _:b17
]
] ;
sp:variable _:b9
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
spl:predicate sp:arg1 ;
spl:valueType xsd:string
] ;
spin:returnType xsd:string .
rhspin:parentCompanyByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a parent company based on its NPD name."^^xsd:string ;
rdfs:label "parent company by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/ParentCompany-" ;
sp:arg2 [ rdf:type spif:replaceAll ;
sp:arg1 [ sp:varName "name"^^xsd:string
] ;
sp:arg2 " " ;
sp:arg3 "_"
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the parent company to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#name> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:tufById
rdf:type spin:Function ;
rdfs:label "tuf by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/TUF-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the TUF."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:userName
rdf:type spin:Function ;
rdfs:comment "Gets the name of the currently logged in user."^^xsd:string ;
rdfs:label "user name"^^xsd:string ;
rdfs:subClassOf spin:Functions ;
spin:returnType xsd:string .
rhspin:wellBoreByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a well bore based on its NPD name."^^xsd:string ;
rdfs:label "well bore by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/WellBore-" ;
sp:arg2 [ rdf:type rhspin:normalizeString ;
sp:arg1 [ sp:varName "wellBoreName"^^xsd:string
]
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the well bore to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#wellBoreName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:wellByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a well based on its NPD name."^^xsd:string ;
rdfs:label "well by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Well-" ;
sp:arg2 [ rdf:type rhspin:normalizeString ;
sp:arg1 [ sp:varName "wellName"^^xsd:string
]
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the well to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#wellName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> .
_:b1 sp:varName "wellBoreName"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
_:b3 sp:varName "wellBore"^^xsd:string .
_:b4 sp:varName "nowDate"^^xsd:string .
_:b5 sp:varName "share"^^xsd:string .
_:b6 sp:varName "licence"^^xsd:string .
_:b7 sp:varName "startDate"^^xsd:string .
_:b8 sp:varName "endDate"^^xsd:string .
_:b9 sp:varName "normalizedStr"^^xsd:string .
_:b10
sp:varName "s1"^^xsd:string .
_:b11
sp:varName "s2"^^xsd:string .
_:b12
sp:varName "t0a"^^xsd:string .
_:b13
sp:varName "t0b"^^xsd:string .
_:b14
sp:varName "t1"^^xsd:string .
_:b15
sp:varName "t2"^^xsd:string .
_:b16
sp:varName "t3"^^xsd:string .
_:b17
sp:varName "t4"^^xsd:string .
# baseURI: http://www.reportinghub.no/spin/rh
# imports: http://spinrdf.org/spin
# imports: http://topbraid.org/spin/spinmapl
# imports: http://www.reportinghub.no/npd/1.1/schema
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@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 rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spif: <http://spinrdf.org/spif#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://spinrdf.org/arg#company>
rdf:type rdf:Property ;
rdfs:label "company"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#id>
rdf:type rdf:Property ;
rdfs:label "id"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#name>
rdf:type rdf:Property ;
rdfs:label "name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#well>
rdf:type rdf:Property ;
rdfs:label "well"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#wellBoreName>
rdf:type rdf:Property ;
rdfs:label "well bore name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://spinrdf.org/arg#wellName>
rdf:type rdf:Property ;
rdfs:label "well name"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://www.reportinghub.no/spin/rh>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ;
owl:imports <http://www.reportinghub.no/npd/1.1/schema> , <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> ;
owl:versionInfo "0.1.0"^^xsd:string .
rhspin:GetWellBoresOfWell
rdf:type spin:SelectTemplate ;
rdfs:comment "Gets an ordered list of well bores that belong to a given Well. Result variables are ?wellBore and ?wellBoreName."^^xsd:string ;
rdfs:label "Get well bores of well"^^xsd:string ;
rdfs:subClassOf spin:SelectTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy (_:b1) ;
sp:resultVariables (_:b2 _:b1) ;
sp:where ([ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object
[ sp:varName "well"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/npd/schema#partOfWell> ;
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/npd/schema#name> ;
sp:subject _:b2
]) ;
sp:graphNameNode <https://www.reportinghub.no/data/npd>
])
] ;
spin:constraint
[ 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/ep/schema/well#Well>
] .
rhspin:baaById
rdf:type spin:Function ;
rdfs:label "baa by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/BAA-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the BAA."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:companyById
rdf:type spin:Function ;
rdfs:label "company by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Company-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the company."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:companyHasLicenceForWellBore
rdf:type spin:MagicProperty ;
rdfs:comment "A magic property that defines a relationship between companies (left side) and well bores (right side). It matches those well bores that the company currently holds a licence for. The query is optimized for the direction when the company is given and the well bores variable."^^xsd:string ;
rdfs:label "company has licence for well bore"^^xsd:string ;
rdfs:subClassOf spin:MagicProperties ;
spin:body
[ rdf:type sp:Select ;
sp:distinct "true"^^xsd:boolean ;
sp:resultVariables (_:b3) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:date ;
sp:arg1 [ rdf:type fn:substring ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ rdf:type sp:now
]
] ;
sp:arg2 1 ;
sp:arg3 10
]
] ;
sp:variable _:b4
] [ sp:object spin:_arg1 ;
sp:predicate <http://www.reportinghub.no/npd/schema#shareHolder> ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/npd/schema#licenceShared> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/npd/schema#LS_Active> ;
sp:predicate <http://www.reportinghub.no/npd/schema#licenceStatus> ;
sp:subject _:b6
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/npd/schema#startDate> ;
sp:subject _:b6
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:le ;
sp:arg1 _:b7 ;
sp:arg2 _:b4
]
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/npd/schema#endDate> ;
sp:subject _:b6
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:gt ;
sp:arg1 _:b8 ;
sp:arg2 _:b4
]
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/npd/schema#drilledInProductionLicence> ;
sp:subject _:b3
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The Company to match."^^xsd:string ;
spl:predicate sp:arg1 ;
spl:valueType <http://www.reportinghub.no/ep/schema/organization#Company>
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:discoveryById
rdf:type spin:Function ;
rdfs:label "discovery by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Discovery-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the Discovery."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:facilityById
rdf:type spin:Function ;
rdfs:label "facility by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Facility-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the facility."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:fieldById
rdf:type spin:Function ;
rdfs:label "field by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Field-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the field."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:licenceById
rdf:type spin:Function ;
rdfs:label "license by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Licence-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The id of the license."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/npd/schema#Licence> .
rhspin:normalizeString
rdf:type spin:Function ;
rdfs:comment "Takes a raw string and \"normalizes\" it, replacing special characters so that they can be used in URIs."^^xsd:string ;
rdfs:label "normalize string"^^xsd:string ;
rdfs:subClassOf spl:StringFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b9) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 spin:_arg1 ;
sp:arg2 "\\((.*)\\)" ;
sp:arg3 ""
] ;
sp:variable _:b10
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:trim ;
sp:arg1 _:b10
] ;
sp:variable _:b11
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:encodeURL ;
sp:arg1 _:b11
] ;
sp:variable _:b12
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b12 ;
sp:arg2 "%2F" ;
sp:arg3 "_"
] ;
sp:variable _:b13
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b13 ;
sp:arg2 "%[0-9A-F][0-9A-F]" ;
sp:arg3 ""
] ;
sp:variable _:b14
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b14 ;
sp:arg2 "\\+" ;
sp:arg3 "_"
] ;
sp:variable _:b15
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b15 ;
sp:arg2 "_+" ;
sp:arg3 "_"
] ;
sp:variable _:b16
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:regex ;
sp:arg1 _:b16 ;
sp:arg2 "\\*" ;
sp:arg3 ""
] ;
sp:variable _:b17
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:string ;
sp:arg1 [ rdf:type spif:upperCase ;
sp:arg1 _:b17
]
] ;
sp:variable _:b9
])
] ;
spin:constraint
[ rdf:type spl:Argument ;
spl:predicate sp:arg1 ;
spl:valueType xsd:string
] ;
spin:returnType xsd:string .
rhspin:parentCompanyByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a parent company based on its NPD name."^^xsd:string ;
rdfs:label "parent company by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/ParentCompany-" ;
sp:arg2 [ rdf:type spif:replaceAll ;
sp:arg1 [ sp:varName "name"^^xsd:string
] ;
sp:arg2 " " ;
sp:arg3 "_"
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the parent company to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#name> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:tufById
rdf:type spin:Function ;
rdfs:label "tuf by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/TUF-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the TUF."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:userName
rdf:type spin:Function ;
rdfs:comment "Gets the name of the currently logged in user."^^xsd:string ;
rdfs:label "user name"^^xsd:string ;
rdfs:subClassOf spin:Functions ;
spin:returnType xsd:string .
rhspin:wellBoreByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a well bore based on its NPD name."^^xsd:string ;
rdfs:label "well bore by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/WellBore-" ;
sp:arg2 [ rdf:type rhspin:normalizeString ;
sp:arg1 [ sp:varName "wellBoreName"^^xsd:string
]
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the well bore to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#wellBoreName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#WellBore> .
rhspin:wellByName
rdf:type spin:Function ;
rdfs:comment "Gets the URI resource of a well based on its NPD name."^^xsd:string ;
rdfs:label "well by name"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/ep/data/Well-" ;
sp:arg2 [ rdf:type rhspin:normalizeString ;
sp:arg1 [ sp:varName "wellName"^^xsd:string
]
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD name of the well to get the URI of."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#wellName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> .
_:b1 sp:varName "wellBoreName"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
_:b3 sp:varName "wellBore"^^xsd:string .
_:b4 sp:varName "nowDate"^^xsd:string .
_:b5 sp:varName "share"^^xsd:string .
_:b6 sp:varName "licence"^^xsd:string .
_:b7 sp:varName "startDate"^^xsd:string .
_:b8 sp:varName "endDate"^^xsd:string .
_:b9 sp:varName "normalizedStr"^^xsd:string .
_:b10
sp:varName "s1"^^xsd:string .
_:b11
sp:varName "s2"^^xsd:string .
_:b12
sp:varName "t0a"^^xsd:string .
_:b13
sp:varName "t0b"^^xsd:string .
_:b14
sp:varName "t1"^^xsd:string .
_:b15
sp:varName "t2"^^xsd:string .
_:b16
sp:varName "t3"^^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#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@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 visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@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 visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] .
......
......@@ -10,44 +10,40 @@
<td class="ddrSummaryLeft">
<rhswp:NameValuePair arg:name="Report Number:" arg:value="{ spl:object(?this, ?) }" />
<rhswp:NameValuePair arg:name="Wellbore:" arg:value="{# SELECT ?wellBoreName WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/rdfs:label ?wellBoreName } }" />
<!--
<rhswp:NameValuePair arg:name="Status:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Operator:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Rig name:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Spud date:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Tight well:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{= spl:object(?this, ???) }" />
-->
<rhswp:NameValuePair arg:name="Status:" arg:value="{= ui:label(spl:object(?this, rdf:type)) }" />
<rhswp:NameValuePair arg:name="Operator:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Rig name:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Spud date:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Tight well:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{ spl:object(?this, ???) }" />
</td>
<td class="ddrSummaryRight">
<rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?reportOn, ep-activity:startedAt)), ' - ', ui:label(spl:object(?reportOn, ep-activity:finishedAt))) }" />
<rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{ SELECT ?wellBoreId WHERE { ?reportOn iso15926:hasPart/ep-activity:onWellBore/iso15926:temporalPartOf/??? ?wellBoreId } }" />
<rhswp:NameValuePair arg:name="Created date:" arg:value="{= spl:object(?this, ep-activity:createdAt) }" />
<!--
<rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Temprature degC:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{= spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casting mMD:" arg:value="{= spl:object(?this, ???) }" />
-->
<rhswp:NameValuePair arg:name="Created date:" arg:value="{ spl:object(?this, ep-activity:createdAt) }" />
<rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Temprature degC:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{ spl:object(?this, ???) }" />
<rhswp:NameValuePair arg:name="Depth At Last Casting mMD:" arg:value="{ spl:object(?this, ???) }" />
</td>
</tr></table>
</body>
......
# baseURI: http://www.reportinghub.no/swp/rh
# imports: http://uispin.org/tui
# imports: http://www.reportinghub.no/npd/1.1/schema
# imports: http://www.reportinghub.no/spin/rh
@prefix html: <http://uispin.org/html#> .
......@@ -23,7 +24,7 @@
<http://www.reportinghub.no/swp/rh>
rdf:type owl:Ontology ;
rdfs:comment "SWP components and definitions for ReportingHub."^^xsd:string ;
owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/spin/rh> ;
owl:imports <http://www.reportinghub.no/npd/1.1/schema> , <http://www.reportinghub.no/spin/rh> , <http://uispin.org/tui> ;
owl:versionInfo "0.1.0"^^xsd:string .
rhswp:Elements
......@@ -44,15 +45,15 @@ rhswp:NameValuePair
rdfs:subClassOf rhswp:Elements ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The value to display."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#value>
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The label of the value."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#name> ;
spl:valueType xsd:string
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The value to display."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#value>
] ;
ui:prototype
[ rdf:type html:Table ;
html:class "nameValuePair"^^xsd:string ;
......@@ -60,25 +61,25 @@ rhswp:NameValuePair
[ rdf:type html:Tr ;
ui:child
[ rdf:type html:Td ;
html:class "nameValueValue"^^xsd:string ;
html:class "nameValueName"^^xsd:string ;
ui:child
[ rdf:type ui:TextNode ;
ui:childIndex 0 ;
ui:text [ sp:varName "value"^^xsd:string
ui:text [ sp:varName "name"^^xsd:string
]
] ;
ui:childIndex 1
ui:childIndex 0
] ;
ui:child
[ rdf:type html:Td ;
html:class "nameValueName"^^xsd:string ;
html:class "nameValueValue"^^xsd:string ;
ui:child
[ rdf:type ui:TextNode ;
ui:childIndex 0 ;
ui:text [ sp:varName "name"^^xsd:string
ui:text [ sp:varName "value"^^xsd:string
]
] ;
ui:childIndex 0
ui:childIndex 1
] ;
ui:childIndex 0
]
......
This diff could not be displayed because it is too large.
# Saved by TopBraid on Tue Aug 09 15:36:54 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@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 visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "1"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean ;
inference:inferredMode
"true"^^xsd:boolean .
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@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 visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "1"^^xsd:int
] ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean ;
inference:inferredMode
"true"^^xsd:boolean .
......
<html>
<head>
<title>ReportingHub - Validate or Upload DDR</title>
<title>ReportingHub - Validate/Upload DDR</title>
<link href="lib/rh/rh.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="lib/rh/jquery/jquery.js"></script>
<script type="text/javascript" src="lib/rh/jquery/jquery.form.js"></script>
......@@ -36,7 +36,7 @@
<rhswp:Header />
<div id="content">
<h3>Validate or Upload a Daily Drilling Report</h3>
<h3>Validate/Upload a Daily Drilling Report</h3>
<p>
Please select a DDR XML file:
</p>
......@@ -51,7 +51,7 @@
<script>
function updateAction() {
var newAction = $("#validateButton").attr("checked") ? "validate-report" : "submit-report";
var newAction = $("#validateButton").attr("checked") ? "validate-report" : "validate-and-upload-report";
$("#theForm").attr("action", newAction);
}
......@@ -64,7 +64,7 @@
<input type="submit" value="Submit" />
</form>
<br />
<div id="output" />
<div id="output"></div>
</div>
</div>
</body>
......