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://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://spinrdf.org/spin
# imports: http://www.reportinghub.no/1.1/schema/npd
# 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#> .
......@@ -24,7 +23,7 @@
] [ 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: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 ;
......@@ -37,9 +36,9 @@
<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: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 .
_:b2 sp:varName "wellBore"^^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#> .
......
# 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
# 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#> .
......@@ -22,7 +21,7 @@
<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: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
......@@ -53,7 +52,7 @@ npdMap:ClassifyArrangedIndividual
] [ sp:object
[ sp:varName "npdid"^^xsd:string
] ;
sp:predicate npd:id ;
sp:predicate <http://www.reportinghub.no/npd/schema#id> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression "http://www.reportinghub.no/ep/" ;
......@@ -147,7 +146,7 @@ npdMap:CreateIndividualWithNPDID
sp:subject _:b6
]) ;
sp:where ([ sp:object _:b8 ;
sp:predicate npd:id ;
sp:predicate <http://www.reportinghub.no/npd/schema#id> ;
sp:subject spin:_this
] [ sp:object _:b9 ;
sp:predicate rdf:type ;
......@@ -224,11 +223,15 @@ npdMap:CreateIndividualWithNPDID
?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 .
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 ;
......@@ -251,15 +254,15 @@ Note that because it uses the same URI production rule as other functions, we do
sp:where ([ sp:object
[ sp:varName "npdid"^^xsd:string
] ;
sp:predicate npd:id ;
sp:predicate <http://www.reportinghub.no/npd/schema#id> ;
sp:subject spin:_this
] [ sp:object _:b13 ;
sp:predicate npd:partOfWell ;
sp:predicate <http://www.reportinghub.no/npd/schema#partOfWell> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate npd:name ;
sp:predicate <http://www.reportinghub.no/npd/schema#name> ;
sp:subject _:b13
] [ rdf:type sp:Bind ;
sp:expression "http://www.reportinghub.no/ep/" ;
......@@ -285,19 +288,16 @@ Note that because it uses the same URI production rule as other functions, we do
] ;
sp:variable _:b12
])
] ;
spin:rule
[ rdf:type npdMap:ClassifyArrangedIndividual
] .
npd:NpdIndividual
<http://www.reportinghub.no/npd/schema#NPDIndividual>
spin:rule
[ rdf:type npdMap:CreateIndividualWithNPDID ;
sp:arg1 "\"Individual\""^^xsd:string
] .
npd:WellBore_1
npd:drilledInProductionLicence
<http://www.reportinghub.no/npd/schema#drilledInProductionLicence>
npdMap:Licence_1 .
npd:wellDiskosType
......@@ -306,32 +306,32 @@ npd:wellDiskosType
rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ;
rdfs:range xsd:string .
_:b13
sp:varName "well"^^xsd:string .
_:b1 sp:varName "AI"^^xsd:string .
_:b12
sp:varName "wellBoreComp"^^xsd:string .
_:b2 sp:varName "AIClsn"^^xsd:string .
_:b11
sp:varName "wellAI"^^xsd:string .
_:b3 sp:varName "npdType"^^xsd:string .
_:b10
sp:varName "wellBoreAI"^^xsd:string .
_:b4 sp:varName "AI"^^xsd:string .
_:b9 sp:varName "npdType"^^xsd:string .
_:b5 sp:varName "npdCOI"^^xsd:string .
_:b8 sp:varName "npdid"^^xsd:string .
_:b6 sp:varName "npdExpStr"^^xsd:string .
_:b7 sp:varName "npdCOIClsn"^^xsd:string .
_:b6 sp:varName "npdExpStr"^^xsd:string .
_:b8 sp:varName "npdid"^^xsd:string .
_:b5 sp:varName "npdCOI"^^xsd:string .
_:b9 sp:varName "npdType"^^xsd:string .
_:b4 sp:varName "AI"^^xsd:string .
_:b10
sp:varName "wellBoreAI"^^xsd:string .
_:b3 sp:varName "npdType"^^xsd:string .
_:b11
sp:varName "wellAI"^^xsd:string .
_:b2 sp:varName "AIClsn"^^xsd:string .
_:b12
sp:varName "wellBoreComp"^^xsd:string .
_:b1 sp:varName "AI"^^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
# 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/schema/npd#> .
@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#> .
......@@ -16,18 +15,13 @@
@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 .
rdfs:subClassOf npd:NPDIndividual .
facility:FixedFacility
rdf:type owl:Class ;
......@@ -48,7 +42,6 @@ facility:SurfaceFixedFacility
rdfs:subClassOf facility:FixedFacility .
organization:Company
rdf:type owl:Class ;
rdfs:subClassOf npd:Individual .
<http://www.reportinghub.no/ep/schema/well#Well>
......@@ -58,12 +51,17 @@ organization:Company
<http://www.reportinghub.no/ep/schema/well#WellBore>
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual , <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> .
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 <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NpdIndividual , npd:Owner .
rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:Owner .
npd:DAS_DecidedByTheLicensees
rdf:type npd:DiscoveryActivityStatus ;
......@@ -139,7 +137,7 @@ npd:DevelopmentWellBorePurpose
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 .
rdfs:subClassOf npd:NPDIndividual .
npd:DiscoveryActivityStatus
rdf:type owl:Class ;
......@@ -265,7 +263,7 @@ npd:FieldPart
npd:FixedFacilityParent
rdf:type owl:Class ;
rdfs:subClassOf npd:NpdIndividual .
rdfs:subClassOf npd:NPDIndividual .
npd:FixedFacilityPhase
rdf:type owl:Class ;
......@@ -304,23 +302,23 @@ npd:Individual
rdfs:subClassOf owl:Thing .
npd:LS_Active
rdf:type npd:LicenseStatus ;
rdf:type npd:LicenceStatus ;
rdfs:label "active"@en ;
npd:code "ACTIVE"^^xsd:string .
npd:LS_Inactive
rdf:type npd:LicenseStatus ;
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 <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NpdIndividual , npd:Owner .
rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:Owner .
npd:LicenseStatus
npd:LicenceStatus
rdf:type owl:Class ;
rdfs:label "License status"^^xsd:string ;
rdfs:label "Licence status"^^xsd:string ;
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:LS_Active npd:LS_Inactive) .
......@@ -345,13 +343,13 @@ npd:MainNCSArea
rdfs:subClassOf npd:Enumeration ;
owl:oneOf (npd:MNA_NorthSea npd:MNA_NorwegianSea npd:MNA_BarentsSea) .
npd:NpdIndividual
npd:NPDIndividual
rdf:type owl:Class ;
rdfs:subClassOf npd:Individual .
npd:OperatingCompany
rdf:type owl:Class ;
rdfs:subClassOf organization:Company , npd:NpdIndividual .
rdfs:subClassOf npd:NPDIndividual , organization:Company .
npd:Owner
rdf:type owl:Class ;
......@@ -393,7 +391,7 @@ npd:TUF
rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ;
rdfs:subClassOf facility:Facility , npd:FixedFacilityParent .
npd:TufPart
npd:TUFPart
rdf:type owl:Class ;
rdfs:comment "A part of a TUF"^^xsd:string ;
rdfs:subClassOf npd:FixedFacilityParent .
......@@ -600,7 +598,7 @@ npd:fixedFacilityPhase
npd:id
rdf:type owl:DatatypeProperty ;
rdfs:domain npd:NpdIndividual ;
rdfs:domain npd:NPDIndividual ;
rdfs:range xsd:string .
npd:licenceShared
......@@ -608,11 +606,11 @@ npd:licenceShared
rdfs:domain npd:ShareOfLicence ;
rdfs:range npd:Licence .
npd:licenseStatus
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:LicenseStatus .
rdfs:range npd:LicenceStatus .
npd:licensingActivity
rdf:type owl:DatatypeProperty ;
......@@ -642,9 +640,9 @@ npd:partOfField
rdfs:domain npd:FieldPart ;
rdfs:range npd:Field .
npd:partOfTuf
npd:partOfTUF
rdf:type owl:ObjectProperty ;
rdfs:domain npd:TufPart ;
rdfs:domain npd:TUFPart ;
rdfs:range npd:TUF .
npd:partOfWell
......
# 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
# 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#> .
......@@ -48,7 +47,7 @@
<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: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
......@@ -64,10 +63,10 @@ rhspin:GetWellBoresOfWell
sp:elements ([ sp:object
[ sp:varName "well"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/schema/npd#partOfWell> ;
sp:predicate <http://www.reportinghub.no/npd/schema#partOfWell> ;
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#name> ;
sp:predicate <http://www.reportinghub.no/npd/schema#name> ;
sp:subject _:b2
]) ;
sp:graphNameNode <https://www.reportinghub.no/data/npd>
......@@ -147,16 +146,16 @@ rhspin:companyHasLicenceForWellBore
] ;
sp:variable _:b4
] [ sp:object spin:_arg1 ;
sp:predicate <http://www.reportinghub.no/schema/npd#shareHolder> ;
sp:predicate <http://www.reportinghub.no/npd/schema#shareHolder> ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/schema/npd#licenceShared> ;
sp:predicate <http://www.reportinghub.no/npd/schema#licenceShared> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/schema/npd#LS_Active> ;
sp:predicate <http://www.reportinghub.no/schema/npd#licenseStatus> ;
] [ 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/schema/npd#startDate> ;
sp:predicate <http://www.reportinghub.no/npd/schema#startDate> ;
sp:subject _:b6
] [ rdf:type sp:Filter ;
sp:expression
......@@ -165,7 +164,7 @@ rhspin:companyHasLicenceForWellBore
sp:arg2 _:b4
]
] [ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/schema/npd#endDate> ;
sp:predicate <http://www.reportinghub.no/npd/schema#endDate> ;
sp:subject _:b6
] [ rdf:type sp:Filter ;
sp:expression
......@@ -174,7 +173,7 @@ rhspin:companyHasLicenceForWellBore
sp:arg2 _:b4
]
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/schema/npd#drilledInProductionLicence> ;
sp:predicate <http://www.reportinghub.no/npd/schema#drilledInProductionLicence> ;
sp:subject _:b3
])
] ;
......@@ -273,7 +272,7 @@ rhspin:licenceById
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#Licence> .
spin:returnType <http://www.reportinghub.no/npd/schema#Licence> .
rhspin:normalizeString
rdf:type spin:Function ;
......
# Saved by TopBraid on Tue Aug 09 15:37:11 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
......@@ -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
]
......
# Saved by TopBraid on Tue Aug 09 15:36:54 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......@@ -13,11 +12,11 @@
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
composite:index "1"^^xsd:int
] ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "1"^^xsd:int
composite:index "0"^^xsd:int
] ;
inference:completeMode
"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>
......