Showing
8 changed files
with
57 additions
and
75 deletions
| 1 | -@prefix : <http://www.energistics.org/schemas/abstract#> . | 1 | +# baseURI: http://www.energistics.org/schemas/abstract |
| 2 | -@prefix vaem: <http://www.linkedmodel.org/schema/vaem#> . | 2 | +# imports: http://www.linkedmodel.org/schema/dtype |
| 3 | +# imports: http://www.linkedmodel.org/schema/vaem | ||
| 4 | + | ||
| 5 | +@prefix abstract: <http://www.energistics.org/schemas/abstract#> . | ||
| 3 | @prefix dc: <http://purl.org/dc/elements/1.1/> . | 6 | @prefix dc: <http://purl.org/dc/elements/1.1/> . |
| 4 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 5 | @prefix dtype: <http://www.linkedmodel.org/schema/dtype#> . | 7 | @prefix dtype: <http://www.linkedmodel.org/schema/dtype#> . |
| 8 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 6 | @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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 7 | @prefix skos: <http://www.w3.org/2004/02/skos/core#> . | 11 | @prefix skos: <http://www.w3.org/2004/02/skos/core#> . |
| 12 | +@prefix vaem: <http://www.linkedmodel.org/schema/vaem#> . | ||
| 13 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 8 | 14 | ||
| 9 | -:AbstractDataObject | 15 | +dc:description |
| 10 | - a <http://www.w3.org/2002/07/owl#Class> ; | 16 | + rdfs:label "description"^^xsd:string . |
| 11 | - <http://www.w3.org/2000/01/rdf-schema#label> | ||
| 12 | - "Abstract data object"^^xsd:string ; | ||
| 13 | - <http://www.w3.org/2000/01/rdf-schema#subClassOf> | ||
| 14 | - :AbstractObject ; | ||
| 15 | - dc:description "Substitution group for normative data objects."^^xsd:string . | ||
| 16 | 17 | ||
| 17 | -:AbstractContextualObject | 18 | +<http://www.energistics.org/schemas/abstract> |
| 18 | - a <http://www.w3.org/2002/07/owl#Class> ; | 19 | + rdf:type owl:Ontology ; |
| 19 | - <http://www.w3.org/2000/01/rdf-schema#label> | 20 | + owl:imports <http://www.linkedmodel.org/schema/vaem> , <http://www.linkedmodel.org/schema/dtype> ; |
| 20 | - "Abstract contextual object"^^xsd:string ; | 21 | + owl:versionInfo "Created with TopBraid Composer from the XML Schema http://www.energistics.org/schemas/abstract"^^xsd:string . |
| 21 | - <http://www.w3.org/2000/01/rdf-schema#subClassOf> | 22 | + |
| 22 | - :AbstractObject ; | 23 | +abstract:AbstractContextualObject |
| 24 | + rdf:type owl:Class ; | ||
| 25 | + rdfs:label "Abstract contextual object"^^xsd:string ; | ||
| 26 | + rdfs:subClassOf abstract:AbstractObject ; | ||
| 23 | dc:description "Substitution group for contextual objects."^^xsd:string . | 27 | dc:description "Substitution group for contextual objects."^^xsd:string . |
| 24 | 28 | ||
| 25 | -dc:description | 29 | +abstract:AbstractDataObject |
| 26 | - <http://www.w3.org/2000/01/rdf-schema#label> | 30 | + rdf:type owl:Class ; |
| 27 | - "description"^^xsd:string . | 31 | + rdfs:label "Abstract data object"^^xsd:string ; |
| 32 | + rdfs:subClassOf abstract:AbstractObject ; | ||
| 33 | + dc:description "Substitution group for normative data objects."^^xsd:string . | ||
| 28 | 34 | ||
| 29 | -:AbstractObject | 35 | +abstract:AbstractObject |
| 30 | - a <http://www.w3.org/2002/07/owl#Class> ; | 36 | + rdf:type owl:Class ; |
| 31 | - <http://www.w3.org/2000/01/rdf-schema#label> | 37 | + rdfs:label "Abstract object"^^xsd:string ; |
| 32 | - "Abstract object"^^xsd:string ; | ||
| 33 | dc:description """The intended abstract supertype of all schema roots | 38 | dc:description """The intended abstract supertype of all schema roots |
| 34 | that may be a member of a substitution group (whether contextual or data). | 39 | that may be a member of a substitution group (whether contextual or data). |
| 35 | The type of root global elements should be extended from this type and the | 40 | The type of root global elements should be extended from this type and the |
| 36 | root global element should be declared to be a member of one of the above substitution groups."""^^xsd:string . | 41 | root global element should be declared to be a member of one of the above substitution groups."""^^xsd:string . |
| 37 | 42 | ||
| 38 | skos:prefLabel | 43 | skos:prefLabel |
| 39 | - a <http://www.w3.org/2002/07/owl#AnnotationProperty> ; | 44 | + rdf:type owl:AnnotationProperty ; |
| 40 | - <http://www.w3.org/2000/01/rdf-schema#label> | 45 | + rdfs:label "pref label"^^xsd:string . |
| 41 | - "pref label"^^xsd:string . | ||
| 42 | - | ||
| 43 | -<http://www.energistics.org/schemas/abstract> | ||
| 44 | - a <http://www.w3.org/2002/07/owl#Ontology> ; | ||
| 45 | - <http://www.w3.org/2002/07/owl#imports> | ||
| 46 | - <http://www.linkedmodel.org/schema/dtype> , <http://www.linkedmodel.org/schema/vaem> ; | ||
| 47 | - <http://www.w3.org/2002/07/owl#versionInfo> | ||
| 48 | - "Created with TopBraid Composer from the XML Schema http://www.energistics.org/schemas/abstract"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Mon Aug 01 14:26:29 PDT 2011 | ||
| 2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib | 1 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib |
| 3 | # imports: http://spinrdf.org/spin | 2 | # imports: http://spinrdf.org/spin |
| 4 | 3 | ||
| ... | @@ -10,6 +9,7 @@ | ... | @@ -10,6 +9,7 @@ |
| 10 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 11 | @prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | 10 | @prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . |
| 12 | @prefix sp: <http://spinrdf.org/sp#> . | 11 | @prefix sp: <http://spinrdf.org/sp#> . |
| 12 | +@prefix spif: <http://spinrdf.org/spif#> . | ||
| 13 | @prefix spin: <http://spinrdf.org/spin#> . | 13 | @prefix spin: <http://spinrdf.org/spin#> . |
| 14 | @prefix spl: <http://spinrdf.org/spl#> . | 14 | @prefix spl: <http://spinrdf.org/spl#> . |
| 15 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 15 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| ... | @@ -22,7 +22,8 @@ | ... | @@ -22,7 +22,8 @@ |
| 22 | ep-spin-lib:Function | 22 | ep-spin-lib:Function |
| 23 | rdf:type spin:Function ; | 23 | rdf:type spin:Function ; |
| 24 | rdfs:label "Function"^^xsd:string ; | 24 | rdfs:label "Function"^^xsd:string ; |
| 25 | - rdfs:subClassOf spin:Functions . | 25 | + rdfs:subClassOf spin:Functions ; |
| 26 | + spin:abstract "true"^^xsd:boolean . | ||
| 26 | 27 | ||
| 27 | ep-spin-lib:buildURI | 28 | ep-spin-lib:buildURI |
| 28 | rdf:type spin:Function ; | 29 | rdf:type spin:Function ; |
| ... | @@ -33,7 +34,7 @@ ep-spin-lib:buildURI | ... | @@ -33,7 +34,7 @@ ep-spin-lib:buildURI |
| 33 | sp:resultVariables (_:b1) ; | 34 | sp:resultVariables (_:b1) ; |
| 34 | sp:where ([ rdf:type sp:Bind ; | 35 | sp:where ([ rdf:type sp:Bind ; |
| 35 | sp:expression | 36 | sp:expression |
| 36 | - [ rdf:type smf:resource ; | 37 | + [ rdf:type sp:iri ; |
| 37 | sp:arg1 [ rdf:type fn:concat ; | 38 | sp:arg1 [ rdf:type fn:concat ; |
| 38 | sp:arg1 spin:_arg1 ; | 39 | sp:arg1 spin:_arg1 ; |
| 39 | sp:arg2 spin:_arg2 | 40 | sp:arg2 spin:_arg2 |
| ... | @@ -96,7 +97,7 @@ ep-spin-lib:normalizeString | ... | @@ -96,7 +97,7 @@ ep-spin-lib:normalizeString |
| 96 | sp:resultVariables (_:b4) ; | 97 | sp:resultVariables (_:b4) ; |
| 97 | sp:where ([ rdf:type sp:Bind ; | 98 | sp:where ([ rdf:type sp:Bind ; |
| 98 | sp:expression | 99 | sp:expression |
| 99 | - [ rdf:type smf:regex ; | 100 | + [ rdf:type spif:regex ; |
| 100 | sp:arg1 spin:_arg1 ; | 101 | sp:arg1 spin:_arg1 ; |
| 101 | sp:arg2 "\\((.*)\\)" ; | 102 | sp:arg2 "\\((.*)\\)" ; |
| 102 | sp:arg3 "" | 103 | sp:arg3 "" |
| ... | @@ -104,19 +105,19 @@ ep-spin-lib:normalizeString | ... | @@ -104,19 +105,19 @@ ep-spin-lib:normalizeString |
| 104 | sp:variable _:b5 | 105 | sp:variable _:b5 |
| 105 | ] [ rdf:type sp:Bind ; | 106 | ] [ rdf:type sp:Bind ; |
| 106 | sp:expression | 107 | sp:expression |
| 107 | - [ rdf:type smf:trim ; | 108 | + [ rdf:type spif:trim ; |
| 108 | sp:arg1 _:b5 | 109 | sp:arg1 _:b5 |
| 109 | ] ; | 110 | ] ; |
| 110 | sp:variable _:b6 | 111 | sp:variable _:b6 |
| 111 | ] [ rdf:type sp:Bind ; | 112 | ] [ rdf:type sp:Bind ; |
| 112 | sp:expression | 113 | sp:expression |
| 113 | - [ rdf:type smf:encodeURL ; | 114 | + [ rdf:type spif:encodeURL ; |
| 114 | sp:arg1 _:b6 | 115 | sp:arg1 _:b6 |
| 115 | ] ; | 116 | ] ; |
| 116 | sp:variable _:b7 | 117 | sp:variable _:b7 |
| 117 | ] [ rdf:type sp:Bind ; | 118 | ] [ rdf:type sp:Bind ; |
| 118 | sp:expression | 119 | sp:expression |
| 119 | - [ rdf:type smf:regex ; | 120 | + [ rdf:type spif:regex ; |
| 120 | sp:arg1 _:b7 ; | 121 | sp:arg1 _:b7 ; |
| 121 | sp:arg2 "%2F" ; | 122 | sp:arg2 "%2F" ; |
| 122 | sp:arg3 "_" | 123 | sp:arg3 "_" |
| ... | @@ -124,7 +125,7 @@ ep-spin-lib:normalizeString | ... | @@ -124,7 +125,7 @@ ep-spin-lib:normalizeString |
| 124 | sp:variable _:b8 | 125 | sp:variable _:b8 |
| 125 | ] [ rdf:type sp:Bind ; | 126 | ] [ rdf:type sp:Bind ; |
| 126 | sp:expression | 127 | sp:expression |
| 127 | - [ rdf:type smf:regex ; | 128 | + [ rdf:type spif:regex ; |
| 128 | sp:arg1 _:b8 ; | 129 | sp:arg1 _:b8 ; |
| 129 | sp:arg2 "%[0-9A-F][0-9A-F]" ; | 130 | sp:arg2 "%[0-9A-F][0-9A-F]" ; |
| 130 | sp:arg3 "" | 131 | sp:arg3 "" |
| ... | @@ -132,7 +133,7 @@ ep-spin-lib:normalizeString | ... | @@ -132,7 +133,7 @@ ep-spin-lib:normalizeString |
| 132 | sp:variable _:b9 | 133 | sp:variable _:b9 |
| 133 | ] [ rdf:type sp:Bind ; | 134 | ] [ rdf:type sp:Bind ; |
| 134 | sp:expression | 135 | sp:expression |
| 135 | - [ rdf:type smf:regex ; | 136 | + [ rdf:type spif:regex ; |
| 136 | sp:arg1 _:b9 ; | 137 | sp:arg1 _:b9 ; |
| 137 | sp:arg2 "\\+" ; | 138 | sp:arg2 "\\+" ; |
| 138 | sp:arg3 "_" | 139 | sp:arg3 "_" |
| ... | @@ -140,7 +141,7 @@ ep-spin-lib:normalizeString | ... | @@ -140,7 +141,7 @@ ep-spin-lib:normalizeString |
| 140 | sp:variable _:b10 | 141 | sp:variable _:b10 |
| 141 | ] [ rdf:type sp:Bind ; | 142 | ] [ rdf:type sp:Bind ; |
| 142 | sp:expression | 143 | sp:expression |
| 143 | - [ rdf:type smf:regex ; | 144 | + [ rdf:type spif:regex ; |
| 144 | sp:arg1 _:b10 ; | 145 | sp:arg1 _:b10 ; |
| 145 | sp:arg2 "_+" ; | 146 | sp:arg2 "_+" ; |
| 146 | sp:arg3 "_" | 147 | sp:arg3 "_" |
| ... | @@ -148,7 +149,7 @@ ep-spin-lib:normalizeString | ... | @@ -148,7 +149,7 @@ ep-spin-lib:normalizeString |
| 148 | sp:variable _:b11 | 149 | sp:variable _:b11 |
| 149 | ] [ rdf:type sp:Bind ; | 150 | ] [ rdf:type sp:Bind ; |
| 150 | sp:expression | 151 | sp:expression |
| 151 | - [ rdf:type smf:regex ; | 152 | + [ rdf:type spif:regex ; |
| 152 | sp:arg1 _:b11 ; | 153 | sp:arg1 _:b11 ; |
| 153 | sp:arg2 "\\*" ; | 154 | sp:arg2 "\\*" ; |
| 154 | sp:arg3 "" | 155 | sp:arg3 "" |
| ... | @@ -157,7 +158,7 @@ ep-spin-lib:normalizeString | ... | @@ -157,7 +158,7 @@ ep-spin-lib:normalizeString |
| 157 | ] [ rdf:type sp:Bind ; | 158 | ] [ rdf:type sp:Bind ; |
| 158 | sp:expression | 159 | sp:expression |
| 159 | [ rdf:type xsd:string ; | 160 | [ rdf:type xsd:string ; |
| 160 | - sp:arg1 [ rdf:type smf:upperCase ; | 161 | + sp:arg1 [ rdf:type spif:upperCase ; |
| 161 | sp:arg1 _:b12 | 162 | sp:arg1 _:b12 |
| 162 | ] | 163 | ] |
| 163 | ] ; | 164 | ] ; | ... | ... |
This diff is collapsed. Click to expand it.
| 1 | -# Saved by TopBraid on Mon Aug 01 13:35:23 PDT 2011 | 1 | +# baseURI: null |
| 2 | -# baseURI: http://www.reportinghub.no/ep/transform/normalization | ||
| 3 | 2 | ||
| 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 3 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
| 5 | @prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | 4 | @prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . |
| ... | @@ -13,5 +12,9 @@ | ... | @@ -13,5 +12,9 @@ |
| 13 | [] rdf:type inference:Configuration ; | 12 | [] rdf:type inference:Configuration ; |
| 14 | composite:child | 13 | composite:child |
| 15 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
| 15 | + <http://spinrdf.org/spin#topSPINOptions> | ||
| 16 | + "singlePass" ; | ||
| 16 | composite:index "0"^^xsd:int | 17 | composite:index "0"^^xsd:int |
| 17 | - ] . | 18 | + ] ; |
| 19 | + inference:completeMode | ||
| 20 | + "true"^^xsd:boolean . | ... | ... |
| 1 | -# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011 | ||
| 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization | 1 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization |
| 3 | -# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
| 4 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | ||
| 5 | # imports: http://spinrdf.org/spin | 2 | # imports: http://spinrdf.org/spin |
| 3 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | ||
| 6 | 4 | ||
| 7 | @prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . | 5 | @prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . |
| 8 | @prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . | 6 | @prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . |
| ... | @@ -11,6 +9,7 @@ | ... | @@ -11,6 +9,7 @@ |
| 11 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 9 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 12 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 10 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 13 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 11 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 12 | +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . | ||
| 14 | @prefix sp: <http://spinrdf.org/sp#> . | 13 | @prefix sp: <http://spinrdf.org/sp#> . |
| 15 | @prefix spin: <http://spinrdf.org/spin#> . | 14 | @prefix spin: <http://spinrdf.org/spin#> . |
| 16 | @prefix spl: <http://spinrdf.org/spl#> . | 15 | @prefix spl: <http://spinrdf.org/spl#> . |
| ... | @@ -44,44 +43,28 @@ | ... | @@ -44,44 +43,28 @@ |
| 44 | sp:subject spin:_this | 43 | sp:subject spin:_this |
| 45 | ] [ rdf:type sp:Bind ; | 44 | ] [ rdf:type sp:Bind ; |
| 46 | sp:expression | 45 | sp:expression |
| 47 | - [ rdf:type ep-spin-lib:normalizeString ; | 46 | + [ rdf:type rhspin:wellByName ; |
| 48 | sp:arg1 _:b4 | 47 | sp:arg1 _:b4 |
| 49 | ] ; | 48 | ] ; |
| 50 | - sp:variable _:b5 | ||
| 51 | - ] [ rdf:type sp:Bind ; | ||
| 52 | - sp:expression | ||
| 53 | - [ rdf:type ep-spin-lib:buildWellURI ; | ||
| 54 | - sp:arg1 _:b5 | ||
| 55 | - ] ; | ||
| 56 | sp:variable _:b3 | 49 | sp:variable _:b3 |
| 57 | ] [ rdf:type sp:Bind ; | 50 | ] [ rdf:type sp:Bind ; |
| 58 | sp:expression | 51 | sp:expression |
| 59 | - [ rdf:type ep-spin-lib:normalizeString ; | 52 | + [ rdf:type rhspin:wellBoreByName ; |
| 60 | sp:arg1 _:b2 | 53 | sp:arg1 _:b2 |
| 61 | ] ; | 54 | ] ; |
| 62 | - sp:variable _:b6 | ||
| 63 | - ] [ rdf:type sp:Bind ; | ||
| 64 | - sp:expression | ||
| 65 | - [ rdf:type ep-spin-lib:buildWellBoreURI ; | ||
| 66 | - sp:arg1 _:b6 | ||
| 67 | - ] ; | ||
| 68 | sp:variable _:b1 | 55 | sp:variable _:b1 |
| 69 | ]) | 56 | ]) |
| 70 | ] . | 57 | ] . |
| 71 | 58 | ||
| 72 | <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization> | 59 | <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization> |
| 73 | rdf:type owl:Ontology ; | 60 | rdf:type owl:Ontology ; |
| 74 | - owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ; | 61 | + owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ; |
| 75 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 62 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 76 | 63 | ||
| 77 | -_:b2 sp:varName "nameWellBore"^^xsd:string . | ||
| 78 | - | ||
| 79 | _:b4 sp:varName "nameWell"^^xsd:string . | 64 | _:b4 sp:varName "nameWell"^^xsd:string . |
| 80 | 65 | ||
| 81 | -_:b5 sp:varName "normalizedWellName"^^xsd:string . | 66 | +_:b3 sp:varName "well"^^xsd:string . |
| 82 | - | ||
| 83 | -_:b3 sp:varName "normalizedWellNameU"^^xsd:string . | ||
| 84 | 67 | ||
| 85 | -_:b6 sp:varName "normalizedWellBoreName"^^xsd:string . | 68 | +_:b2 sp:varName "nameWellBore"^^xsd:string . |
| 86 | 69 | ||
| 87 | -_:b1 sp:varName "normalizedWellBoreNameU"^^xsd:string . | 70 | +_:b1 sp:varName "wellBore"^^xsd:string . | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment