David Price

Updated DDR proxy, tabels and HTML for UoM. Added DPR testcases.

1 -# Saved by TopBraid on Mon Sep 05 19:42:12 BST 2011 1 +# Saved by TopBraid on Tue Sep 27 14:51:28 BST 2011
2 # baseURI: http://www.energistics.org/schemas/abstract 2 # baseURI: http://www.energistics.org/schemas/abstract
3 # imports: http://www.linkedmodel.org/schema/dtype 3 # imports: http://www.linkedmodel.org/schema/dtype
4 # imports: http://topbraid.org/sxml 4 # imports: http://topbraid.org/sxml
...@@ -18,25 +18,32 @@ ...@@ -18,25 +18,32 @@
18 <http://www.w3.org/2002/07/owl#versionInfo> 18 <http://www.w3.org/2002/07/owl#versionInfo>
19 "Created with TopBraid Composer from the XML Schema http://www.energistics.org/schemas/abstract"^^xsd:string . 19 "Created with TopBraid Composer from the XML Schema http://www.energistics.org/schemas/abstract"^^xsd:string .
20 20
21 -:AbstractContextualObject 21 +:A_Global-AbstractContextualObject
22 rdf:type <http://www.w3.org/2002/07/owl#Class> ; 22 rdf:type <http://www.w3.org/2002/07/owl#Class> ;
23 <http://www.w3.org/2000/01/rdf-schema#comment> 23 <http://www.w3.org/2000/01/rdf-schema#comment>
24 "Substitution group for contextual objects."^^xsd:string ; 24 "Substitution group for contextual objects."^^xsd:string ;
25 <http://www.w3.org/2000/01/rdf-schema#label> 25 <http://www.w3.org/2000/01/rdf-schema#label>
26 - "Abstract contextual object"^^xsd:string ; 26 + "A Global-Abstract contextual object"^^xsd:string ;
27 <http://www.w3.org/2000/01/rdf-schema#subClassOf> 27 <http://www.w3.org/2000/01/rdf-schema#subClassOf>
28 - :AbstractObject ; 28 + :A_GlobalElements , :AbstractObject ;
29 - sxml:element "http://www.energistics.org/schemas/abstract#abstractContextualObject" . 29 + sxml:tag "http://www.energistics.org/schemas/abstract#abstractContextualObject" .
30 30
31 -:AbstractDataObject 31 +:A_Global-AbstractDataObject
32 rdf:type <http://www.w3.org/2002/07/owl#Class> ; 32 rdf:type <http://www.w3.org/2002/07/owl#Class> ;
33 <http://www.w3.org/2000/01/rdf-schema#comment> 33 <http://www.w3.org/2000/01/rdf-schema#comment>
34 "Substitution group for normative data objects."^^xsd:string ; 34 "Substitution group for normative data objects."^^xsd:string ;
35 <http://www.w3.org/2000/01/rdf-schema#label> 35 <http://www.w3.org/2000/01/rdf-schema#label>
36 - "Abstract data object"^^xsd:string ; 36 + "A Global-Abstract data object"^^xsd:string ;
37 <http://www.w3.org/2000/01/rdf-schema#subClassOf> 37 <http://www.w3.org/2000/01/rdf-schema#subClassOf>
38 - :AbstractObject ; 38 + :A_GlobalElements , :AbstractObject ;
39 - sxml:element "http://www.energistics.org/schemas/abstract#abstractDataObject" . 39 + sxml:tag "http://www.energistics.org/schemas/abstract#abstractDataObject" .
40 +
41 +:A_GlobalElements
42 + rdf:type <http://www.w3.org/2002/07/owl#Class> ;
43 + <http://www.w3.org/2000/01/rdf-schema#comment>
44 + "A superclass for all global elements encountered in transforming the XML schema."^^xsd:string ;
45 + <http://www.w3.org/2000/01/rdf-schema#label>
46 + "A Global elements"^^xsd:string .
40 47
41 :AbstractObject 48 :AbstractObject
42 rdf:type <http://www.w3.org/2002/07/owl#Class> ; 49 rdf:type <http://www.w3.org/2002/07/owl#Class> ;
...@@ -47,7 +54,7 @@ ...@@ -47,7 +54,7 @@
47 root global element should be declared to be a member of one of the above substitution groups."""^^xsd:string ; 54 root global element should be declared to be a member of one of the above substitution groups."""^^xsd:string ;
48 <http://www.w3.org/2000/01/rdf-schema#label> 55 <http://www.w3.org/2000/01/rdf-schema#label>
49 "Abstract object"^^xsd:string ; 56 "Abstract object"^^xsd:string ;
50 - sxml:element "http://www.energistics.org/schemas/abstract#abstractObject" . 57 + sxml:tag "http://www.energistics.org/schemas/abstract#abstractObject" .
51 58
52 skos:prefLabel 59 skos:prefLabel
53 rdf:type <http://www.w3.org/2002/07/owl#AnnotationProperty> ; 60 rdf:type <http://www.w3.org/2002/07/owl#AnnotationProperty> ;
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?wb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" /> 22 <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?wb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" />
23 <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:avgPresBH) }" /> 23 <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{= rhspin:dtypeValue(?temporalPartOfAWellBore, ddr:avgPresBH) }" />
24 <rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{# SELECT ?rigTypeName WHERE {?rig a ?rigType . ?rigType rdfs:label ?rigTypeName . ?rigType rdfs:subClassOf ep-fac:Rig}}" /> 24 <rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{# SELECT ?rigTypeName WHERE {?rig a ?rigType . ?rigType rdfs:label ?rigTypeName . ?rigType rdfs:subClassOf ep-fac:Rig}}" />
25 - <rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{# SELECT ?koDepth WHERE {?wb ep-core:hasPart ?koWb . ?koWb a ep-well:WellBoreKickOff . ?koWb ep-well:measuredDepth ?measDepth . ?measDepth ep-core:undefinedScale ?koDepth}}" /> 25 + <rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{# SELECT ?koDepth WHERE {?wb ep-core:hasPart ?koWb . ?koWb a ep-well:WellBoreKickOff . ?koWb ep-well:measuredDepth ?measDepth . ?measDepth ep-core:metre ?koDepth}}" />
26 <rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:mdPlugTop) }" /> 26 <rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{= rhspin:dtypeValue(?onWellBore, ddr:mdPlugTop) }" />
27 <rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{= rhspin:dtypeValue(?activity, ddr:ropCurrent) }" /> 27 <rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{= rhspin:dtypeValue(?activity, ddr:ropCurrent) }" />
28 <rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{# SELECT ui:label(?pressureTestType) WHERE { ?activity ep-core:hasPart/rdf:type ?pressureTestType . ?pressureTestType a ep-activity:PressureTestType} }" /> 28 <rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{# SELECT ui:label(?pressureTestType) WHERE { ?activity ep-core:hasPart/rdf:type ?pressureTestType . ?pressureTestType a ep-activity:PressureTestType} }" />
......