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 .
This diff is collapsed. Click to expand it.
# 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 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>
......