Holger Knublauch

Misc clean up of EP ontologies and SXML importer

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 -@prefix dc: <http://purl.org/dc/elements/1.1/> . 3 +# imports: http://www.linkedmodel.org/schema/vaem
4 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 4 +
5 -@prefix dtype: <http://www.linkedmodel.org/schema/dtype#> . 5 +@prefix abstract: <http://www.energistics.org/schemas/abstract#> .
6 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 6 +@prefix dc: <http://purl.org/dc/elements/1.1/> .
7 -@prefix skos: <http://www.w3.org/2004/02/skos/core#> . 7 +@prefix dtype: <http://www.linkedmodel.org/schema/dtype#> .
8 - 8 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
9 -:AbstractDataObject 9 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
10 - a <http://www.w3.org/2002/07/owl#Class> ; 10 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
11 - <http://www.w3.org/2000/01/rdf-schema#label> 11 +@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
12 - "Abstract data object"^^xsd:string ; 12 +@prefix vaem: <http://www.linkedmodel.org/schema/vaem#> .
13 - <http://www.w3.org/2000/01/rdf-schema#subClassOf> 13 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
14 - :AbstractObject ; 14 +
15 - dc:description "Substitution group for normative data objects."^^xsd:string . 15 +dc:description
16 - 16 + rdfs:label "description"^^xsd:string .
17 -:AbstractContextualObject 17 +
18 - a <http://www.w3.org/2002/07/owl#Class> ; 18 +<http://www.energistics.org/schemas/abstract>
19 - <http://www.w3.org/2000/01/rdf-schema#label> 19 + rdf:type owl:Ontology ;
20 - "Abstract contextual object"^^xsd:string ; 20 + owl:imports <http://www.linkedmodel.org/schema/vaem> , <http://www.linkedmodel.org/schema/dtype> ;
21 - <http://www.w3.org/2000/01/rdf-schema#subClassOf> 21 + owl:versionInfo "Created with TopBraid Composer from the XML Schema http://www.energistics.org/schemas/abstract"^^xsd:string .
22 - :AbstractObject ; 22 +
23 - dc:description "Substitution group for contextual objects."^^xsd:string . 23 +abstract:AbstractContextualObject
24 - 24 + rdf:type owl:Class ;
25 -dc:description 25 + rdfs:label "Abstract contextual object"^^xsd:string ;
26 - <http://www.w3.org/2000/01/rdf-schema#label> 26 + rdfs:subClassOf abstract:AbstractObject ;
27 - "description"^^xsd:string . 27 + dc:description "Substitution group for contextual objects."^^xsd:string .
28 - 28 +
29 -:AbstractObject 29 +abstract:AbstractDataObject
30 - a <http://www.w3.org/2002/07/owl#Class> ; 30 + rdf:type owl:Class ;
31 - <http://www.w3.org/2000/01/rdf-schema#label> 31 + rdfs:label "Abstract data object"^^xsd:string ;
32 - "Abstract object"^^xsd:string ; 32 + rdfs:subClassOf abstract:AbstractObject ;
33 + dc:description "Substitution group for normative data objects."^^xsd:string .
34 +
35 +abstract:AbstractObject
36 + rdf:type owl:Class ;
37 + rdfs:label "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 1 +# baseURI: null
2 -# baseURI: null 2 +
3 - 3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . 5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . 6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 9 +@prefix visual: <http://topbraid.org/visual#> .
10 -@prefix visual: <http://topbraid.org/visual#> . 10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 11 +
12 - 12 +[] rdf:type inference:Configuration ;
13 -[] rdf:type inference:Configuration ; 13 + composite:child
14 - composite:child 14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 15 + composite:index "0"^^xsd:int
16 - composite:index "0"^^xsd:int 16 + ] .
17 - ] .
......
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 2 +
3 - 3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . 5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . 6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 9 +@prefix visual: <http://topbraid.org/visual#> .
10 -@prefix visual: <http://topbraid.org/visual#> . 10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 11 +
12 - 12 +[] rdf:type inference:Configuration ;
13 -[] rdf:type inference:Configuration ; 13 + composite:child
14 - composite:child 14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 15 + <http://spinrdf.org/spin#topSPINOptions>
16 - composite:index "0"^^xsd:int 16 + "singlePass" ;
17 - ] . 17 + composite:index "0"^^xsd:int
18 + ] ;
19 + inference:completeMode
20 + "true"^^xsd:boolean .
......
1 -# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011 1 +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization
2 -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization 2 +# imports: http://spinrdf.org/spin
3 -# imports: http://www.reportinghub.no/ep/spin/1.1/lib 3 +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
4 -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr 4 +
5 -# imports: http://spinrdf.org/spin 5 +@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> .
6 - 6 +@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> .
7 -@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . 7 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
8 -@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . 8 +@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> .
9 -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . 9 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
10 -@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . 10 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
11 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 11 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
12 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 12 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
13 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 13 +@prefix sp: <http://spinrdf.org/sp#> .
14 -@prefix sp: <http://spinrdf.org/sp#> . 14 +@prefix spin: <http://spinrdf.org/spin#> .
15 -@prefix spin: <http://spinrdf.org/spin#> . 15 +@prefix spl: <http://spinrdf.org/spl#> .
16 -@prefix spl: <http://spinrdf.org/spl#> . 16 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
17 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 17 +
18 - 18 +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport>
19 -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> 19 + spin:rule
20 - spin:rule 20 + [ rdf:type sp:Construct ;
21 - [ rdf:type sp:Construct ; 21 + rdfs:comment "STEP 101 Make Well and Well Bore Instances"^^xsd:string ;
22 - rdfs:comment "STEP 101 Make Well and Well Bore Instances"^^xsd:string ; 22 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
23 - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; 23 + sp:predicate rdf:type ;
24 - sp:predicate rdf:type ; 24 + sp:subject _:b1
25 - sp:subject _:b1 25 + ] [ sp:object _:b2 ;
26 - ] [ sp:object _:b2 ; 26 + sp:predicate rdfs:label ;
27 - sp:predicate rdfs:label ; 27 + sp:subject _:b1
28 - sp:subject _:b1 28 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
29 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; 29 + sp:predicate rdf:type ;
30 - sp:predicate rdf:type ; 30 + sp:subject _:b3
31 - sp:subject _:b3 31 + ] [ sp:object _:b4 ;
32 - ] [ sp:object _:b4 ; 32 + sp:predicate rdfs:label ;
33 - sp:predicate rdfs:label ; 33 + sp:subject _:b3
34 - sp:subject _:b3 34 + ] [ sp:object _:b1 ;
35 - ] [ sp:object _:b1 ; 35 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
36 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 36 + sp:subject _:b3
37 - sp:subject _:b3 37 + ]) ;
38 - ]) ; 38 + sp:where ([ sp:object _:b2 ;
39 - sp:where ([ sp:object _:b2 ; 39 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ;
40 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; 40 + sp:subject spin:_this
41 - sp:subject spin:_this 41 + ] [ sp:object _:b4 ;
42 - ] [ sp:object _:b4 ; 42 + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ;
43 - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; 43 + sp:subject spin:_this
44 - sp:subject spin:_this 44 + ] [ rdf:type sp:Bind ;
45 - ] [ rdf:type sp:Bind ; 45 + sp:expression
46 - sp:expression 46 + [ rdf:type rhspin:wellByName ;
47 - [ rdf:type ep-spin-lib:normalizeString ; 47 + sp:arg1 _:b4
48 - sp:arg1 _:b4 48 + ] ;
49 - ] ; 49 + sp:variable _:b3
50 - sp:variable _:b5 50 + ] [ rdf:type sp:Bind ;
51 - ] [ rdf:type sp:Bind ; 51 + sp:expression
52 - sp:expression 52 + [ rdf:type rhspin:wellBoreByName ;
53 - [ rdf:type ep-spin-lib:buildWellURI ; 53 + sp:arg1 _:b2
54 - sp:arg1 _:b5 54 + ] ;
55 - ] ; 55 + sp:variable _:b1
56 - sp:variable _:b3 56 + ])
57 - ] [ rdf:type sp:Bind ; 57 + ] .
58 - sp:expression 58 +
59 - [ rdf:type ep-spin-lib:normalizeString ; 59 +<http://www.reportinghub.no/ep/transform/1.1/ddr/normalization>
60 - sp:arg1 _:b2 60 + rdf:type owl:Ontology ;
61 - ] ; 61 + owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://spinrdf.org/spin> ;
62 - sp:variable _:b6 62 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
63 - ] [ rdf:type sp:Bind ; 63 +
64 - sp:expression 64 +_:b4 sp:varName "nameWell"^^xsd:string .
65 - [ rdf:type ep-spin-lib:buildWellBoreURI ; 65 +
66 - sp:arg1 _:b6 66 +_:b3 sp:varName "well"^^xsd:string .
67 - ] ; 67 +
68 - sp:variable _:b1 68 +_:b2 sp:varName "nameWellBore"^^xsd:string .
69 - ]) 69 +
70 - ] . 70 +_:b1 sp:varName "wellBore"^^xsd:string .
71 -
72 -<http://www.reportinghub.no/ep/transform/1.1/ddr/normalization>
73 - 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> ;
75 - owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
76 -
77 -_:b2 sp:varName "nameWellBore"^^xsd:string .
78 -
79 -_:b4 sp:varName "nameWell"^^xsd:string .
80 -
81 -_:b5 sp:varName "normalizedWellName"^^xsd:string .
82 -
83 -_:b3 sp:varName "normalizedWellNameU"^^xsd:string .
84 -
85 -_:b6 sp:varName "normalizedWellBoreName"^^xsd:string .
86 -
87 -_:b1 sp:varName "normalizedWellBoreNameU"^^xsd:string .
......
1 -# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011 1 +# baseURI: null
2 -# baseURI: null 2 +
3 - 3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . 5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . 6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 9 +@prefix visual: <http://topbraid.org/visual#> .
10 -@prefix visual: <http://topbraid.org/visual#> . 10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 11 +
12 - 12 +[] rdf:type inference:Configuration ;
13 -[] rdf:type inference:Configuration ; 13 + composite:child
14 - composite:child 14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 15 + <http://spinrdf.org/spin#topSPINOptions>
16 - <http://spinrdf.org/spin#topSPINOptions> 16 + "singlePass" ;
17 - "singlePass" ; 17 + composite:index "0"^^xsd:int
18 - composite:index "0"^^xsd:int 18 + ] .
19 - ] .
......