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
5 - 5 +
6 -@prefix : <http://www.energistics.org/schemas/abstract#> . 6 +@prefix : <http://www.energistics.org/schemas/abstract#> .
7 -@prefix dc: <http://purl.org/dc/elements/1.1/> . 7 +@prefix dc: <http://purl.org/dc/elements/1.1/> .
8 -@prefix dtype: <http://www.linkedmodel.org/schema/dtype#> . 8 +@prefix dtype: <http://www.linkedmodel.org/schema/dtype#> .
9 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 9 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
10 -@prefix skos: <http://www.w3.org/2004/02/skos/core#> . 10 +@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
11 -@prefix sxml: <http://topbraid.org/sxml#> . 11 +@prefix sxml: <http://topbraid.org/sxml#> .
12 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 12 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
13 - 13 +
14 -<http://www.energistics.org/schemas/abstract> 14 +<http://www.energistics.org/schemas/abstract>
15 - rdf:type <http://www.w3.org/2002/07/owl#Ontology> ; 15 + rdf:type <http://www.w3.org/2002/07/owl#Ontology> ;
16 - <http://www.w3.org/2002/07/owl#imports> 16 + <http://www.w3.org/2002/07/owl#imports>
17 - <http://topbraid.org/sxml> , <http://www.linkedmodel.org/schema/dtype> ; 17 + <http://topbraid.org/sxml> , <http://www.linkedmodel.org/schema/dtype> ;
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 - 40 +
41 -:AbstractObject 41 +:A_GlobalElements
42 - rdf:type <http://www.w3.org/2002/07/owl#Class> ; 42 + rdf:type <http://www.w3.org/2002/07/owl#Class> ;
43 - <http://www.w3.org/2000/01/rdf-schema#comment> 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 .
47 +
48 +:AbstractObject
49 + rdf:type <http://www.w3.org/2002/07/owl#Class> ;
50 + <http://www.w3.org/2000/01/rdf-schema#comment>
44 """The intended abstract supertype of all schema roots 51 """The intended abstract supertype of all schema roots
45 that may be a member of a substitution group (whether contextual or data). 52 that may be a member of a substitution group (whether contextual or data).
46 The type of root global elements should be extended from this type and the 53 The type of root global elements should be extended from this type and the
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> ;
54 - <http://www.w3.org/2000/01/rdf-schema#label> 61 + <http://www.w3.org/2000/01/rdf-schema#label>
55 - "pref label"^^xsd:string . 62 + "pref label"^^xsd:string .
......
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} }" />
......