Merge branch 'master' of
https://github.com/TopQuadrant/EPIM-Ontologies.git Conflicts: www.reportinghub.no/swp/DailyDrillingReport.uispin.html Also: linked download page to new service
Showing
15 changed files
with
2394 additions
and
1528 deletions
| ... | @@ -27,7 +27,7 @@ | ... | @@ -27,7 +27,7 @@ |
| 27 | <div id="content"> | 27 | <div id="content"> |
| 28 | 28 | ||
| 29 | <h3>Download a Daily Drilling Report</h3> | 29 | <h3>Download a Daily Drilling Report</h3> |
| 30 | - <form action="ddrFileDownload"> | 30 | + <form action="download-report"> |
| 31 | 31 | ||
| 32 | <table> | 32 | <table> |
| 33 | <tr> | 33 | <tr> |
| ... | @@ -58,12 +58,12 @@ | ... | @@ -58,12 +58,12 @@ |
| 58 | <td style="padding-left:20px; vertical-align: top"> | 58 | <td style="padding-left:20px; vertical-align: top"> |
| 59 | <div> | 59 | <div> |
| 60 | <div class="formHeader">2. Select Well Bore:</div> | 60 | <div class="formHeader">2. Select Well Bore:</div> |
| 61 | - <select size="5" id="wellBoreSelect" style="width:200px"> | 61 | + <select size="5" id="wellBoreSelect" name="wellboreId" style="width:200px"> |
| 62 | </select> | 62 | </select> |
| 63 | </div><br /> | 63 | </div><br /> |
| 64 | <div> | 64 | <div> |
| 65 | <div class="formHeader">3. Select Date(s):</div> | 65 | <div class="formHeader">3. Select Date(s):</div> |
| 66 | - <input type="text" id="datepicker1" name="date1" style="width: 90px" /> - <input type="text" id="datepicker2" name="date2" style="width: 90px" /> | 66 | + <input type="text" id="datepicker1" name="timeFrom" style="width: 90px" /> - <input type="text" id="datepicker2" name="timeTo" style="width: 90px" /> |
| 67 | <script> | 67 | <script> |
| 68 | $(function() { | 68 | $(function() { |
| 69 | $("#datepicker1").datepicker(); | 69 | $("#datepicker1").datepicker(); | ... | ... |
| 1 | -# baseURI: http://www.reportinghub.no/ep/schema/1.0/core | 1 | +# Saved by TopBraid on Wed Aug 10 13:54:55 BST 2011 |
| 2 | -# imports: http://www.linkedmodel.org/1.2/schema/vaem | 2 | +# baseURI: http://www.reportinghub.no/ep/schema/1.0/core |
| 3 | - | 3 | +# imports: http://www.linkedmodel.org/1.2/schema/vaem |
| 4 | -@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . | 4 | + |
| 5 | -@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . | 5 | +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . |
| 6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . |
| 7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 9 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 10 | - | 10 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 11 | -<http://www.reportinghub.no/ep/schema/1.0/core> | 11 | + |
| 12 | - rdf:type owl:Ontology ; | 12 | +<http://www.reportinghub.no/ep/schema/1.0/core> |
| 13 | - owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ; | 13 | + rdf:type owl:Ontology ; |
| 14 | - owl:versionInfo "0.1.0"^^xsd:string . | 14 | + owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ; |
| 15 | - | 15 | + owl:versionInfo "0.1.0"^^xsd:string . |
| 16 | -ep-core:PhysicalObject | 16 | + |
| 17 | - rdf:type owl:Class ; | 17 | +ep-core:PhysicalObject |
| 18 | - rdfs:label "physical object"^^xsd:string ; | 18 | + rdf:type owl:Class ; |
| 19 | - rdfs:subClassOf ep-core:PhysicalThing . | 19 | + rdfs:label "physical object"^^xsd:string ; |
| 20 | - | 20 | + rdfs:subClassOf ep-core:PhysicalThing . |
| 21 | -ep-core:PhysicalThing | 21 | + |
| 22 | - rdf:type owl:Class ; | 22 | +ep-core:PhysicalThing |
| 23 | - rdfs:label "physical thing"^^xsd:string ; | 23 | + rdf:type owl:Class ; |
| 24 | - rdfs:subClassOf owl:Thing . | 24 | + rdfs:label "physical thing"^^xsd:string ; |
| 25 | - | 25 | + rdfs:subClassOf owl:Thing . |
| 26 | -ep-core:basisFor | 26 | + |
| 27 | - rdf:type owl:ObjectProperty ; | 27 | +ep-core:apiName |
| 28 | - rdfs:label "basis for"^^xsd:string . | 28 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; |
| 29 | - | 29 | + rdfs:label "API name"^^xsd:string ; |
| 30 | -ep-core:derivedFrom | 30 | + rdfs:range xsd:string ; |
| 31 | - rdf:type owl:TransitiveProperty , owl:ObjectProperty ; | 31 | + rdfs:subPropertyOf ep-core:name . |
| 32 | - rdfs:label "derived from"^^xsd:string . | 32 | + |
| 33 | - | 33 | +ep-core:basisFor |
| 34 | -ep-core:hasPart | 34 | + rdf:type owl:ObjectProperty ; |
| 35 | - rdf:type owl:TransitiveProperty ; | 35 | + rdfs:label "basis for"^^xsd:string . |
| 36 | - rdfs:domain ep-core:PhysicalThing ; | 36 | + |
| 37 | - rdfs:label "has part"^^xsd:string ; | 37 | +ep-core:derivedFrom |
| 38 | - rdfs:range ep-core:PhysicalThing ; | 38 | + rdf:type owl:TransitiveProperty , owl:ObjectProperty ; |
| 39 | - owl:inverseOf ep-core:partOf . | 39 | + rdfs:label "derived from"^^xsd:string . |
| 40 | - | 40 | + |
| 41 | -ep-core:hasTemporalPart | 41 | +ep-core:dtiName |
| 42 | - rdf:type owl:TransitiveProperty ; | 42 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; |
| 43 | - rdfs:domain ep-core:PhysicalThing ; | 43 | + rdfs:label "DTI name"^^xsd:string ; |
| 44 | - rdfs:label "has temporal part"^^xsd:string ; | 44 | + rdfs:range xsd:string ; |
| 45 | - rdfs:range ep-core:PhysicalThing ; | 45 | + rdfs:subPropertyOf ep-core:name . |
| 46 | - rdfs:subPropertyOf ep-core:hasPart ; | 46 | + |
| 47 | - owl:inverseOf ep-core:partOf . | 47 | +ep-core:hasPart |
| 48 | - | 48 | + rdf:type owl:TransitiveProperty ; |
| 49 | -ep-core:name | 49 | + rdfs:domain ep-core:PhysicalThing ; |
| 50 | - rdf:type owl:DatatypeProperty ; | 50 | + rdfs:label "has part"^^xsd:string ; |
| 51 | - rdfs:label "name"^^xsd:string ; | 51 | + rdfs:range ep-core:PhysicalThing ; |
| 52 | - rdfs:range xsd:string . | 52 | + owl:inverseOf ep-core:partOf . |
| 53 | - | 53 | + |
| 54 | -ep-core:partOf | 54 | +ep-core:hasTemporalPart |
| 55 | - rdf:type owl:TransitiveProperty ; | 55 | + rdf:type owl:TransitiveProperty ; |
| 56 | - rdfs:domain ep-core:PhysicalThing ; | 56 | + rdfs:domain ep-core:PhysicalThing ; |
| 57 | - rdfs:label "part of"^^xsd:string ; | 57 | + rdfs:label "has temporal part"^^xsd:string ; |
| 58 | - rdfs:range ep-core:PhysicalThing ; | 58 | + rdfs:range ep-core:PhysicalThing ; |
| 59 | - owl:inverseOf ep-core:hasPart . | 59 | + rdfs:subPropertyOf ep-core:hasPart ; |
| 60 | - | 60 | + owl:inverseOf ep-core:partOf . |
| 61 | -ep-core:temporalPartOf | 61 | + |
| 62 | - rdf:type owl:TransitiveProperty ; | 62 | +ep-core:localFieldName |
| 63 | - rdfs:domain ep-core:PhysicalThing ; | 63 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; |
| 64 | - rdfs:label "temporal part of"^^xsd:string ; | 64 | + rdfs:label "local field name"^^xsd:string ; |
| 65 | - rdfs:range ep-core:PhysicalThing ; | 65 | + rdfs:range xsd:string ; |
| 66 | - rdfs:subPropertyOf ep-core:hasPart ; | 66 | + rdfs:subPropertyOf ep-core:name . |
| 67 | - owl:inverseOf ep-core:hasTemporalPart . | 67 | + |
| 68 | +ep-core:name | ||
| 69 | + rdf:type owl:DatatypeProperty ; | ||
| 70 | + rdfs:label "name"^^xsd:string ; | ||
| 71 | + rdfs:range xsd:string . | ||
| 72 | + | ||
| 73 | +ep-core:npdCode | ||
| 74 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; | ||
| 75 | + rdfs:label "NPD code"^^xsd:string ; | ||
| 76 | + rdfs:range xsd:string ; | ||
| 77 | + rdfs:subPropertyOf ep-core:name . | ||
| 78 | + | ||
| 79 | +ep-core:npdName | ||
| 80 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; | ||
| 81 | + rdfs:label "NPD name"^^xsd:string ; | ||
| 82 | + rdfs:range xsd:string ; | ||
| 83 | + rdfs:subPropertyOf ep-core:name . | ||
| 84 | + | ||
| 85 | +ep-core:npdNumber | ||
| 86 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; | ||
| 87 | + rdfs:label "NPD number"^^xsd:string ; | ||
| 88 | + rdfs:range xsd:string ; | ||
| 89 | + rdfs:subPropertyOf ep-core:name . | ||
| 90 | + | ||
| 91 | +ep-core:partOf | ||
| 92 | + rdf:type owl:TransitiveProperty ; | ||
| 93 | + rdfs:domain ep-core:PhysicalThing ; | ||
| 94 | + rdfs:label "part of"^^xsd:string ; | ||
| 95 | + rdfs:range ep-core:PhysicalThing ; | ||
| 96 | + owl:inverseOf ep-core:hasPart . | ||
| 97 | + | ||
| 98 | +ep-core:prospectName | ||
| 99 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; | ||
| 100 | + rdfs:label "prospect name"^^xsd:string ; | ||
| 101 | + rdfs:range xsd:string ; | ||
| 102 | + rdfs:subPropertyOf ep-core:name . | ||
| 103 | + | ||
| 104 | +ep-core:temporalPartOf | ||
| 105 | + rdf:type owl:TransitiveProperty ; | ||
| 106 | + rdfs:domain ep-core:PhysicalThing ; | ||
| 107 | + rdfs:label "temporal part of"^^xsd:string ; | ||
| 108 | + rdfs:range ep-core:PhysicalThing ; | ||
| 109 | + rdfs:subPropertyOf ep-core:hasPart ; | ||
| 110 | + owl:inverseOf ep-core:hasTemporalPart . | ... | ... |
| 1 | -# baseURI: http://www.reportinghub.no/ep/schema/1.0/facility | 1 | +# Saved by TopBraid on Wed Aug 10 13:32:44 BST 2011 |
| 2 | -# imports: http://purl.org/dc/elements/1.1/ | 2 | +# baseURI: http://www.reportinghub.no/ep/schema/1.0/facility |
| 3 | -# imports: http://purl.org/dc/terms/ | 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core |
| 4 | -# imports: http://spinrdf.org/spin | 4 | +# imports: http://purl.org/dc/elements/1.1/ |
| 5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | 5 | +# imports: http://spinrdf.org/spin |
| 6 | - | 6 | +# imports: http://purl.org/dc/terms/ |
| 7 | -@prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> . | 7 | + |
| 8 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 8 | +@prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> . |
| 9 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 9 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 10 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 10 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 11 | -@prefix sp: <http://spinrdf.org/sp#> . | 11 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 12 | -@prefix spin: <http://spinrdf.org/spin#> . | 12 | +@prefix sp: <http://spinrdf.org/sp#> . |
| 13 | -@prefix spl: <http://spinrdf.org/spl#> . | 13 | +@prefix spin: <http://spinrdf.org/spin#> . |
| 14 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 14 | +@prefix spl: <http://spinrdf.org/spl#> . |
| 15 | - | 15 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 16 | -<http://www.reportinghub.no/ep/schema/1.0/facility> | 16 | + |
| 17 | - rdf:type owl:Ontology ; | 17 | +<http://www.reportinghub.no/ep/schema/1.0/facility> |
| 18 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://purl.org/dc/terms/> , <http://purl.org/dc/elements/1.1/> ; | 18 | + rdf:type owl:Ontology ; |
| 19 | - owl:versionInfo "0.1.0"^^xsd:string . | 19 | + owl:imports <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> ; |
| 20 | - | 20 | + owl:versionInfo "0.1.0"^^xsd:string . |
| 21 | -ep-fac:Facility | 21 | + |
| 22 | - rdf:type owl:Class ; | 22 | +ep-fac:AllOrPartOfTheLifeOfARig |
| 23 | - rdfs:label "facility"^^xsd:string ; | 23 | + rdf:type owl:Class ; |
| 24 | - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . | 24 | + rdfs:label "all or part of the life of a rig"^^xsd:string ; |
| 25 | - | 25 | + rdfs:subClassOf ep-fac:Facility . |
| 26 | -ep-fac:FixedFacility | 26 | + |
| 27 | - rdf:type owl:DeprecatedClass ; | 27 | +ep-fac:Facility |
| 28 | - rdfs:subClassOf ep-fac:Facility . | 28 | + rdf:type owl:Class ; |
| 29 | - | 29 | + rdfs:label "facility"^^xsd:string ; |
| 30 | -ep-fac:MoveableFacility | 30 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . |
| 31 | - rdf:type owl:Class ; | 31 | + |
| 32 | - rdfs:subClassOf ep-fac:Facility . | 32 | +ep-fac:FixedFacility |
| 33 | - | 33 | + rdf:type owl:DeprecatedClass ; |
| 34 | -ep-fac:Rig | 34 | + rdfs:subClassOf ep-fac:Facility . |
| 35 | - rdf:type owl:Class ; | 35 | + |
| 36 | - rdfs:subClassOf ep-fac:Facility . | 36 | +ep-fac:MoveableFacility |
| 37 | - | 37 | + rdf:type owl:Class ; |
| 38 | -ep-fac:SubSurfaceFixedFacility | 38 | + rdfs:subClassOf ep-fac:Facility . |
| 39 | - rdf:type owl:Class ; | 39 | + |
| 40 | - rdfs:subClassOf ep-fac:FixedFacility . | 40 | +ep-fac:Rig |
| 41 | - | 41 | + rdf:type owl:Class ; |
| 42 | -ep-fac:SurfaceFixedFacility | 42 | + rdfs:label "rig"^^xsd:string ; |
| 43 | - rdf:type owl:Class ; | 43 | + rdfs:subClassOf ep-fac:AllOrPartOfTheLifeOfARig . |
| 44 | - rdfs:subClassOf ep-fac:FixedFacility . | 44 | + |
| 45 | +ep-fac:SubSurfaceFixedFacility | ||
| 46 | + rdf:type owl:Class ; | ||
| 47 | + rdfs:subClassOf ep-fac:FixedFacility . | ||
| 48 | + | ||
| 49 | +ep-fac:SurfaceFixedFacility | ||
| 50 | + rdf:type owl:Class ; | ||
| 51 | + rdfs:subClassOf ep-fac:FixedFacility . | ||
| 52 | + | ||
| 53 | +ep-fac:TemporalPartOfARig | ||
| 54 | + rdf:type owl:Class ; | ||
| 55 | + rdfs:label "temporal part of a rig"^^xsd:string ; | ||
| 56 | + rdfs:subClassOf ep-fac:AllOrPartOfTheLifeOfARig . | ... | ... |
| 1 | +# Saved by TopBraid on Tue Aug 09 20:54:10 BST 2011 | ||
| 2 | +# baseURI: http://www.reportinghub.no/ep/schema/1.1/activity | ||
| 3 | +# imports: http://www.linkedmodel.org/1.2/schema/vaem | ||
| 4 | +# imports: http://www.reportinghub.no/ep/schema/organization | ||
| 5 | +# imports: http://www.reportinghub.no/ep/schema/equipment | ||
| 6 | +# imports: http://www.linkedmodel.org/1.1/schema/ordered | ||
| 7 | +# imports: http://www.reportinghub.no/ep/schema/1.1/core | ||
| 8 | +# imports: http://www.reportinghub.no/ep/schema/well | ||
| 9 | + | ||
| 10 | +@prefix : <http://www.reportinghub.no/ep/schema/1.1/activity#> . | ||
| 11 | +@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> . | ||
| 12 | +@prefix organization: <http://www.reportinghub.no/ep/schema/organization#> . | ||
| 13 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 14 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 15 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 16 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 17 | + | ||
| 18 | +<http://www.reportinghub.no/ep/schema/1.1/activity> | ||
| 19 | + rdf:type owl:Ontology ; | ||
| 20 | + owl:imports <http://www.reportinghub.no/ep/schema/organization> , <http://www.reportinghub.no/ep/schema/1.1/core> , <http://www.linkedmodel.org/1.2/schema/vaem> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/equipment> , <http://www.reportinghub.no/ep/schema/well> ; | ||
| 21 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 22 | + | ||
| 23 | +ep-activity:Activity | ||
| 24 | + rdf:type owl:Class ; | ||
| 25 | + rdfs:label "Activity"^^xsd:string ; | ||
| 26 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; | ||
| 27 | + rdfs:subClassOf | ||
| 28 | + [ rdf:type owl:Restriction ; | ||
| 29 | + owl:allValuesFrom ep-activity:Activity ; | ||
| 30 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> | ||
| 31 | + ] ; | ||
| 32 | + rdfs:subClassOf | ||
| 33 | + [ rdf:type owl:Restriction ; | ||
| 34 | + owl:allValuesFrom ep-activity:Activity ; | ||
| 35 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> | ||
| 36 | + ] ; | ||
| 37 | + rdfs:subClassOf | ||
| 38 | + [ rdf:type owl:Restriction ; | ||
| 39 | + owl:allValuesFrom ep-activity:Activity ; | ||
| 40 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> | ||
| 41 | + ] ; | ||
| 42 | + rdfs:subClassOf | ||
| 43 | + [ rdf:type owl:Restriction ; | ||
| 44 | + owl:allValuesFrom ep-activity:Activity ; | ||
| 45 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> | ||
| 46 | + ] ; | ||
| 47 | + rdfs:subClassOf | ||
| 48 | + [ rdf:type owl:Restriction ; | ||
| 49 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
| 50 | + owl:onProperty ep-activity:startedAt | ||
| 51 | + ] ; | ||
| 52 | + rdfs:subClassOf | ||
| 53 | + [ rdf:type owl:Restriction ; | ||
| 54 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
| 55 | + owl:onProperty ep-activity:finishedAt | ||
| 56 | + ] . | ||
| 57 | + | ||
| 58 | +ep-activity:DailyDrillingActivity | ||
| 59 | + rdf:type owl:Class ; | ||
| 60 | + rdfs:label "Daily drilling activity"^^xsd:string ; | ||
| 61 | + rdfs:subClassOf ep-activity:DrillingActivity ; | ||
| 62 | + rdfs:subClassOf | ||
| 63 | + [ rdf:type owl:Restriction ; | ||
| 64 | + owl:allValuesFrom ep-activity:DrillingActivity ; | ||
| 65 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> | ||
| 66 | + ] ; | ||
| 67 | + rdfs:subClassOf | ||
| 68 | + [ rdf:type owl:Restriction ; | ||
| 69 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ; | ||
| 70 | + owl:onProperty ep-activity:onWellBore | ||
| 71 | + ] ; | ||
| 72 | + rdfs:subClassOf | ||
| 73 | + [ rdf:type owl:Restriction ; | ||
| 74 | + owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
| 75 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | ||
| 76 | + ] ; | ||
| 77 | + rdfs:subClassOf | ||
| 78 | + [ rdf:type owl:Restriction ; | ||
| 79 | + owl:allValuesFrom ep-activity:DrillingActivity ; | ||
| 80 | + owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | ||
| 81 | + ] ; | ||
| 82 | + rdfs:subClassOf | ||
| 83 | + [ rdf:type owl:Restriction ; | ||
| 84 | + owl:allValuesFrom ep-activity:Activity ; | ||
| 85 | + owl:onProperty <http://www.reportinghub.no/ep/schema/core#hasPart> | ||
| 86 | + ] . | ||
| 87 | + | ||
| 88 | +ep-activity:DailyDrillingReportFinalisationType | ||
| 89 | + rdf:type rdfs:Class ; | ||
| 90 | + rdfs:label "daily drilling report finalisation type"^^xsd:string ; | ||
| 91 | + rdfs:subClassOf owl:Class . | ||
| 92 | + | ||
| 93 | +ep-activity:DailyProductionActivity | ||
| 94 | + rdf:type owl:Class ; | ||
| 95 | + rdfs:label "Daily production activity"^^xsd:string ; | ||
| 96 | + rdfs:subClassOf ep-activity:ProductionActivity ; | ||
| 97 | + rdfs:subClassOf | ||
| 98 | + [ rdf:type owl:Restriction ; | ||
| 99 | + owl:allValuesFrom ep-activity:ProductionActivity ; | ||
| 100 | + owl:onProperty ep-activity:hasSubActivity | ||
| 101 | + ] . | ||
| 102 | + | ||
| 103 | +ep-activity:Drill-bypass | ||
| 104 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 105 | + rdfs:label "drill bypass"^^xsd:string ; | ||
| 106 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 107 | + | ||
| 108 | +ep-activity:Drill-initial | ||
| 109 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 110 | + rdfs:label "drill initial"^^xsd:string ; | ||
| 111 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 112 | + | ||
| 113 | +ep-activity:Drill-re-entry | ||
| 114 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 115 | + rdfs:label "drill re-entry"^^xsd:string ; | ||
| 116 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 117 | + | ||
| 118 | +ep-activity:Drill-re-spud | ||
| 119 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 120 | + rdfs:label "drill re-spud"^^xsd:string ; | ||
| 121 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 122 | + | ||
| 123 | +ep-activity:Drill-redrill | ||
| 124 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 125 | + rdfs:label "redrill"^^xsd:string ; | ||
| 126 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 127 | + | ||
| 128 | +ep-activity:Drill-sidetrack | ||
| 129 | + rdf:type ep-activity:WellBoreDrillingType ; | ||
| 130 | + rdfs:label "drill sidetrack"^^xsd:string ; | ||
| 131 | + rdfs:subClassOf ep-activity:DrillingActivity . | ||
| 132 | + | ||
| 133 | +ep-activity:DrillingActivity | ||
| 134 | + rdf:type owl:Class ; | ||
| 135 | + rdfs:label "Drilling activity"^^xsd:string ; | ||
| 136 | + rdfs:subClassOf ep-activity:Activity . | ||
| 137 | + | ||
| 138 | +ep-activity:FormationIntegrityTest | ||
| 139 | + rdf:type ep-activity:PressureTestType , owl:Class ; | ||
| 140 | + rdfs:label "formation integrity test"^^xsd:string ; | ||
| 141 | + rdfs:subClassOf ep-activity:WellBorePressureTest ; | ||
| 142 | + owl:disjointWith ep-activity:LeakOffTest . | ||
| 143 | + | ||
| 144 | +ep-activity:LeakOffTest | ||
| 145 | + rdf:type ep-activity:PressureTestType , owl:Class ; | ||
| 146 | + rdfs:label "leak-off test"^^xsd:string ; | ||
| 147 | + rdfs:subClassOf ep-activity:WellBorePressureTest ; | ||
| 148 | + owl:disjointWith ep-activity:FormationIntegrityTest . | ||
| 149 | + | ||
| 150 | +ep-activity:MonthlyDrillingActivity | ||
| 151 | + rdf:type owl:Class ; | ||
| 152 | + rdfs:label "Weekly drilling activity"^^xsd:string ; | ||
| 153 | + rdfs:subClassOf ep-activity:DrillingActivity ; | ||
| 154 | + rdfs:subClassOf | ||
| 155 | + [ rdf:type owl:Restriction ; | ||
| 156 | + owl:allValuesFrom ep-activity:WeeklyDrillingActivity ; | ||
| 157 | + owl:onProperty ep-activity:hasSubActivity | ||
| 158 | + ] . | ||
| 159 | + | ||
| 160 | +ep-activity:MonthlyProductionActivity | ||
| 161 | + rdf:type owl:Class ; | ||
| 162 | + rdfs:label "Monthly production activity"^^xsd:string ; | ||
| 163 | + rdfs:subClassOf ep-activity:ProductionActivity ; | ||
| 164 | + rdfs:subClassOf | ||
| 165 | + [ rdf:type owl:Restriction ; | ||
| 166 | + owl:allValuesFrom ep-activity:WeeklyProductionActivity ; | ||
| 167 | + owl:onProperty ep-activity:hasSubActivity | ||
| 168 | + ] . | ||
| 169 | + | ||
| 170 | +ep-activity:OffshoreActivity | ||
| 171 | + rdf:type owl:Class ; | ||
| 172 | + rdfs:label "Offshore activity"^^xsd:string ; | ||
| 173 | + rdfs:subClassOf ep-activity:Activity . | ||
| 174 | + | ||
| 175 | +ep-activity:OffshoreWellActivity | ||
| 176 | + rdf:type owl:Class ; | ||
| 177 | + rdfs:label "Offshore well activity"^^xsd:string ; | ||
| 178 | + rdfs:subClassOf ep-activity:OffshoreActivity ; | ||
| 179 | + rdfs:subClassOf | ||
| 180 | + [ rdf:type owl:Restriction ; | ||
| 181 | + owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ; | ||
| 182 | + owl:onProperty ep-activity:onWell | ||
| 183 | + ] ; | ||
| 184 | + rdfs:subClassOf | ||
| 185 | + [ rdf:type owl:Restriction ; | ||
| 186 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
| 187 | + owl:onProperty ep-activity:onRig | ||
| 188 | + ] ; | ||
| 189 | + rdfs:subClassOf | ||
| 190 | + [ rdf:type owl:Restriction ; | ||
| 191 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
| 192 | + owl:onProperty ep-activity:onWell | ||
| 193 | + ] . | ||
| 194 | + | ||
| 195 | +ep-activity:PressureTestType | ||
| 196 | + rdf:type rdfs:Class ; | ||
| 197 | + rdfs:label "pressure test type"^^xsd:string ; | ||
| 198 | + rdfs:subClassOf owl:Class . | ||
| 199 | + | ||
| 200 | +ep-activity:ProductionActivity | ||
| 201 | + rdf:type owl:Class ; | ||
| 202 | + rdfs:label "Production activity"^^xsd:string ; | ||
| 203 | + rdfs:subClassOf ep-activity:Activity . | ||
| 204 | + | ||
| 205 | +ep-activity:WeeklyDrillingActivity | ||
| 206 | + rdf:type owl:Class ; | ||
| 207 | + rdfs:label "Weekly drilling activity"^^xsd:string ; | ||
| 208 | + rdfs:subClassOf ep-activity:DrillingActivity ; | ||
| 209 | + rdfs:subClassOf | ||
| 210 | + [ rdf:type owl:Restriction ; | ||
| 211 | + owl:allValuesFrom ep-activity:DailyDrillingActivity ; | ||
| 212 | + owl:onProperty ep-activity:hasSubActivity | ||
| 213 | + ] . | ||
| 214 | + | ||
| 215 | +ep-activity:WeeklyProductionActivity | ||
| 216 | + rdf:type owl:Class ; | ||
| 217 | + rdfs:label "Weekly production activity"^^xsd:string ; | ||
| 218 | + rdfs:subClassOf ep-activity:ProductionActivity ; | ||
| 219 | + rdfs:subClassOf | ||
| 220 | + [ rdf:type owl:Restriction ; | ||
| 221 | + owl:allValuesFrom ep-activity:DailyProductionActivity ; | ||
| 222 | + owl:onProperty ep-activity:hasSubActivity | ||
| 223 | + ] . | ||
| 224 | + | ||
| 225 | +ep-activity:WellBoreDrillingType | ||
| 226 | + rdf:type rdfs:Class ; | ||
| 227 | + rdfs:label "well bore drilling type"^^xsd:string ; | ||
| 228 | + rdfs:subClassOf owl:Class . | ||
| 229 | + | ||
| 230 | +ep-activity:WellBorePressureTest | ||
| 231 | + rdf:type owl:Class ; | ||
| 232 | + rdfs:label "well bore pressure test"^^xsd:string ; | ||
| 233 | + rdfs:subClassOf ep-activity:Activity . | ||
| 234 | + | ||
| 235 | +ep-activity:createdAt | ||
| 236 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; | ||
| 237 | + rdfs:label "created at"^^xsd:string ; | ||
| 238 | + rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | ||
| 239 | + | ||
| 240 | +ep-activity:finishedAt | ||
| 241 | + rdf:type owl:DatatypeProperty ; | ||
| 242 | + rdfs:label "finished at"^^xsd:string ; | ||
| 243 | + rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | ||
| 244 | + | ||
| 245 | +ep-activity:hasSubActivity | ||
| 246 | + rdf:type owl:ObjectProperty ; | ||
| 247 | + rdfs:label "has sub activity"^^xsd:string . | ||
| 248 | + | ||
| 249 | +ep-activity:onRig | ||
| 250 | + rdf:type owl:ObjectProperty ; | ||
| 251 | + rdfs:label "on rig"^^xsd:string . | ||
| 252 | + | ||
| 253 | +ep-activity:onWell | ||
| 254 | + rdf:type owl:ObjectProperty ; | ||
| 255 | + rdfs:label "on well"^^xsd:string . | ||
| 256 | + | ||
| 257 | +ep-activity:onWellBore | ||
| 258 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | ||
| 259 | + rdfs:label "on WellBore"^^xsd:string . | ||
| 260 | + | ||
| 261 | +ep-activity:reportOn | ||
| 262 | + rdf:type owl:ObjectProperty ; | ||
| 263 | + rdfs:label "report on"^^xsd:string . | ||
| 264 | + | ||
| 265 | +ep-activity:startedAt | ||
| 266 | + rdf:type owl:DatatypeProperty ; | ||
| 267 | + rdfs:label "started at"^^xsd:string ; | ||
| 268 | + rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> . | ||
| 269 | + | ||
| 270 | +ep-activity:wellBoreDrillingType | ||
| 271 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | ||
| 272 | + rdfs:domain ep-activity:DrillingActivity ; | ||
| 273 | + rdfs:label "has sub activity"^^xsd:string ; | ||
| 274 | + rdfs:range ep-activity:WellBoreDrillingType ; | ||
| 275 | + rdfs:subPropertyOf rdf:type . | ||
| 276 | + | ||
| 277 | +ep-activity:wellboreDrillingContractor | ||
| 278 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | ||
| 279 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
| 280 | + rdfs:label "wellbore drilling contractor"^^xsd:string ; | ||
| 281 | + rdfs:range organization:Company . | ||
| 282 | + | ||
| 283 | +ep-activity:wellboreOperator | ||
| 284 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | ||
| 285 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
| 286 | + rdfs:label "wellbore operator"^^xsd:string ; | ||
| 287 | + rdfs:range organization:Company . | ||
| 288 | + | ||
| 289 | +<http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport> | ||
| 290 | + rdf:type ep-activity:DailyDrillingReportFinalisationType . | ||
| 291 | + | ||
| 292 | +<http://www.reportinghub.no/ep/schema/report#NormalDailyDrillingReport> | ||
| 293 | + rdf:type ep-activity:DailyDrillingReportFinalisationType . | ||
| 294 | + | ||
| 295 | +<http://www.reportinghub.no/ep/schema/report#PreliminaryDailyDrillingReport> | ||
| 296 | + rdf:type ep-activity:DailyDrillingReportFinalisationType . |
This diff could not be displayed because it is too large.
| 1 | -# baseURI: null | 1 | +# Saved by TopBraid on Wed Aug 10 13:36:32 BST 2011 |
| 2 | - | 2 | +# baseURI: null |
| 3 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 3 | + |
| 4 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | 4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
| 5 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | 5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . |
| 6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . |
| 7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 9 | -@prefix visual: <http://topbraid.org/visual#> . | 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | +@prefix visual: <http://topbraid.org/visual#> . |
| 11 | - | 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 12 | -[] rdf:type inference:Configuration ; | 12 | + |
| 13 | - composite:child | 13 | +[] rdf:type inference:Configuration ; |
| 14 | - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | + composite:child |
| 15 | - composite:index "0"^^xsd:int | 15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
| 16 | - ] . | 16 | + composite:index "0"^^xsd:int |
| 17 | + ] . | ... | ... |
| 1 | -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | 1 | +# Saved by TopBraid on Wed Aug 10 11:13:52 BST 2011 |
| 2 | -# imports: http://spinrdf.org/spin | 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport |
| 3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity | 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/report |
| 4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | 4 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib |
| 5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well |
| 6 | -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | 6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core |
| 7 | -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 7 | +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
| 8 | -# imports: http://www.reportinghub.no/ep/schema/1.0/report | 8 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose |
| 9 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | 9 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity |
| 10 | -# imports: http://www.reportinghub.no/ep/spin/1.1/lib | 10 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr |
| 11 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr | 11 | +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr |
| 12 | - | 12 | +# imports: http://spinrdf.org/spin |
| 13 | -@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . | 13 | + |
| 14 | -@prefix arg: <http://spinrdf.org/arg#> . | 14 | +@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . |
| 15 | -@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . | 15 | +@prefix arg: <http://spinrdf.org/arg#> . |
| 16 | -@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . | 16 | +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . |
| 17 | -@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . | 17 | +@prefix ddr-normalization: <http://www.reportinghub.no/ep/transform/ddr/normalization#> . |
| 18 | -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | 18 | +@prefix ddr-normalization-1.1: <http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#> . |
| 19 | -@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> . | 19 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . |
| 20 | -@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . | 20 | +@prefix iso15926: <http://www.reportinghub.no/iso15926/nativeOWL#> . |
| 21 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 21 | +@prefix normalization: <http://www.reportinghub.no/ep/transform/normalization#> . |
| 22 | -@prefix p1: <http://example.org/file1#> . | 22 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 23 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 23 | +@prefix p1: <http://example.org/file1#> . |
| 24 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 24 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 25 | -@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . | 25 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 26 | -@prefix sp: <http://spinrdf.org/sp#> . | 26 | +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . |
| 27 | -@prefix spin: <http://spinrdf.org/spin#> . | 27 | +@prefix sp: <http://spinrdf.org/sp#> . |
| 28 | -@prefix spl: <http://spinrdf.org/spl#> . | 28 | +@prefix spin: <http://spinrdf.org/spin#> . |
| 29 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 29 | +@prefix spl: <http://spinrdf.org/spl#> . |
| 30 | - | 30 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 31 | -<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | 31 | + |
| 32 | - spin:rule | 32 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> |
| 33 | - [ rdf:type sp:Construct ; | 33 | + spin:rule |
| 34 | + [ rdf:type sp:Construct ; | ||
| 35 | + rdfs:comment "STEP 104 Create Well"^^xsd:string ; | ||
| 36 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | ||
| 37 | + sp:predicate rdf:type ; | ||
| 38 | + sp:subject _:b1 | ||
| 39 | + ] [ sp:object _:b2 ; | ||
| 40 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | ||
| 41 | + sp:subject _:b1 | ||
| 42 | + ] [ sp:object _:b1 ; | ||
| 43 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; | ||
| 44 | + sp:subject _:b3 | ||
| 45 | + ] [ sp:object _:b4 ; | ||
| 46 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
| 47 | + sp:subject _:b1 | ||
| 48 | + ]) ; | ||
| 49 | + sp:where ([ sp:object _:b5 ; | ||
| 50 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 51 | + sp:subject spin:_this | ||
| 52 | + ] [ sp:object _:b2 ; | ||
| 53 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; | ||
| 54 | + sp:subject spin:_this | ||
| 55 | + ] [ sp:object _:b6 ; | ||
| 56 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 57 | + sp:subject spin:_this | ||
| 58 | + ] [ sp:object _:b7 ; | ||
| 59 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 60 | + sp:subject _:b3 | ||
| 61 | + ] [ sp:object _:b4 ; | ||
| 62 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 63 | + sp:subject _:b7 | ||
| 64 | + ] [ rdf:type sp:Bind ; | ||
| 65 | + sp:expression | ||
| 66 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 67 | + sp:arg1 _:b5 | ||
| 68 | + ] ; | ||
| 69 | + sp:variable _:b8 | ||
| 70 | + ] [ rdf:type sp:Bind ; | ||
| 71 | + sp:expression | ||
| 72 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 73 | + sp:arg1 _:b8 ; | ||
| 74 | + sp:arg2 _:b6 | ||
| 75 | + ] ; | ||
| 76 | + sp:variable _:b3 | ||
| 77 | + ] [ rdf:type sp:Bind ; | ||
| 78 | + sp:expression | ||
| 79 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 80 | + sp:arg1 _:b2 | ||
| 81 | + ] ; | ||
| 82 | + sp:variable _:b9 | ||
| 83 | + ] [ rdf:type sp:Bind ; | ||
| 84 | + sp:expression | ||
| 85 | + [ rdf:type rhspin:wellByName ; | ||
| 86 | + arg:wellName _:b9 | ||
| 87 | + ] ; | ||
| 88 | + sp:variable _:b1 | ||
| 89 | + ]) | ||
| 90 | + ] ; | ||
| 91 | + spin:rule | ||
| 92 | + [ rdf:type sp:Construct ; | ||
| 93 | + rdfs:comment "STEP 102 Transfer dTimEnd"^^xsd:string ; | ||
| 94 | + sp:templates ([ sp:object _:b10 ; | ||
| 95 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | ||
| 96 | + sp:subject _:b11 | ||
| 97 | + ]) ; | ||
| 98 | + sp:where ([ sp:object _:b12 ; | ||
| 99 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 100 | + sp:subject spin:_this | ||
| 101 | + ] [ sp:object _:b13 ; | ||
| 102 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 103 | + sp:subject spin:_this | ||
| 104 | + ] [ sp:object _:b10 ; | ||
| 105 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; | ||
| 106 | + sp:subject spin:_this | ||
| 107 | + ] [ rdf:type sp:Bind ; | ||
| 108 | + sp:expression | ||
| 109 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 110 | + sp:arg1 _:b12 | ||
| 111 | + ] ; | ||
| 112 | + sp:variable _:b14 | ||
| 113 | + ] [ rdf:type sp:Bind ; | ||
| 114 | + sp:expression | ||
| 115 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 116 | + sp:arg1 _:b14 ; | ||
| 117 | + sp:arg2 _:b13 | ||
| 118 | + ] ; | ||
| 119 | + sp:variable _:b11 | ||
| 120 | + ]) | ||
| 121 | + ] ; | ||
| 122 | + spin:rule | ||
| 123 | + [ rdf:type sp:Construct ; | ||
| 34 | rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore | 124 | rdfs:comment """STEP 101 Create DailyDrillingReport, DailyDrillingActivity, TemporalPartOfAWellBore and WellBore |
| 35 | -Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; | 125 | +Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; |
| 36 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ; | 126 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> ; |
| 37 | - sp:predicate rdf:type ; | 127 | + sp:predicate rdf:type ; |
| 38 | - sp:subject _:b1 | 128 | + sp:subject _:b15 |
| 39 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; | 129 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivity> ; |
| 40 | - sp:predicate rdf:type ; | 130 | + sp:predicate rdf:type ; |
| 41 | - sp:subject _:b2 | 131 | + sp:subject _:b16 |
| 42 | - ] [ sp:object _:b2 ; | 132 | + ] [ sp:object _:b16 ; |
| 43 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; | 133 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#reportOn> ; |
| 44 | - sp:subject _:b1 | 134 | + sp:subject _:b15 |
| 45 | - ] [ sp:object _:b3 ; | 135 | + ] [ sp:object _:b17 ; |
| 46 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ; | 136 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#createdAt> ; |
| 47 | - sp:subject _:b1 | 137 | + sp:subject _:b15 |
| 48 | - ] [ sp:object _:b4 ; | 138 | + ] [ sp:object _:b18 ; |
| 49 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 139 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
| 50 | - sp:subject _:b2 | 140 | + sp:subject _:b16 |
| 51 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; | 141 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; |
| 52 | - sp:predicate rdf:type ; | 142 | + sp:predicate rdf:type ; |
| 53 | - sp:subject _:b5 | 143 | + sp:subject _:b19 |
| 54 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 144 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
| 55 | - sp:predicate rdf:type ; | 145 | + sp:predicate rdf:type ; |
| 56 | - sp:subject _:b6 | 146 | + sp:subject _:b20 |
| 57 | - ] [ sp:object _:b6 ; | 147 | + ] [ sp:object _:b20 ; |
| 58 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 148 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 59 | - sp:subject _:b5 | 149 | + sp:subject _:b19 |
| 60 | - ] [ sp:object _:b7 ; | 150 | + ] [ sp:object _:b21 ; |
| 61 | - sp:predicate rdfs:label ; | 151 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
| 62 | - sp:subject _:b6 | 152 | + sp:subject _:b20 |
| 63 | - ] [ sp:object _:b5 ; | 153 | + ] [ sp:object _:b19 ; |
| 64 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 154 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; |
| 65 | - sp:subject _:b2 | 155 | + sp:subject _:b16 |
| 66 | - ]) ; | 156 | + ]) ; |
| 67 | - sp:where ([ sp:object _:b7 ; | 157 | + sp:where ([ sp:object _:b21 ; |
| 68 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | 158 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; |
| 69 | - sp:subject spin:_this | 159 | + sp:subject spin:_this |
| 70 | - ] [ sp:object _:b4 ; | 160 | + ] [ sp:object _:b18 ; |
| 71 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | 161 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; |
| 72 | - sp:subject spin:_this | 162 | + sp:subject spin:_this |
| 73 | - ] [ sp:object _:b8 ; | 163 | + ] [ sp:object _:b22 ; |
| 74 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | 164 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; |
| 75 | - sp:subject spin:_this | 165 | + sp:subject spin:_this |
| 76 | - ] [ sp:object _:b3 ; | 166 | + ] [ sp:object _:b17 ; |
| 77 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | 167 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; |
| 78 | - sp:subject spin:_this | 168 | + sp:subject spin:_this |
| 79 | - ] [ rdf:type sp:Bind ; | 169 | + ] [ rdf:type sp:Bind ; |
| 80 | - sp:expression | 170 | + sp:expression |
| 81 | - [ rdf:type ep-spin-lib:normalizeString ; | 171 | + [ rdf:type ep-spin-lib:normalizeString ; |
| 82 | - sp:arg1 _:b7 | 172 | + sp:arg1 _:b21 |
| 83 | - ] ; | 173 | + ] ; |
| 84 | - sp:variable _:b9 | 174 | + sp:variable _:b23 |
| 85 | - ] [ rdf:type sp:Bind ; | 175 | + ] [ rdf:type sp:Bind ; |
| 86 | - sp:expression | 176 | + sp:expression |
| 87 | - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | 177 | + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; |
| 88 | - sp:arg1 _:b9 ; | 178 | + sp:arg1 _:b23 ; |
| 89 | - sp:arg2 _:b3 | 179 | + sp:arg2 _:b17 |
| 90 | - ] ; | 180 | + ] ; |
| 91 | - sp:variable _:b1 | 181 | + sp:variable _:b15 |
| 92 | - ] [ rdf:type sp:Bind ; | 182 | + ] [ rdf:type sp:Bind ; |
| 93 | - sp:expression | 183 | + sp:expression |
| 94 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | 184 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; |
| 95 | - sp:arg1 _:b9 ; | 185 | + sp:arg1 _:b23 ; |
| 96 | - sp:arg2 _:b4 | 186 | + sp:arg2 _:b18 |
| 97 | - ] ; | 187 | + ] ; |
| 98 | - sp:variable _:b2 | 188 | + sp:variable _:b16 |
| 99 | - ] [ rdf:type sp:Bind ; | 189 | + ] [ rdf:type sp:Bind ; |
| 100 | - sp:expression | 190 | + sp:expression |
| 101 | - [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; | 191 | + [ rdf:type ep-spin-lib:buildTemporalPartOfAWellBoreURI ; |
| 102 | - sp:arg1 _:b9 ; | 192 | + sp:arg1 _:b23 ; |
| 103 | - sp:arg2 _:b4 ; | 193 | + sp:arg2 _:b18 ; |
| 104 | - sp:arg3 _:b8 | 194 | + sp:arg3 _:b22 |
| 105 | - ] ; | 195 | + ] ; |
| 106 | - sp:variable _:b5 | 196 | + sp:variable _:b19 |
| 107 | - ] [ rdf:type sp:Bind ; | 197 | + ] [ rdf:type sp:Bind ; |
| 108 | - sp:expression | 198 | + sp:expression |
| 109 | - [ rdf:type rhspin:wellBoreByName ; | 199 | + [ rdf:type rhspin:wellBoreByName ; |
| 110 | - arg:wellBoreName _:b7 | 200 | + arg:wellBoreName _:b21 |
| 111 | - ] ; | 201 | + ] ; |
| 112 | - sp:variable _:b6 | 202 | + sp:variable _:b20 |
| 113 | - ]) | 203 | + ]) |
| 114 | - ] ; | 204 | + ] ; |
| 115 | - spin:rule | 205 | + spin:rule |
| 116 | - [ rdf:type sp:Construct ; | 206 | + [ rdf:type sp:Construct ; |
| 117 | rdfs:comment """STEP 103 | 207 | rdfs:comment """STEP 103 |
| 118 | -Classify a DailyDrillingReport"""^^xsd:string ; | 208 | +Classify a DailyDrillingReport"""^^xsd:string ; |
| 119 | - sp:templates ([ sp:object _:b10 ; | 209 | + sp:templates ([ sp:object _:b24 ; |
| 120 | - sp:predicate rdf:type ; | 210 | + sp:predicate rdf:type ; |
| 121 | - sp:subject _:b11 | 211 | + sp:subject _:b25 |
| 122 | - ]) ; | 212 | + ]) ; |
| 123 | - sp:where ([ sp:object _:b12 ; | 213 | + sp:where ([ sp:object _:b26 ; |
| 124 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | 214 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; |
| 125 | - sp:subject spin:_this | 215 | + sp:subject spin:_this |
| 126 | - ] [ sp:object _:b13 ; | 216 | + ] [ sp:object _:b27 ; |
| 127 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | 217 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; |
| 128 | - sp:subject spin:_this | 218 | + sp:subject spin:_this |
| 129 | - ] [ sp:object _:b14 ; | 219 | + ] [ sp:object _:b28 ; |
| 130 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumVersionKind> ; | 220 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumVersionKind> ; |
| 131 | - sp:subject spin:_this | 221 | + sp:subject spin:_this |
| 132 | - ] [ rdf:type sp:Bind ; | 222 | + ] [ rdf:type sp:Bind ; |
| 133 | - sp:expression | 223 | + sp:expression |
| 134 | - [ rdf:type ep-spin-lib:selectDailyDrillingReportType ; | 224 | + [ rdf:type ep-spin-lib:selectDailyDrillingReportType ; |
| 135 | - sp:arg1 _:b14 | 225 | + sp:arg1 _:b28 |
| 136 | - ] ; | 226 | + ] ; |
| 137 | - sp:variable _:b10 | 227 | + sp:variable _:b24 |
| 138 | - ] [ rdf:type sp:Bind ; | 228 | + ] [ rdf:type sp:Bind ; |
| 139 | - sp:expression | 229 | + sp:expression |
| 140 | - [ rdf:type ep-spin-lib:normalizeString ; | 230 | + [ rdf:type ep-spin-lib:normalizeString ; |
| 141 | - sp:arg1 _:b12 | 231 | + sp:arg1 _:b26 |
| 142 | - ] ; | 232 | + ] ; |
| 143 | - sp:variable _:b15 | 233 | + sp:variable _:b29 |
| 144 | - ] [ rdf:type sp:Bind ; | 234 | + ] [ rdf:type sp:Bind ; |
| 145 | - sp:expression | 235 | + sp:expression |
| 146 | - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | 236 | + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; |
| 147 | - sp:arg1 _:b15 ; | 237 | + sp:arg1 _:b29 ; |
| 148 | - sp:arg2 _:b13 | 238 | + sp:arg2 _:b27 |
| 149 | - ] ; | 239 | + ] ; |
| 150 | - sp:variable _:b11 | 240 | + sp:variable _:b25 |
| 151 | - ]) | 241 | + ]) |
| 152 | - ] ; | 242 | + ] ; |
| 153 | - spin:rule | 243 | + spin:rule |
| 154 | - [ rdf:type sp:Construct ; | 244 | + [ rdf:type sp:Construct ; |
| 155 | rdfs:comment """STEP 101a Set name of DailyDrillingReport as label | 245 | rdfs:comment """STEP 101a Set name of DailyDrillingReport as label |
| 156 | -Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; | 246 | +Minimum data - createDate, dTimStart, nameWellBore"""^^xsd:string ; |
| 157 | - sp:templates ([ sp:object _:b16 ; | 247 | + sp:templates ([ sp:object _:b30 ; |
| 158 | - sp:predicate rdfs:label ; | 248 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
| 159 | - sp:subject _:b17 | 249 | + sp:subject _:b31 |
| 160 | - ]) ; | 250 | + ]) ; |
| 161 | - sp:where ([ sp:object _:b18 ; | 251 | + sp:where ([ sp:object _:b32 ; |
| 162 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | 252 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; |
| 163 | - sp:subject spin:_this | 253 | + sp:subject spin:_this |
| 164 | - ] [ sp:object _:b16 ; | 254 | + ] [ sp:object _:b30 ; |
| 165 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; | 255 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; |
| 166 | - sp:subject spin:_this | 256 | + sp:subject spin:_this |
| 167 | - ] [ sp:object _:b19 ; | 257 | + ] [ sp:object _:b33 ; |
| 168 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; | 258 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#createDate> ; |
| 169 | - sp:subject spin:_this | 259 | + sp:subject spin:_this |
| 170 | - ] [ rdf:type sp:Bind ; | 260 | + ] [ rdf:type sp:Bind ; |
| 171 | - sp:expression | 261 | + sp:expression |
| 172 | - [ rdf:type ep-spin-lib:normalizeString ; | 262 | + [ rdf:type ep-spin-lib:normalizeString ; |
| 173 | - sp:arg1 _:b18 | 263 | + sp:arg1 _:b32 |
| 174 | - ] ; | 264 | + ] ; |
| 175 | - sp:variable _:b20 | 265 | + sp:variable _:b34 |
| 176 | - ] [ rdf:type sp:Bind ; | 266 | + ] [ rdf:type sp:Bind ; |
| 177 | - sp:expression | 267 | + sp:expression |
| 178 | - [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; | 268 | + [ rdf:type ep-spin-lib:buildDailyDrillingReportURI ; |
| 179 | - sp:arg1 _:b20 ; | 269 | + sp:arg1 _:b34 ; |
| 180 | - sp:arg2 _:b19 | 270 | + sp:arg2 _:b33 |
| 181 | - ] ; | 271 | + ] ; |
| 182 | - sp:variable _:b17 | 272 | + sp:variable _:b31 |
| 183 | - ]) | 273 | + ]) |
| 184 | - ] ; | 274 | + ] . |
| 185 | - spin:rule | 275 | + |
| 186 | - [ rdf:type sp:Construct ; | 276 | +<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> |
| 187 | - rdfs:comment "STEP 102 Transfer dTimEnd"^^xsd:string ; | 277 | + rdf:type owl:Ontology ; |
| 188 | - sp:templates ([ sp:object _:b21 ; | 278 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/transform/1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.0/report> ; |
| 189 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 279 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 190 | - sp:subject _:b22 | 280 | + |
| 191 | - ]) ; | 281 | +_:b32 |
| 192 | - sp:where ([ sp:object _:b23 ; | 282 | + sp:varName "nameWellBore"^^xsd:string . |
| 193 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | 283 | + |
| 194 | - sp:subject spin:_this | 284 | +_:b30 |
| 195 | - ] [ sp:object _:b24 ; | 285 | + sp:varName "nameDailyDrillingReport"^^xsd:string . |
| 196 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | 286 | + |
| 197 | - sp:subject spin:_this | 287 | +_:b33 |
| 198 | - ] [ sp:object _:b21 ; | 288 | + sp:varName "createDate"^^xsd:string . |
| 199 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimEnd> ; | 289 | + |
| 200 | - sp:subject spin:_this | 290 | +_:b34 |
| 201 | - ] [ rdf:type sp:Bind ; | 291 | + sp:varName "normalizedWellBoreName"^^xsd:string . |
| 202 | - sp:expression | 292 | + |
| 203 | - [ rdf:type ep-spin-lib:normalizeString ; | 293 | +_:b31 |
| 204 | - sp:arg1 _:b23 | 294 | + sp:varName "dailyDrillingReport"^^xsd:string . |
| 205 | - ] ; | 295 | + |
| 206 | - sp:variable _:b25 | 296 | +_:b21 |
| 207 | - ] [ rdf:type sp:Bind ; | 297 | + sp:varName "nameWellBore"^^xsd:string . |
| 208 | - sp:expression | 298 | + |
| 209 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | 299 | +_:b18 |
| 210 | - sp:arg1 _:b25 ; | 300 | + sp:varName "dTimStart"^^xsd:string . |
| 211 | - sp:arg2 _:b24 | 301 | + |
| 212 | - ] ; | 302 | +_:b22 |
| 213 | - sp:variable _:b22 | 303 | + sp:varName "dTimEnd"^^xsd:string . |
| 214 | - ]) | 304 | + |
| 215 | - ] ; | 305 | +_:b17 |
| 216 | - spin:rule | 306 | + sp:varName "createDate"^^xsd:string . |
| 217 | - [ rdf:type sp:Construct ; | 307 | + |
| 218 | - rdfs:comment "STEP 104 Create Well"^^xsd:string ; | 308 | +_:b23 |
| 219 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | 309 | + sp:varName "normalizedWellBoreName"^^xsd:string . |
| 220 | - sp:predicate rdf:type ; | 310 | + |
| 221 | - sp:subject _:b26 | 311 | +_:b15 |
| 222 | - ] [ sp:object _:b27 ; | 312 | + sp:varName "dailyDrillingReport"^^xsd:string . |
| 223 | - sp:predicate rdfs:label ; | 313 | + |
| 224 | - sp:subject _:b26 | 314 | +_:b16 |
| 225 | - ] [ sp:object _:b26 ; | 315 | + sp:varName "dailyDrillingActivity"^^xsd:string . |
| 226 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; | 316 | + |
| 227 | - sp:subject _:b28 | 317 | +_:b19 |
| 228 | - ] [ sp:object _:b29 ; | 318 | + sp:varName "temporalPartOfAWellBore"^^xsd:string . |
| 229 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | 319 | + |
| 230 | - sp:subject _:b26 | 320 | +_:b20 |
| 231 | - ]) ; | 321 | + sp:varName "wellBore"^^xsd:string . |
| 232 | - sp:where ([ sp:object _:b30 ; | 322 | + |
| 233 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | 323 | +_:b5 sp:varName "nameWellBore"^^xsd:string . |
| 234 | - sp:subject spin:_this | 324 | + |
| 235 | - ] [ sp:object _:b27 ; | 325 | +_:b2 sp:varName "nameWell"^^xsd:string . |
| 236 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWell> ; | 326 | + |
| 237 | - sp:subject spin:_this | 327 | +_:b6 sp:varName "dTimStart"^^xsd:string . |
| 238 | - ] [ sp:object _:b31 ; | 328 | + |
| 239 | - sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | 329 | +_:b3 sp:varName "dailyDrillingActivity"^^xsd:string . |
| 240 | - sp:subject spin:_this | 330 | + |
| 241 | - ] [ sp:object _:b29 ; | 331 | +_:b7 sp:varName "temporalPartOfAWellBore"^^xsd:string . |
| 242 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 332 | + |
| 243 | - sp:subject _:b28 | 333 | +_:b4 sp:varName "wellBore"^^xsd:string . |
| 244 | - ] [ rdf:type sp:Bind ; | 334 | + |
| 245 | - sp:expression | 335 | +_:b8 sp:varName "normalizedWellBoreName"^^xsd:string . |
| 246 | - [ rdf:type ep-spin-lib:normalizeString ; | 336 | + |
| 247 | - sp:arg1 _:b30 | 337 | +_:b9 sp:varName "normalizedWellName"^^xsd:string . |
| 248 | - ] ; | 338 | + |
| 249 | - sp:variable _:b32 | 339 | +_:b1 sp:varName "well"^^xsd:string . |
| 250 | - ] [ rdf:type sp:Bind ; | 340 | + |
| 251 | - sp:expression | 341 | +_:b24 |
| 252 | - [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | 342 | + sp:varName "dailyDrillingReportType"^^xsd:string . |
| 253 | - sp:arg1 _:b32 ; | 343 | + |
| 254 | - sp:arg2 _:b31 | 344 | +_:b25 |
| 255 | - ] ; | 345 | + sp:varName "dailyDrillingReport"^^xsd:string . |
| 256 | - sp:variable _:b28 | 346 | + |
| 257 | - ] [ rdf:type sp:Bind ; | 347 | +_:b26 |
| 258 | - sp:expression | 348 | + sp:varName "nameWellBore"^^xsd:string . |
| 259 | - [ rdf:type ep-spin-lib:normalizeString ; | 349 | + |
| 260 | - sp:arg1 _:b27 | 350 | +_:b27 |
| 261 | - ] ; | 351 | + sp:varName "createDate"^^xsd:string . |
| 262 | - sp:variable _:b33 | 352 | + |
| 263 | - ] [ rdf:type sp:Bind ; | 353 | +_:b28 |
| 264 | - sp:expression | 354 | + sp:varName "versionKind"^^xsd:string . |
| 265 | - [ rdf:type rhspin:wellByName ; | 355 | + |
| 266 | - sp:arg1 _:b33 | 356 | +_:b29 |
| 267 | - ] ; | 357 | + sp:varName "normalizedWellBoreName"^^xsd:string . |
| 268 | - sp:variable _:b26 | 358 | + |
| 269 | - ]) | 359 | +_:b10 |
| 270 | - ] . | 360 | + sp:varName "dTimEnd"^^xsd:string . |
| 271 | - | 361 | + |
| 272 | -<http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> | 362 | +_:b11 |
| 273 | - rdf:type owl:Ontology ; | 363 | + sp:varName "dailyDrillingActivity"^^xsd:string . |
| 274 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/transform/1.1/ddr> ; | 364 | + |
| 275 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 365 | +_:b12 |
| 276 | - | 366 | + sp:varName "nameWellBore"^^xsd:string . |
| 277 | -_:b6 sp:varName "wellBore"^^xsd:string . | 367 | + |
| 278 | - | 368 | +_:b13 |
| 279 | -_:b5 sp:varName "temporalPartOfAWellBore"^^xsd:string . | 369 | + sp:varName "dTimStart"^^xsd:string . |
| 280 | - | 370 | + |
| 281 | -_:b2 sp:varName "dailyDrillingActivity"^^xsd:string . | 371 | +_:b14 |
| 282 | - | 372 | + sp:varName "normalizedWellBoreName"^^xsd:string . |
| 283 | -_:b1 sp:varName "dailyDrillingReport"^^xsd:string . | ||
| 284 | - | ||
| 285 | -_:b9 sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 286 | - | ||
| 287 | -_:b3 sp:varName "createDate"^^xsd:string . | ||
| 288 | - | ||
| 289 | -_:b8 sp:varName "dTimEnd"^^xsd:string . | ||
| 290 | - | ||
| 291 | -_:b4 sp:varName "dTimStart"^^xsd:string . | ||
| 292 | - | ||
| 293 | -_:b7 sp:varName "nameWellBore"^^xsd:string . | ||
| 294 | - | ||
| 295 | -_:b33 | ||
| 296 | - sp:varName "normalizedWellName"^^xsd:string . | ||
| 297 | - | ||
| 298 | -_:b32 | ||
| 299 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 300 | - | ||
| 301 | -_:b31 | ||
| 302 | - sp:varName "dTimStart"^^xsd:string . | ||
| 303 | - | ||
| 304 | -_:b30 | ||
| 305 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 306 | - | ||
| 307 | -_:b29 | ||
| 308 | - sp:varName "wellBore"^^xsd:string . | ||
| 309 | - | ||
| 310 | -_:b28 | ||
| 311 | - sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 312 | - | ||
| 313 | -_:b27 | ||
| 314 | - sp:varName "nameWell"^^xsd:string . | ||
| 315 | - | ||
| 316 | -_:b26 | ||
| 317 | - sp:varName "well"^^xsd:string . | ||
| 318 | - | ||
| 319 | -_:b15 | ||
| 320 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 321 | - | ||
| 322 | -_:b14 | ||
| 323 | - sp:varName "versionKind"^^xsd:string . | ||
| 324 | - | ||
| 325 | -_:b13 | ||
| 326 | - sp:varName "createDate"^^xsd:string . | ||
| 327 | - | ||
| 328 | -_:b12 | ||
| 329 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 330 | - | ||
| 331 | -_:b11 | ||
| 332 | - sp:varName "dailyDrillingReport"^^xsd:string . | ||
| 333 | - | ||
| 334 | -_:b10 | ||
| 335 | - sp:varName "dailyDrillingReportType"^^xsd:string . | ||
| 336 | - | ||
| 337 | -_:b20 | ||
| 338 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 339 | - | ||
| 340 | -_:b19 | ||
| 341 | - sp:varName "createDate"^^xsd:string . | ||
| 342 | - | ||
| 343 | -_:b18 | ||
| 344 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 345 | - | ||
| 346 | -_:b17 | ||
| 347 | - sp:varName "dailyDrillingReport"^^xsd:string . | ||
| 348 | - | ||
| 349 | -_:b16 | ||
| 350 | - sp:varName "nameDailyDrillingReport"^^xsd:string . | ||
| 351 | - | ||
| 352 | -_:b25 | ||
| 353 | - sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 354 | - | ||
| 355 | -_:b24 | ||
| 356 | - sp:varName "dTimStart"^^xsd:string . | ||
| 357 | - | ||
| 358 | -_:b23 | ||
| 359 | - sp:varName "nameWellBore"^^xsd:string . | ||
| 360 | - | ||
| 361 | -_:b22 | ||
| 362 | - sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 363 | - | ||
| 364 | -_:b21 | ||
| 365 | - sp:varName "dTimEnd"^^xsd:string . | ... | ... |
| 1 | -# baseURI: null | 1 | +# Saved by TopBraid on Wed Aug 10 11:13:52 BST 2011 |
| 2 | - | 2 | +# baseURI: null |
| 3 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 3 | + |
| 4 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | 4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
| 5 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | 5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . |
| 6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . |
| 7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 9 | -@prefix visual: <http://topbraid.org/visual#> . | 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | +@prefix visual: <http://topbraid.org/visual#> . |
| 11 | - | 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 12 | -[] rdf:type inference:Configuration ; | 12 | + |
| 13 | - composite:child | 13 | +[] rdf:type inference:Configuration ; |
| 14 | - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | + composite:child |
| 15 | - <http://spinrdf.org/spin#topSPINOptions> | 15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
| 16 | - "singlePass" ; | 16 | + <http://spinrdf.org/spin#topSPINOptions> |
| 17 | - composite:index "0"^^xsd:int | 17 | + "singlePass" ; |
| 18 | - ] . | 18 | + composite:index "0"^^xsd:int |
| 19 | + ] . | ... | ... |
| 1 | -# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization | 1 | +# Saved by TopBraid on Wed Aug 10 14:09:07 BST 2011 |
| 2 | -# imports: http://spinrdf.org/spin | 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization |
| 3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity | 3 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity |
| 4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | 4 | +# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias |
| 5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | 5 | +# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo |
| 6 | -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | 6 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport |
| 7 | -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 7 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo |
| 8 | -# imports: http://www.reportinghub.no/ep/schema/1.0/report | 8 | + |
| 9 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | 9 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . |
| 10 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity | 10 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . |
| 11 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | 11 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 12 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo | 12 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 13 | - | 13 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 14 | -@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . | 14 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . |
| 15 | -@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | 15 | +@prefix sp: <http://spinrdf.org/sp#> . |
| 16 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 16 | +@prefix spin: <http://spinrdf.org/spin#> . |
| 17 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 17 | +@prefix spl: <http://spinrdf.org/spl#> . |
| 18 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 18 | +@prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> . |
| 19 | -@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | 19 | +@prefix wellboreInfo: <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> . |
| 20 | -@prefix sp: <http://spinrdf.org/sp#> . | 20 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 21 | -@prefix spin: <http://spinrdf.org/spin#> . | 21 | + |
| 22 | -@prefix spl: <http://spinrdf.org/spl#> . | 22 | +<http://www.reportinghub.no/ep/transform/1.1/normalization> |
| 23 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 23 | + rdf:type owl:Ontology ; |
| 24 | - | 24 | + owl:imports <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> ; |
| 25 | -<http://www.reportinghub.no/ep/transform/1.1/normalization> | 25 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 26 | - rdf:type owl:Ontology ; | 26 | + |
| 27 | - owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ; | 27 | +owl:Thing |
| 28 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 28 | + spin:update |
| 29 | - | 29 | + [ rdf:type sp:Modify ; |
| 30 | -owl:Thing | 30 | + sp:deletePattern ([ sp:object _:b1 ; |
| 31 | - spin:update | 31 | + sp:predicate rdfs:label ; |
| 32 | - [ rdf:type sp:Modify ; | 32 | + sp:subject _:b2 |
| 33 | - sp:deletePattern ([ sp:object _:b1 ; | 33 | + ]) ; |
| 34 | - sp:predicate rdfs:label ; | 34 | + sp:insertPattern ([ sp:object _:b3 ; |
| 35 | - sp:subject _:b2 | 35 | + sp:predicate rdfs:label ; |
| 36 | - ]) ; | 36 | + sp:subject _:b2 |
| 37 | - sp:insertPattern ([ sp:object _:b3 ; | 37 | + ]) ; |
| 38 | - sp:predicate rdfs:label ; | 38 | + sp:where ([ sp:object _:b2 ; |
| 39 | - sp:subject _:b2 | 39 | + sp:predicate owl:onProperty ; |
| 40 | - ]) ; | 40 | + sp:subject |
| 41 | - sp:where ([ sp:object _:b2 ; | 41 | + [ sp:varName "r"^^xsd:string |
| 42 | - sp:predicate owl:onProperty ; | 42 | + ] |
| 43 | - sp:subject | 43 | + ] [ sp:object _:b1 ; |
| 44 | - [ sp:varName "r"^^xsd:string | 44 | + sp:predicate rdfs:label ; |
| 45 | - ] | 45 | + sp:subject _:b2 |
| 46 | - ] [ sp:object _:b1 ; | 46 | + ] [ rdf:type sp:Filter ; |
| 47 | - sp:predicate rdfs:label ; | 47 | + sp:expression |
| 48 | - sp:subject _:b2 | 48 | + [ rdf:type fn:starts-with ; |
| 49 | - ] [ rdf:type sp:Filter ; | 49 | + sp:arg1 _:b1 ; |
| 50 | - sp:expression | 50 | + sp:arg2 "has" |
| 51 | - [ rdf:type fn:starts-with ; | 51 | + ] |
| 52 | - sp:arg1 _:b1 ; | 52 | + ] [ rdf:type sp:Bind ; |
| 53 | - sp:arg2 "has" | 53 | + sp:expression |
| 54 | - ] | 54 | + [ rdf:type smf:trim ; |
| 55 | - ] [ rdf:type sp:Bind ; | 55 | + sp:arg1 [ rdf:type smf:regex ; |
| 56 | - sp:expression | 56 | + sp:arg1 _:b1 ; |
| 57 | - [ rdf:type smf:trim ; | 57 | + sp:arg2 "has(.*)" ; |
| 58 | - sp:arg1 [ rdf:type smf:regex ; | 58 | + sp:arg3 "$1" |
| 59 | - sp:arg1 _:b1 ; | 59 | + ] |
| 60 | - sp:arg2 "has(.*)" ; | 60 | + ] ; |
| 61 | - sp:arg3 "$1" | 61 | + sp:variable _:b3 |
| 62 | - ] | 62 | + ]) |
| 63 | - ] ; | 63 | + ] . |
| 64 | - sp:variable _:b3 | 64 | + |
| 65 | - ]) | 65 | +_:b1 sp:varName "oldLabel"^^xsd:string . |
| 66 | - ] . | 66 | + |
| 67 | - | 67 | +_:b2 sp:varName "p"^^xsd:string . |
| 68 | -_:b3 sp:varName "newLabel"^^xsd:string . | 68 | + |
| 69 | - | 69 | +_:b3 sp:varName "newLabel"^^xsd:string . |
| 70 | -_:b2 sp:varName "p"^^xsd:string . | ||
| 71 | - | ||
| 72 | -_:b1 sp:varName "oldLabel"^^xsd:string . | ... | ... |
| 1 | -# baseURI: null | 1 | +# Saved by TopBraid on Wed Aug 10 14:09:07 BST 2011 |
| 2 | - | 2 | +# baseURI: null |
| 3 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 3 | + |
| 4 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | 4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
| 5 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | 5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . |
| 6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . |
| 7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 9 | -@prefix visual: <http://topbraid.org/visual#> . | 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | +@prefix visual: <http://topbraid.org/visual#> . |
| 11 | - | 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 12 | -[] rdf:type inference:Configuration ; | 12 | + |
| 13 | - composite:child | 13 | +[] rdf:type inference:Configuration ; |
| 14 | - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | + composite:child |
| 15 | - <http://spinrdf.org/spin#topSPINOptions> | 15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
| 16 | - "singlePass" ; | 16 | + <http://spinrdf.org/spin#topSPINOptions> |
| 17 | - composite:index "0"^^xsd:int | 17 | + "singlePass" ; |
| 18 | - ] ; | 18 | + composite:index "0"^^xsd:int |
| 19 | - inference:completeMode | 19 | + ] ; |
| 20 | - "true"^^xsd:boolean . | 20 | + inference:completeMode |
| 21 | + "true"^^xsd:boolean . | ... | ... |
| 1 | -# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr | 1 | +# Saved by TopBraid on Wed Aug 10 18:50:05 PDT 2011 |
| 2 | -# imports: http://spinrdf.org/spin | 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr |
| 3 | -# imports: http://topbraid.org/sxml | 3 | +# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias |
| 4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity | 4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/report |
| 5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well |
| 6 | -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | 6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core |
| 7 | -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 7 | +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
| 8 | -# imports: http://www.reportinghub.no/ep/schema/1.0/report | 8 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity |
| 9 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | 9 | +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr |
| 10 | - | 10 | +# imports: http://spinrdf.org/spin |
| 11 | -@prefix NPD_110412124707: <file:///www.reportinghub.no/input/NPD_110412124707.xml#> . | 11 | +# imports: http://topbraid.org/sxml |
| 12 | -@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . | 12 | + |
| 13 | -@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . | 13 | +@prefix NPD_110412124707: <file:///www.reportinghub.no/input/NPD_110412124707.xml#> . |
| 14 | -@prefix ddr: <http://www.reportinghub.no/ep/schema/ddr#> . | 14 | +@prefix NPD_1104121247071: <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml#> . |
| 15 | -@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | 15 | +@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . |
| 16 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 16 | +@prefix ddr: <http://www.reportinghub.no/ep/schema/ddr#> . |
| 17 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 17 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . |
| 18 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 18 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 19 | -@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | 19 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 20 | -@prefix sp: <http://spinrdf.org/sp#> . | 20 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 21 | -@prefix spif: <http://spinrdf.org/spif#> . | 21 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . |
| 22 | -@prefix spin: <http://spinrdf.org/spin#> . | 22 | +@prefix sp: <http://spinrdf.org/sp#> . |
| 23 | -@prefix sxml: <http://topbraid.org/sxml#> . | 23 | +@prefix spif: <http://spinrdf.org/spif#> . |
| 24 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 24 | +@prefix spin: <http://spinrdf.org/spin#> . |
| 25 | - | 25 | +@prefix sxml: <http://topbraid.org/sxml#> . |
| 26 | -ddr:Cs_activity | 26 | +@prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> . |
| 27 | - spin:rule | 27 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 28 | - [ rdf:type sp:Construct ; | 28 | + |
| 29 | - rdfs:comment "STEP 030 - Construct ep-activity type statements"^^xsd:string ; | 29 | +NPD_1104121247071:r-0-7 |
| 30 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ; | 30 | + sxml:element "witsml:wellAlias"^^xsd:string . |
| 31 | - sp:predicate rdf:type ; | 31 | + |
| 32 | - sp:subject spin:_this | 32 | +NPD_1104121247071:r-0-8 |
| 33 | - ]) ; | 33 | + sxml:element "witsml:wellboreAlias"^^xsd:string . |
| 34 | - sp:where () | 34 | + |
| 35 | - ] ; | 35 | +NPD_1104121247071:r-0-9 |
| 36 | - sxml:element "witsml:activity"^^xsd:string . | 36 | + sxml:element "witsml:wellboreAlias"^^xsd:string . |
| 37 | - | 37 | + |
| 38 | -ddr:Cs_alias | 38 | +ddr:Cs_activity |
| 39 | - sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" . | 39 | + spin:rule |
| 40 | - | 40 | + [ rdf:type sp:Construct ; |
| 41 | -ddr:Cs_bitRecord | 41 | + rdfs:comment "STEP 030 - Construct ep-activity type statements"^^xsd:string ; |
| 42 | - sxml:element "witsml:bitRecord" . | 42 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#DrillingActivity> ; |
| 43 | - | 43 | + sp:predicate rdf:type ; |
| 44 | -ddr:Cs_documentAudit | 44 | + sp:subject spin:_this |
| 45 | - sxml:element "witsml:documentAudit" . | 45 | + ]) ; |
| 46 | - | 46 | + sp:where () |
| 47 | -ddr:Cs_documentEvent | 47 | + ] ; |
| 48 | - sxml:element "witsml:documentEvent" . | 48 | + sxml:element "witsml:activity"^^xsd:string . |
| 49 | - | 49 | + |
| 50 | -ddr:Cs_documentFileCreation | 50 | +ddr:Cs_alias |
| 51 | - sxml:element "witsml:documentFileCreation" . | 51 | + sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" . |
| 52 | - | 52 | + |
| 53 | -ddr:Cs_documentInfo | 53 | +ddr:Cs_bitRecord |
| 54 | - sxml:element "witsml:documentInfo" . | 54 | + sxml:element "witsml:bitRecord" . |
| 55 | - | 55 | + |
| 56 | -ddr:Cs_documentSecurityInfo | 56 | +ddr:Cs_documentAudit |
| 57 | - sxml:element "witsml:documentSecurityInfo" . | 57 | + sxml:element "witsml:documentAudit" . |
| 58 | - | 58 | + |
| 59 | -ddr:Cs_drillReportControlIncidentInfo | 59 | +ddr:Cs_documentEvent |
| 60 | - sxml:element "witsml:drillReportControlIncidentInfo" . | 60 | + sxml:element "witsml:documentEvent" . |
| 61 | - | 61 | + |
| 62 | -ddr:Cs_drillReportCoreInfo | 62 | +ddr:Cs_documentFileCreation |
| 63 | - sxml:element "witsml:drillReportCoreInfo" . | 63 | + sxml:element "witsml:documentFileCreation" . |
| 64 | - | 64 | + |
| 65 | -ddr:Cs_drillReportEquipFailureInfo | 65 | +ddr:Cs_documentInfo |
| 66 | - sxml:element "witsml:drillReportEquipFailureInfo" . | 66 | + sxml:element "witsml:documentInfo" . |
| 67 | - | 67 | + |
| 68 | -ddr:Cs_drillReportFormTestInfo | 68 | +ddr:Cs_documentSecurityInfo |
| 69 | - sxml:element "witsml:drillReportFormTestInfo" . | 69 | + sxml:element "witsml:documentSecurityInfo" . |
| 70 | - | 70 | + |
| 71 | -ddr:Cs_drillReportGasReadingInfo | 71 | +ddr:Cs_drillReportControlIncidentInfo |
| 72 | - sxml:element "witsml:drillReportGasReadingInfo" . | 72 | + sxml:element "witsml:drillReportControlIncidentInfo" . |
| 73 | - | 73 | + |
| 74 | -ddr:Cs_drillReportLithShowInfo | 74 | +ddr:Cs_drillReportCoreInfo |
| 75 | - sxml:element "witsml:drillReportLithShowInfo" . | 75 | + sxml:element "witsml:drillReportCoreInfo" . |
| 76 | - | 76 | + |
| 77 | -ddr:Cs_drillReportLogInfo | 77 | +ddr:Cs_drillReportEquipFailureInfo |
| 78 | - sxml:element "witsml:drillReportLogInfo" . | 78 | + sxml:element "witsml:drillReportEquipFailureInfo" . |
| 79 | - | 79 | + |
| 80 | -ddr:Cs_drillReportPerfInfo | 80 | +ddr:Cs_drillReportFormTestInfo |
| 81 | - sxml:element "witsml:drillReportPerfInfo" . | 81 | + sxml:element "witsml:drillReportFormTestInfo" . |
| 82 | - | 82 | + |
| 83 | -ddr:Cs_drillReportPorePressure | 83 | +ddr:Cs_drillReportGasReadingInfo |
| 84 | - sxml:element "witsml:drillReportPorePressure" . | 84 | + sxml:element "witsml:drillReportGasReadingInfo" . |
| 85 | - | 85 | + |
| 86 | -ddr:Cs_drillReportStatusInfo | 86 | +ddr:Cs_drillReportLithShowInfo |
| 87 | - sxml:element "witsml:statusInfo"^^xsd:string , "witsml:drillReportStatusInfo" . | 87 | + sxml:element "witsml:drillReportLithShowInfo" . |
| 88 | - | 88 | + |
| 89 | -ddr:Cs_drillReportStratInfo | 89 | +ddr:Cs_drillReportLogInfo |
| 90 | - sxml:element "witsml:drillReportStratInfo" . | 90 | + sxml:element "witsml:drillReportLogInfo" . |
| 91 | - | 91 | + |
| 92 | -ddr:Cs_drillReportSurveyStation | 92 | +ddr:Cs_drillReportPerfInfo |
| 93 | - sxml:element "witsml:drillReportSurveyStation" . | 93 | + sxml:element "witsml:drillReportPerfInfo" . |
| 94 | - | 94 | + |
| 95 | -ddr:Cs_drillReportWellTestInfo | 95 | +ddr:Cs_drillReportPorePressure |
| 96 | - sxml:element "witsml:drillReportWellTestInfo" . | 96 | + sxml:element "witsml:drillReportPorePressure" . |
| 97 | - | 97 | + |
| 98 | -ddr:Cs_drillReportWellboreInfo | 98 | +ddr:Cs_drillReportStatusInfo |
| 99 | - sxml:element "witsml:wellboreInfo"^^xsd:string . | 99 | + sxml:element "witsml:statusInfo"^^xsd:string , "witsml:drillReportStatusInfo" . |
| 100 | - | 100 | + |
| 101 | -ddr:Cs_fluid | 101 | +ddr:Cs_drillReportStratInfo |
| 102 | - sxml:element "witsml:fluid" . | 102 | + sxml:element "witsml:drillReportStratInfo" . |
| 103 | - | 103 | + |
| 104 | -ddr:Cs_geodeticModel | 104 | +ddr:Cs_drillReportSurveyStation |
| 105 | - sxml:element "witsml:geodeticModel" . | 105 | + sxml:element "witsml:drillReportSurveyStation" . |
| 106 | - | 106 | + |
| 107 | -ddr:Cs_localCRS | 107 | +ddr:Cs_drillReportWellTestInfo |
| 108 | - sxml:element "witsml:localCRS" . | 108 | + sxml:element "witsml:drillReportWellTestInfo" . |
| 109 | - | 109 | + |
| 110 | -ddr:Cs_location | 110 | +ddr:Cs_drillReportWellboreInfo |
| 111 | - sxml:element "witsml:location" . | 111 | + sxml:element "witsml:wellboreInfo"^^xsd:string . |
| 112 | - | 112 | + |
| 113 | -ddr:Cs_projectionx | 113 | +ddr:Cs_fluid |
| 114 | - sxml:element "witsml:projectionx" . | 114 | + sxml:element "witsml:fluid" . |
| 115 | - | 115 | + |
| 116 | -ddr:Cs_refWellWellbore | 116 | +ddr:Cs_geodeticModel |
| 117 | - sxml:element "witsml:refWellWellbore" . | 117 | + sxml:element "witsml:geodeticModel" . |
| 118 | - | 118 | + |
| 119 | -ddr:Cs_refWellWellboreRig | 119 | +ddr:Cs_localCRS |
| 120 | - sxml:element "witsml:refWellWellboreRig" . | 120 | + sxml:element "witsml:localCRS" . |
| 121 | - | 121 | + |
| 122 | -ddr:Cs_wellAlias | 122 | +ddr:Cs_location |
| 123 | - sxml:element "witsml:wellAlias" , "witsml:wellboreAlias"^^xsd:string . | 123 | + sxml:element "witsml:location" . |
| 124 | - | 124 | + |
| 125 | -ddr:Cs_wellCRS | 125 | +ddr:Cs_projectionx |
| 126 | - sxml:element "witsml:wellCRS" . | 126 | + sxml:element "witsml:projectionx" . |
| 127 | - | 127 | + |
| 128 | -ddr:Cs_wellDatum | 128 | +ddr:Cs_refWellWellbore |
| 129 | - sxml:element "witsml:wellDatum" . | 129 | + sxml:element "witsml:refWellWellbore" . |
| 130 | - | 130 | + |
| 131 | -ddr:DrillReports | 131 | +ddr:Cs_refWellWellboreRig |
| 132 | - sxml:element "witsml:drillReports"^^xsd:string . | 132 | + sxml:element "witsml:refWellWellboreRig" . |
| 133 | - | 133 | + |
| 134 | -ddr:Obj_drillReport | 134 | +ddr:Cs_wellAlias |
| 135 | - sxml:element "witsml:drillReport"^^xsd:string . | 135 | + sxml:element "witsml:wellboreAlias"^^xsd:string , "witsml:wellAlias"^^xsd:string . |
| 136 | - | 136 | + |
| 137 | -ddr:Thing | 137 | +ddr:Cs_wellCRS |
| 138 | - spin:rule | 138 | + sxml:element "witsml:wellCRS" . |
| 139 | - [ rdf:type sp:Construct ; | 139 | + |
| 140 | - rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; | 140 | +ddr:Cs_wellDatum |
| 141 | - sp:templates ([ sp:object _:b1 ; | 141 | + sxml:element "witsml:wellDatum" . |
| 142 | - sp:predicate rdf:type ; | 142 | + |
| 143 | - sp:subject _:b2 | 143 | +ddr:DrillReports |
| 144 | - ] [ sp:object _:b3 ; | 144 | + sxml:element "witsml:drillReports"^^xsd:string . |
| 145 | - sp:predicate ddr:uom ; | 145 | + |
| 146 | - sp:subject _:b2 | 146 | +ddr:Obj_drillReport |
| 147 | - ] [ sp:object _:b4 ; | 147 | + sxml:element "witsml:drillReport"^^xsd:string . |
| 148 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 148 | + |
| 149 | - sp:subject _:b2 | 149 | +ddr:Thing |
| 150 | - ] [ sp:object _:b2 ; | 150 | + spin:rule |
| 151 | - sp:predicate _:b5 ; | 151 | + [ rdf:type sp:Construct ; |
| 152 | - sp:subject spin:_this | 152 | + rdfs:comment "STEP 018 - Construct all other object properties - WIP"^^xsd:string ; |
| 153 | - ] [ sp:object rdf:Statement ; | 153 | + sp:templates ([ sp:object _:b1 ; |
| 154 | - sp:predicate rdf:type ; | 154 | + sp:predicate _:b2 ; |
| 155 | - sp:subject _:b6 | 155 | + sp:subject spin:_this |
| 156 | - ] [ sp:object spin:_this ; | 156 | + ] [ sp:object rdf:Statement ; |
| 157 | - sp:predicate rdf:subject ; | 157 | + sp:predicate rdf:type ; |
| 158 | - sp:subject _:b6 | 158 | + sp:subject _:b3 |
| 159 | - ] [ sp:object _:b5 ; | 159 | + ] [ sp:object spin:_this ; |
| 160 | - sp:predicate rdf:predicate ; | 160 | + sp:predicate rdf:subject ; |
| 161 | - sp:subject _:b6 | 161 | + sp:subject _:b3 |
| 162 | - ] [ sp:object _:b4 ; | 162 | + ] [ sp:object _:b2 ; |
| 163 | - sp:predicate rdf:object ; | 163 | + sp:predicate rdf:predicate ; |
| 164 | - sp:subject _:b6 | 164 | + sp:subject _:b3 |
| 165 | - ] [ sp:object _:b6 ; | 165 | + ] [ sp:object _:b1 ; |
| 166 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 166 | + sp:predicate rdf:object ; |
| 167 | - sp:subject _:b7 | 167 | + sp:subject _:b3 |
| 168 | - ]) ; | 168 | + ] [ sp:object _:b3 ; |
| 169 | - sp:where ([ sp:object _:b7 ; | 169 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 170 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 170 | + sp:subject _:b1 |
| 171 | - sp:subject spin:_this | 171 | + ]) ; |
| 172 | - ] [ sp:object _:b8 ; | 172 | + sp:where ([ sp:object _:b4 ; |
| 173 | - sp:predicate rdf:type ; | 173 | + sp:predicate owl:allValuesFrom ; |
| 174 | - sp:subject _:b7 | 174 | + sp:subject _:b5 |
| 175 | - ] [ sp:object _:b3 ; | 175 | + ] [ sp:object _:b2 ; |
| 176 | - sp:predicate ddr:uom ; | 176 | + sp:predicate owl:onProperty ; |
| 177 | - sp:subject _:b7 | 177 | + sp:subject _:b5 |
| 178 | - ] [ rdf:type sp:NotExists ; | 178 | + ] [ rdf:type sp:Bind ; |
| 179 | - sp:elements ([ sp:object | 179 | + sp:expression |
| 180 | - [ sp:varName "aNode"^^xsd:string | 180 | + [ rdf:type afn:localname ; |
| 181 | - ] ; | 181 | + sp:arg1 _:b2 |
| 182 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 182 | + ] ; |
| 183 | - sp:subject _:b7 | 183 | + sp:variable _:b6 |
| 184 | - ]) | 184 | + ] [ sp:object _:b4 ; |
| 185 | - ] [ rdf:type sp:Bind ; | 185 | + sp:predicate rdf:type ; |
| 186 | - sp:expression | 186 | + sp:subject _:b1 |
| 187 | - [ rdf:type afn:localname ; | 187 | + ] [ sp:object _:b1 ; |
| 188 | - sp:arg1 _:b8 | 188 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 189 | - ] ; | 189 | + sp:subject spin:_this |
| 190 | - sp:variable _:b9 | 190 | + ] [ sp:object _:b7 ; |
| 191 | - ] [ rdf:type sp:Bind ; | 191 | + sp:predicate sxml:instanceElement ; |
| 192 | - sp:expression | 192 | + sp:subject _:b1 |
| 193 | - [ rdf:type smf:buildURI ; | 193 | + ] [ rdf:type sp:Bind ; |
| 194 | - sp:arg1 [ rdf:type fn:concat ; | 194 | + sp:expression |
| 195 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 195 | + [ rdf:type smf:regex ; |
| 196 | - sp:arg2 _:b9 | 196 | + sp:arg1 _:b7 ; |
| 197 | - ] | 197 | + sp:arg2 "(.*):(.*)" ; |
| 198 | - ] ; | 198 | + sp:arg3 "$2" |
| 199 | - sp:variable _:b5 | 199 | + ] ; |
| 200 | - ] [ sp:object owl:ObjectProperty ; | 200 | + sp:variable _:b8 |
| 201 | - sp:predicate rdf:type ; | 201 | + ] [ rdf:type sp:Filter ; |
| 202 | - sp:subject _:b5 | 202 | + sp:expression |
| 203 | - ] [ sp:object _:b5 ; | 203 | + [ rdf:type sp:eq ; |
| 204 | - sp:predicate owl:onProperty ; | 204 | + sp:arg1 _:b8 ; |
| 205 | - sp:subject _:b10 | 205 | + sp:arg2 _:b6 |
| 206 | - ] [ sp:object _:b1 ; | 206 | + ] |
| 207 | - sp:predicate owl:allValuesFrom ; | 207 | + ] [ sp:object _:b9 ; |
| 208 | - sp:subject _:b10 | 208 | + sp:predicate rdf:type ; |
| 209 | - ] [ sp:object _:b11 ; | 209 | + sp:subject spin:_this |
| 210 | - sp:predicate rdf:type ; | 210 | + ] [ rdf:type sp:TriplePath ; |
| 211 | - sp:subject spin:_this | 211 | + sp:object _:b5 ; |
| 212 | - ] [ rdf:type sp:TriplePath ; | 212 | + sp:path [ rdf:type sp:ModPath ; |
| 213 | - sp:object _:b10 ; | 213 | + sp:modMax -2 ; |
| 214 | - sp:path [ rdf:type sp:ModPath ; | 214 | + sp:modMin 0 ; |
| 215 | - sp:modMax -2 ; | 215 | + sp:subPath rdfs:subClassOf |
| 216 | - sp:modMin 0 ; | 216 | + ] ; |
| 217 | - sp:subPath rdfs:subClassOf | 217 | + sp:subject _:b9 |
| 218 | - ] ; | 218 | + ]) |
| 219 | - sp:subject _:b11 | 219 | + ] ; |
| 220 | - ] [ sp:object _:b12 ; | 220 | + spin:rule |
| 221 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 221 | + [ rdf:type sp:Construct ; |
| 222 | - sp:subject _:b7 | 222 | + rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; |
| 223 | - ] [ sp:object sxml:TextNode ; | 223 | + sp:templates ([ sp:object _:b10 ; |
| 224 | - sp:predicate rdf:type ; | 224 | + sp:predicate rdf:type ; |
| 225 | - sp:subject _:b12 | 225 | + sp:subject _:b11 |
| 226 | - ] [ sp:object _:b13 ; | 226 | + ] [ sp:object _:b12 ; |
| 227 | - sp:predicate sxml:text ; | 227 | + sp:predicate ddr:uom ; |
| 228 | - sp:subject _:b12 | 228 | + sp:subject _:b11 |
| 229 | - ] [ rdf:type sp:Bind ; | 229 | + ] [ sp:object _:b13 ; |
| 230 | - sp:expression | 230 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 231 | - [ rdf:type xsd:double ; | 231 | + sp:subject _:b11 |
| 232 | - sp:arg1 _:b13 | 232 | + ] [ sp:object _:b11 ; |
| 233 | - ] ; | 233 | + sp:predicate _:b14 ; |
| 234 | - sp:variable _:b4 | 234 | + sp:subject spin:_this |
| 235 | - ]) | 235 | + ] [ sp:object rdf:Statement ; |
| 236 | - ] ; | 236 | + sp:predicate rdf:type ; |
| 237 | - spin:rule | 237 | + sp:subject _:b15 |
| 238 | - [ rdf:type sp:Construct ; | 238 | + ] [ sp:object spin:_this ; |
| 239 | - rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; | 239 | + sp:predicate rdf:subject ; |
| 240 | - sp:templates ([ sp:object _:b14 ; | 240 | + sp:subject _:b15 |
| 241 | - sp:predicate _:b15 ; | 241 | + ] [ sp:object _:b14 ; |
| 242 | - sp:subject spin:_this | 242 | + sp:predicate rdf:predicate ; |
| 243 | - ] [ sp:object rdf:Statement ; | 243 | + sp:subject _:b15 |
| 244 | - sp:predicate rdf:type ; | 244 | + ] [ sp:object _:b13 ; |
| 245 | - sp:subject _:b16 | 245 | + sp:predicate rdf:object ; |
| 246 | - ] [ sp:object spin:_this ; | 246 | + sp:subject _:b15 |
| 247 | - sp:predicate rdf:subject ; | 247 | + ] [ sp:object _:b15 ; |
| 248 | - sp:subject _:b16 | 248 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 249 | - ] [ sp:object _:b15 ; | 249 | + sp:subject _:b16 |
| 250 | - sp:predicate rdf:predicate ; | 250 | + ]) ; |
| 251 | - sp:subject _:b16 | 251 | + sp:where ([ sp:object _:b16 ; |
| 252 | - ] [ sp:object _:b14 ; | 252 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 253 | - sp:predicate rdf:object ; | 253 | + sp:subject spin:_this |
| 254 | - sp:subject _:b16 | 254 | + ] [ sp:object _:b17 ; |
| 255 | - ] [ sp:object _:b16 ; | 255 | + sp:predicate rdf:type ; |
| 256 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 256 | + sp:subject _:b16 |
| 257 | - sp:subject _:b17 | 257 | + ] [ sp:object _:b12 ; |
| 258 | - ]) ; | 258 | + sp:predicate ddr:uom ; |
| 259 | - sp:where ([ sp:object _:b17 ; | 259 | + sp:subject _:b16 |
| 260 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 260 | + ] [ rdf:type sp:NotExists ; |
| 261 | - sp:subject spin:_this | 261 | + sp:elements ([ sp:object |
| 262 | - ] [ sp:object _:b18 ; | 262 | + [ sp:varName "aNode"^^xsd:string |
| 263 | - sp:predicate rdf:type ; | 263 | + ] ; |
| 264 | - sp:subject _:b17 | 264 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 265 | - ] [ rdf:type sp:NotExists ; | 265 | + sp:subject _:b16 |
| 266 | - sp:elements ([ sp:object | 266 | + ]) |
| 267 | - [ sp:varName "uom"^^xsd:string | 267 | + ] [ rdf:type sp:Bind ; |
| 268 | - ] ; | 268 | + sp:expression |
| 269 | - sp:predicate ddr:uom ; | 269 | + [ rdf:type afn:localname ; |
| 270 | - sp:subject _:b17 | 270 | + sp:arg1 _:b17 |
| 271 | - ]) | 271 | + ] ; |
| 272 | - ] [ rdf:type sp:Bind ; | 272 | + sp:variable _:b18 |
| 273 | - sp:expression | 273 | + ] [ rdf:type sp:Bind ; |
| 274 | - [ rdf:type smf:titleCase ; | 274 | + sp:expression |
| 275 | - sp:arg1 [ rdf:type afn:localname ; | 275 | + [ rdf:type smf:buildURI ; |
| 276 | - sp:arg1 _:b18 | 276 | + sp:arg1 [ rdf:type fn:concat ; |
| 277 | - ] | 277 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
| 278 | - ] ; | 278 | + sp:arg2 _:b18 |
| 279 | - sp:variable _:b19 | 279 | + ] |
| 280 | - ] [ rdf:type sp:Bind ; | 280 | + ] ; |
| 281 | - sp:expression | 281 | + sp:variable _:b14 |
| 282 | - [ rdf:type smf:buildURI ; | 282 | + ] [ sp:object owl:ObjectProperty ; |
| 283 | - sp:arg1 [ rdf:type fn:concat ; | 283 | + sp:predicate rdf:type ; |
| 284 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ; | 284 | + sp:subject _:b14 |
| 285 | - sp:arg2 _:b19 | 285 | + ] [ sp:object _:b14 ; |
| 286 | - ] | 286 | + sp:predicate owl:onProperty ; |
| 287 | - ] ; | 287 | + sp:subject _:b19 |
| 288 | - sp:variable _:b15 | 288 | + ] [ sp:object _:b10 ; |
| 289 | - ] [ sp:object owl:ObjectProperty ; | 289 | + sp:predicate owl:allValuesFrom ; |
| 290 | - sp:predicate rdf:type ; | 290 | + sp:subject _:b19 |
| 291 | - sp:subject _:b15 | 291 | + ] [ sp:object _:b20 ; |
| 292 | - ] [ sp:object _:b15 ; | 292 | + sp:predicate rdf:type ; |
| 293 | - sp:predicate owl:onProperty ; | 293 | + sp:subject spin:_this |
| 294 | - sp:subject _:b20 | 294 | + ] [ rdf:type sp:TriplePath ; |
| 295 | - ] [ sp:object _:b21 ; | 295 | + sp:object _:b19 ; |
| 296 | - sp:predicate owl:allValuesFrom ; | 296 | + sp:path [ rdf:type sp:ModPath ; |
| 297 | - sp:subject _:b20 | 297 | + sp:modMax -2 ; |
| 298 | - ] [ sp:object _:b22 ; | 298 | + sp:modMin 0 ; |
| 299 | - sp:predicate rdf:type ; | 299 | + sp:subPath rdfs:subClassOf |
| 300 | - sp:subject spin:_this | 300 | + ] ; |
| 301 | - ] [ rdf:type sp:TriplePath ; | 301 | + sp:subject _:b20 |
| 302 | - sp:object _:b20 ; | 302 | + ] [ sp:object _:b21 ; |
| 303 | - sp:path [ rdf:type sp:ModPath ; | 303 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 304 | - sp:modMax -2 ; | 304 | + sp:subject _:b16 |
| 305 | - sp:modMin 0 ; | 305 | + ] [ sp:object sxml:TextNode ; |
| 306 | - sp:subPath rdfs:subClassOf | 306 | + sp:predicate rdf:type ; |
| 307 | - ] ; | 307 | + sp:subject _:b21 |
| 308 | - sp:subject _:b22 | 308 | + ] [ sp:object _:b22 ; |
| 309 | - ] [ rdf:type sp:TriplePath ; | 309 | + sp:predicate sxml:text ; |
| 310 | - sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; | 310 | + sp:subject _:b21 |
| 311 | - sp:path [ rdf:type sp:ModPath ; | 311 | + ] [ rdf:type sp:Bind ; |
| 312 | - sp:modMax -2 ; | 312 | + sp:expression |
| 313 | - sp:modMin 0 ; | 313 | + [ rdf:type xsd:double ; |
| 314 | - sp:subPath rdfs:subClassOf | 314 | + sp:arg1 _:b22 |
| 315 | - ] ; | 315 | + ] ; |
| 316 | - sp:subject _:b21 | 316 | + sp:variable _:b13 |
| 317 | - ] [ sp:object _:b23 ; | 317 | + ]) |
| 318 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 318 | + ] ; |
| 319 | - sp:subject _:b17 | 319 | + spin:rule |
| 320 | - ] [ sp:object sxml:TextNode ; | 320 | + [ rdf:type sp:Construct ; |
| 321 | - sp:predicate rdf:type ; | 321 | + rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; |
| 322 | - sp:subject _:b23 | 322 | + sp:templates ([ sp:object _:b23 ; |
| 323 | - ] [ sp:object _:b24 ; | 323 | + sp:predicate _:b24 ; |
| 324 | - sp:predicate sxml:text ; | 324 | + sp:subject spin:_this |
| 325 | - sp:subject _:b23 | 325 | + ] [ sp:object rdf:Statement ; |
| 326 | - ] [ sp:object _:b21 ; | 326 | + sp:predicate rdf:type ; |
| 327 | - sp:predicate rdf:type ; | 327 | + sp:subject _:b25 |
| 328 | - sp:subject _:b14 | 328 | + ] [ sp:object spin:_this ; |
| 329 | - ] [ sp:object _:b24 ; | 329 | + sp:predicate rdf:subject ; |
| 330 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 330 | + sp:subject _:b25 |
| 331 | - sp:subject _:b14 | 331 | + ] [ sp:object _:b24 ; |
| 332 | - ]) | 332 | + sp:predicate rdf:predicate ; |
| 333 | - ] ; | 333 | + sp:subject _:b25 |
| 334 | - spin:rule | 334 | + ] [ sp:object _:b23 ; |
| 335 | - [ rdf:type sp:Construct ; | 335 | + sp:predicate rdf:object ; |
| 336 | - rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; | 336 | + sp:subject _:b25 |
| 337 | - sp:templates ([ sp:object _:b25 ; | 337 | + ] [ sp:object _:b25 ; |
| 338 | - sp:predicate _:b26 ; | 338 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 339 | - sp:subject spin:_this | 339 | + sp:subject _:b26 |
| 340 | - ] [ sp:object rdf:Statement ; | 340 | + ]) ; |
| 341 | - sp:predicate rdf:type ; | 341 | + sp:where ([ sp:object _:b26 ; |
| 342 | - sp:subject _:b27 | 342 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 343 | - ] [ sp:object spin:_this ; | 343 | + sp:subject spin:_this |
| 344 | - sp:predicate rdf:subject ; | 344 | + ] [ sp:object _:b27 ; |
| 345 | - sp:subject _:b27 | 345 | + sp:predicate rdf:type ; |
| 346 | - ] [ sp:object _:b26 ; | 346 | + sp:subject _:b26 |
| 347 | - sp:predicate rdf:predicate ; | 347 | + ] [ rdf:type sp:NotExists ; |
| 348 | - sp:subject _:b27 | 348 | + sp:elements ([ sp:object |
| 349 | - ] [ sp:object _:b25 ; | 349 | + [ sp:varName "uom"^^xsd:string |
| 350 | - sp:predicate rdf:object ; | 350 | + ] ; |
| 351 | - sp:subject _:b27 | 351 | + sp:predicate ddr:uom ; |
| 352 | - ] [ sp:object _:b27 ; | 352 | + sp:subject _:b26 |
| 353 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 353 | + ]) |
| 354 | - sp:subject _:b25 | 354 | + ] [ rdf:type sp:Bind ; |
| 355 | - ]) ; | 355 | + sp:expression |
| 356 | - sp:where ([ sp:object _:b28 ; | 356 | + [ rdf:type smf:titleCase ; |
| 357 | - sp:predicate owl:allValuesFrom ; | 357 | + sp:arg1 [ rdf:type afn:localname ; |
| 358 | - sp:subject _:b29 | 358 | + sp:arg1 _:b27 |
| 359 | - ] [ sp:object _:b26 ; | 359 | + ] |
| 360 | - sp:predicate owl:onProperty ; | 360 | + ] ; |
| 361 | - sp:subject _:b29 | 361 | + sp:variable _:b28 |
| 362 | - ] [ sp:object _:b28 ; | 362 | + ] [ rdf:type sp:Bind ; |
| 363 | - sp:predicate rdf:type ; | 363 | + sp:expression |
| 364 | - sp:subject _:b25 | 364 | + [ rdf:type smf:buildURI ; |
| 365 | - ] [ sp:object _:b25 ; | 365 | + sp:arg1 [ rdf:type fn:concat ; |
| 366 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 366 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ; |
| 367 | - sp:subject spin:_this | 367 | + sp:arg2 _:b28 |
| 368 | - ] [ sp:object _:b30 ; | 368 | + ] |
| 369 | - sp:predicate rdf:type ; | 369 | + ] ; |
| 370 | - sp:subject spin:_this | 370 | + sp:variable _:b24 |
| 371 | - ] [ rdf:type sp:TriplePath ; | 371 | + ] [ sp:object owl:ObjectProperty ; |
| 372 | - sp:object _:b29 ; | 372 | + sp:predicate rdf:type ; |
| 373 | - sp:path [ rdf:type sp:ModPath ; | 373 | + sp:subject _:b24 |
| 374 | - sp:modMax -2 ; | 374 | + ] [ sp:object _:b24 ; |
| 375 | - sp:modMin 0 ; | 375 | + sp:predicate owl:onProperty ; |
| 376 | - sp:subPath rdfs:subClassOf | 376 | + sp:subject _:b29 |
| 377 | - ] ; | 377 | + ] [ sp:object _:b30 ; |
| 378 | - sp:subject _:b30 | 378 | + sp:predicate owl:allValuesFrom ; |
| 379 | - ]) | 379 | + sp:subject _:b29 |
| 380 | - ] ; | 380 | + ] [ sp:object _:b31 ; |
| 381 | - spin:rule | 381 | + sp:predicate rdf:type ; |
| 382 | - [ rdf:type sp:Construct ; | 382 | + sp:subject spin:_this |
| 383 | - rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; | 383 | + ] [ rdf:type sp:TriplePath ; |
| 384 | - sp:templates ([ sp:object _:b31 ; | 384 | + sp:object _:b29 ; |
| 385 | - sp:predicate _:b32 ; | 385 | + sp:path [ rdf:type sp:ModPath ; |
| 386 | - sp:subject spin:_this | 386 | + sp:modMax -2 ; |
| 387 | - ] [ sp:object rdf:Statement ; | 387 | + sp:modMin 0 ; |
| 388 | - sp:predicate rdf:type ; | 388 | + sp:subPath rdfs:subClassOf |
| 389 | - sp:subject _:b33 | 389 | + ] ; |
| 390 | - ] [ sp:object spin:_this ; | 390 | + sp:subject _:b31 |
| 391 | - sp:predicate rdf:subject ; | 391 | + ] [ rdf:type sp:TriplePath ; |
| 392 | - sp:subject _:b33 | 392 | + sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; |
| 393 | - ] [ sp:object _:b32 ; | 393 | + sp:path [ rdf:type sp:ModPath ; |
| 394 | - sp:predicate rdf:predicate ; | 394 | + sp:modMax -2 ; |
| 395 | - sp:subject _:b33 | 395 | + sp:modMin 0 ; |
| 396 | - ] [ sp:object _:b31 ; | 396 | + sp:subPath rdfs:subClassOf |
| 397 | - sp:predicate rdf:object ; | 397 | + ] ; |
| 398 | - sp:subject _:b33 | 398 | + sp:subject _:b30 |
| 399 | - ] [ sp:object _:b33 ; | 399 | + ] [ sp:object _:b32 ; |
| 400 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 400 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 401 | - sp:subject _:b34 | 401 | + sp:subject _:b26 |
| 402 | - ]) ; | 402 | + ] [ sp:object sxml:TextNode ; |
| 403 | - sp:where ([ sp:object _:b34 ; | 403 | + sp:predicate rdf:type ; |
| 404 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 404 | + sp:subject _:b32 |
| 405 | - sp:subject spin:_this | 405 | + ] [ sp:object _:b33 ; |
| 406 | - ] [ sp:object _:b35 ; | 406 | + sp:predicate sxml:text ; |
| 407 | - sp:predicate rdf:type ; | 407 | + sp:subject _:b32 |
| 408 | - sp:subject _:b34 | 408 | + ] [ sp:object _:b30 ; |
| 409 | - ] [ rdf:type sp:NotExists ; | 409 | + sp:predicate rdf:type ; |
| 410 | - sp:elements ([ sp:object | 410 | + sp:subject _:b23 |
| 411 | - [ sp:varName "uom"^^xsd:string | 411 | + ] [ sp:object _:b33 ; |
| 412 | - ] ; | 412 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 413 | - sp:predicate ddr:uom ; | 413 | + sp:subject _:b23 |
| 414 | - sp:subject _:b34 | 414 | + ]) |
| 415 | - ]) | 415 | + ] ; |
| 416 | - ] [ rdf:type sp:Bind ; | 416 | + spin:rule |
| 417 | - sp:expression | 417 | + [ rdf:type sp:Construct ; |
| 418 | - [ rdf:type afn:localname ; | 418 | + rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; |
| 419 | - sp:arg1 _:b35 | 419 | + sp:templates ([ sp:object _:b34 ; |
| 420 | - ] ; | 420 | + sp:predicate _:b35 ; |
| 421 | - sp:variable _:b36 | 421 | + sp:subject spin:_this |
| 422 | - ] [ rdf:type sp:Bind ; | 422 | + ] [ sp:object rdf:Statement ; |
| 423 | - sp:expression | 423 | + sp:predicate rdf:type ; |
| 424 | - [ rdf:type smf:buildURI ; | 424 | + sp:subject _:b36 |
| 425 | - sp:arg1 [ rdf:type fn:concat ; | 425 | + ] [ sp:object spin:_this ; |
| 426 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 426 | + sp:predicate rdf:subject ; |
| 427 | - sp:arg2 _:b36 | 427 | + sp:subject _:b36 |
| 428 | - ] | 428 | + ] [ sp:object _:b35 ; |
| 429 | - ] ; | 429 | + sp:predicate rdf:predicate ; |
| 430 | - sp:variable _:b32 | 430 | + sp:subject _:b36 |
| 431 | - ] [ sp:object owl:DatatypeProperty ; | 431 | + ] [ sp:object _:b34 ; |
| 432 | - sp:predicate rdf:type ; | 432 | + sp:predicate rdf:object ; |
| 433 | - sp:subject _:b32 | 433 | + sp:subject _:b36 |
| 434 | - ] [ sp:object _:b32 ; | 434 | + ] [ sp:object _:b36 ; |
| 435 | - sp:predicate owl:onProperty ; | 435 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 436 | - sp:subject _:b37 | 436 | + sp:subject _:b34 |
| 437 | - ] [ sp:object _:b38 ; | 437 | + ]) ; |
| 438 | - sp:predicate owl:allValuesFrom ; | 438 | + sp:where ([ sp:object _:b37 ; |
| 439 | - sp:subject _:b37 | 439 | + sp:predicate owl:allValuesFrom ; |
| 440 | - ] [ rdf:type sp:TriplePath ; | 440 | + sp:subject _:b38 |
| 441 | - sp:object xsd:dateTime ; | 441 | + ] [ sp:object _:b35 ; |
| 442 | - sp:path [ rdf:type sp:ModPath ; | 442 | + sp:predicate owl:onProperty ; |
| 443 | - sp:modMax -2 ; | 443 | + sp:subject _:b38 |
| 444 | - sp:modMin 0 ; | 444 | + ] [ sp:object _:b37 ; |
| 445 | - sp:subPath rdfs:subClassOf | 445 | + sp:predicate rdf:type ; |
| 446 | - ] ; | 446 | + sp:subject _:b34 |
| 447 | - sp:subject _:b38 | 447 | + ] [ sp:object _:b34 ; |
| 448 | - ] [ sp:object _:b39 ; | 448 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 449 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 449 | + sp:subject spin:_this |
| 450 | - sp:subject _:b34 | 450 | + ] [ rdf:type sp:NotExists ; |
| 451 | - ] [ sp:object sxml:TextNode ; | 451 | + sp:elements ([ sp:object |
| 452 | - sp:predicate rdf:type ; | 452 | + [ sp:varName "xmlTag"^^xsd:string |
| 453 | - sp:subject _:b39 | 453 | + ] ; |
| 454 | - ] [ sp:object _:b40 ; | 454 | + sp:predicate sxml:instanceElement ; |
| 455 | - sp:predicate sxml:text ; | 455 | + sp:subject _:b34 |
| 456 | - sp:subject _:b39 | 456 | + ]) |
| 457 | - ] [ sp:object _:b41 ; | 457 | + ] [ sp:object _:b39 ; |
| 458 | - sp:predicate rdf:type ; | 458 | + sp:predicate rdf:type ; |
| 459 | - sp:subject spin:_this | 459 | + sp:subject spin:_this |
| 460 | - ] [ rdf:type sp:TriplePath ; | 460 | + ] [ rdf:type sp:TriplePath ; |
| 461 | - sp:object _:b37 ; | 461 | + sp:object _:b38 ; |
| 462 | - sp:path [ rdf:type sp:ModPath ; | 462 | + sp:path [ rdf:type sp:ModPath ; |
| 463 | - sp:modMax -2 ; | 463 | + sp:modMax -2 ; |
| 464 | - sp:modMin 0 ; | 464 | + sp:modMin 0 ; |
| 465 | - sp:subPath rdfs:subClassOf | 465 | + sp:subPath rdfs:subClassOf |
| 466 | - ] ; | 466 | + ] ; |
| 467 | - sp:subject _:b41 | 467 | + sp:subject _:b39 |
| 468 | - ] [ rdf:type sp:Bind ; | 468 | + ]) |
| 469 | - sp:expression | 469 | + ] ; |
| 470 | - [ rdf:type xsd:dateTime ; | 470 | + spin:rule |
| 471 | - sp:arg1 _:b40 | 471 | + [ rdf:type sp:Construct ; |
| 472 | - ] ; | 472 | + rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; |
| 473 | - sp:variable _:b31 | 473 | + sp:templates ([ sp:object _:b40 ; |
| 474 | - ]) | 474 | + sp:predicate _:b41 ; |
| 475 | - ] ; | 475 | + sp:subject spin:_this |
| 476 | - spin:rule | 476 | + ] [ sp:object rdf:Statement ; |
| 477 | - [ rdf:type sp:Construct ; | 477 | + sp:predicate rdf:type ; |
| 478 | - rdfs:comment "STEP 003 - Construct datatype string values"^^xsd:string ; | 478 | + sp:subject _:b42 |
| 479 | - sp:templates ([ sp:object _:b42 ; | 479 | + ] [ sp:object spin:_this ; |
| 480 | - sp:predicate _:b43 ; | 480 | + sp:predicate rdf:subject ; |
| 481 | - sp:subject spin:_this | 481 | + sp:subject _:b42 |
| 482 | - ] [ sp:object rdf:Statement ; | 482 | + ] [ sp:object _:b41 ; |
| 483 | - sp:predicate rdf:type ; | 483 | + sp:predicate rdf:predicate ; |
| 484 | - sp:subject _:b44 | 484 | + sp:subject _:b42 |
| 485 | - ] [ sp:object spin:_this ; | 485 | + ] [ sp:object _:b40 ; |
| 486 | - sp:predicate rdf:subject ; | 486 | + sp:predicate rdf:object ; |
| 487 | - sp:subject _:b44 | 487 | + sp:subject _:b42 |
| 488 | - ] [ sp:object _:b43 ; | 488 | + ] [ sp:object _:b42 ; |
| 489 | - sp:predicate rdf:predicate ; | 489 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 490 | - sp:subject _:b44 | 490 | + sp:subject _:b43 |
| 491 | - ] [ sp:object _:b42 ; | 491 | + ]) ; |
| 492 | - sp:predicate rdf:object ; | 492 | + sp:where ([ sp:object _:b43 ; |
| 493 | - sp:subject _:b44 | 493 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 494 | - ] [ sp:object _:b44 ; | 494 | + sp:subject spin:_this |
| 495 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 495 | + ] [ sp:object _:b44 ; |
| 496 | - sp:subject _:b45 | 496 | + sp:predicate rdf:type ; |
| 497 | - ]) ; | 497 | + sp:subject _:b43 |
| 498 | - sp:where ([ sp:object _:b45 ; | 498 | + ] [ rdf:type sp:NotExists ; |
| 499 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 499 | + sp:elements ([ sp:object |
| 500 | - sp:subject spin:_this | 500 | + [ sp:varName "uom"^^xsd:string |
| 501 | - ] [ sp:object _:b46 ; | 501 | + ] ; |
| 502 | - sp:predicate rdf:type ; | 502 | + sp:predicate ddr:uom ; |
| 503 | - sp:subject _:b45 | 503 | + sp:subject _:b43 |
| 504 | - ] [ rdf:type sp:NotExists ; | 504 | + ]) |
| 505 | - sp:elements ([ sp:object | 505 | + ] [ rdf:type sp:Bind ; |
| 506 | - [ sp:varName "uom"^^xsd:string | 506 | + sp:expression |
| 507 | - ] ; | 507 | + [ rdf:type afn:localname ; |
| 508 | - sp:predicate ddr:uom ; | 508 | + sp:arg1 _:b44 |
| 509 | - sp:subject _:b45 | 509 | + ] ; |
| 510 | - ]) | 510 | + sp:variable _:b45 |
| 511 | - ] [ rdf:type sp:Bind ; | 511 | + ] [ rdf:type sp:Bind ; |
| 512 | - sp:expression | 512 | + sp:expression |
| 513 | - [ rdf:type afn:localname ; | 513 | + [ rdf:type smf:buildURI ; |
| 514 | - sp:arg1 _:b46 | 514 | + sp:arg1 [ rdf:type fn:concat ; |
| 515 | - ] ; | 515 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
| 516 | - sp:variable _:b47 | 516 | + sp:arg2 _:b45 |
| 517 | - ] [ rdf:type sp:Bind ; | 517 | + ] |
| 518 | - sp:expression | 518 | + ] ; |
| 519 | - [ rdf:type smf:buildURI ; | 519 | + sp:variable _:b41 |
| 520 | - sp:arg1 [ rdf:type fn:concat ; | 520 | + ] [ sp:object owl:DatatypeProperty ; |
| 521 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 521 | + sp:predicate rdf:type ; |
| 522 | - sp:arg2 _:b47 | 522 | + sp:subject _:b41 |
| 523 | - ] | 523 | + ] [ sp:object _:b41 ; |
| 524 | - ] ; | 524 | + sp:predicate owl:onProperty ; |
| 525 | - sp:variable _:b43 | 525 | + sp:subject _:b46 |
| 526 | - ] [ sp:object owl:DatatypeProperty ; | 526 | + ] [ sp:object _:b47 ; |
| 527 | - sp:predicate rdf:type ; | 527 | + sp:predicate owl:allValuesFrom ; |
| 528 | - sp:subject _:b43 | 528 | + sp:subject _:b46 |
| 529 | - ] [ sp:object _:b43 ; | 529 | + ] [ rdf:type sp:TriplePath ; |
| 530 | - sp:predicate owl:onProperty ; | 530 | + sp:object xsd:dateTime ; |
| 531 | - sp:subject _:b48 | 531 | + sp:path [ rdf:type sp:ModPath ; |
| 532 | - ] [ sp:object _:b49 ; | 532 | + sp:modMax -2 ; |
| 533 | - sp:predicate owl:allValuesFrom ; | 533 | + sp:modMin 0 ; |
| 534 | - sp:subject _:b48 | 534 | + sp:subPath rdfs:subClassOf |
| 535 | - ] [ rdf:type sp:TriplePath ; | 535 | + ] ; |
| 536 | - sp:object xsd:string ; | 536 | + sp:subject _:b47 |
| 537 | - sp:path [ rdf:type sp:ModPath ; | 537 | + ] [ sp:object _:b48 ; |
| 538 | - sp:modMax -2 ; | 538 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 539 | - sp:modMin 0 ; | 539 | + sp:subject _:b43 |
| 540 | - sp:subPath rdfs:subClassOf | 540 | + ] [ sp:object sxml:TextNode ; |
| 541 | - ] ; | 541 | + sp:predicate rdf:type ; |
| 542 | - sp:subject _:b49 | 542 | + sp:subject _:b48 |
| 543 | - ] [ sp:object _:b50 ; | 543 | + ] [ sp:object _:b49 ; |
| 544 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 544 | + sp:predicate sxml:text ; |
| 545 | - sp:subject _:b45 | 545 | + sp:subject _:b48 |
| 546 | - ] [ sp:object sxml:TextNode ; | 546 | + ] [ sp:object _:b50 ; |
| 547 | - sp:predicate rdf:type ; | 547 | + sp:predicate rdf:type ; |
| 548 | - sp:subject _:b50 | 548 | + sp:subject spin:_this |
| 549 | - ] [ sp:object _:b42 ; | 549 | + ] [ rdf:type sp:TriplePath ; |
| 550 | - sp:predicate sxml:text ; | 550 | + sp:object _:b46 ; |
| 551 | - sp:subject _:b50 | 551 | + sp:path [ rdf:type sp:ModPath ; |
| 552 | - ] [ sp:object _:b51 ; | 552 | + sp:modMax -2 ; |
| 553 | - sp:predicate rdf:type ; | 553 | + sp:modMin 0 ; |
| 554 | - sp:subject spin:_this | 554 | + sp:subPath rdfs:subClassOf |
| 555 | - ] [ rdf:type sp:TriplePath ; | 555 | + ] ; |
| 556 | - sp:object _:b48 ; | 556 | + sp:subject _:b50 |
| 557 | - sp:path [ rdf:type sp:ModPath ; | 557 | + ] [ rdf:type sp:Bind ; |
| 558 | - sp:modMax -2 ; | 558 | + sp:expression |
| 559 | - sp:modMin 0 ; | 559 | + [ rdf:type xsd:dateTime ; |
| 560 | - sp:subPath rdfs:subClassOf | 560 | + sp:arg1 _:b49 |
| 561 | - ] ; | 561 | + ] ; |
| 562 | - sp:subject _:b51 | 562 | + sp:variable _:b40 |
| 563 | - ]) | 563 | + ]) |
| 564 | - ] . | 564 | + ] ; |
| 565 | - | 565 | + spin:rule |
| 566 | -ddr:schemaLocation | 566 | + [ rdf:type sp:Construct ; |
| 567 | - rdfs:domain ddr:Obj_drillReports ; | 567 | + rdfs:comment "STEP 003 - Construct datatype string values"^^xsd:string ; |
| 568 | - sxml:attribute "xsi:schemaLocation"^^xsd:string . | 568 | + sp:templates ([ sp:object _:b51 ; |
| 569 | - | 569 | + sp:predicate _:b52 ; |
| 570 | -ddr:uom | 570 | + sp:subject spin:_this |
| 571 | - sxml:attribute "uom"^^xsd:string . | 571 | + ] [ sp:object rdf:Statement ; |
| 572 | - | 572 | + sp:predicate rdf:type ; |
| 573 | -ddr:version | 573 | + sp:subject _:b53 |
| 574 | - rdfs:domain ddr:DrillReports ; | 574 | + ] [ sp:object spin:_this ; |
| 575 | - sxml:attribute "version"^^xsd:string . | 575 | + sp:predicate rdf:subject ; |
| 576 | - | 576 | + sp:subject _:b53 |
| 577 | -<http://www.reportinghub.no/ep/transform/1.1/ddr> | 577 | + ] [ sp:object _:b52 ; |
| 578 | - rdf:type owl:Ontology ; | 578 | + sp:predicate rdf:predicate ; |
| 579 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> ; | 579 | + sp:subject _:b53 |
| 580 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 580 | + ] [ sp:object _:b51 ; |
| 581 | - | 581 | + sp:predicate rdf:object ; |
| 582 | -owl:Thing | 582 | + sp:subject _:b53 |
| 583 | - spin:query | 583 | + ] [ sp:object _:b53 ; |
| 584 | - [ rdf:type sp:Select ; | 584 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 585 | - sp:resultVariables (_:b52 _:b53 _:b54 _:b55) ; | 585 | + sp:subject _:b54 |
| 586 | - sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; | 586 | + ]) ; |
| 587 | - sp:predicate rdf:type ; | 587 | + sp:where ([ sp:object _:b54 ; |
| 588 | - sp:subject _:b56 | 588 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 589 | - ] [ rdf:type sp:TriplePath ; | 589 | + sp:subject spin:_this |
| 590 | - sp:object _:b57 ; | 590 | + ] [ sp:object _:b55 ; |
| 591 | - sp:path [ rdf:type sp:ModPath ; | 591 | + sp:predicate rdf:type ; |
| 592 | - sp:modMax -2 ; | 592 | + sp:subject _:b54 |
| 593 | - sp:modMin 0 ; | 593 | + ] [ rdf:type sp:NotExists ; |
| 594 | - sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> | 594 | + sp:elements ([ sp:object |
| 595 | - ] ; | 595 | + [ sp:varName "uom"^^xsd:string |
| 596 | - sp:subject _:b56 | 596 | + ] ; |
| 597 | - ] [ sp:object _:b58 ; | 597 | + sp:predicate ddr:uom ; |
| 598 | - sp:predicate <http://topbraid.org/sxsd#name> ; | 598 | + sp:subject _:b54 |
| 599 | - sp:subject _:b56 | 599 | + ]) |
| 600 | - ] [ sp:object _:b55 ; | 600 | + ] [ rdf:type sp:Bind ; |
| 601 | - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | 601 | + sp:expression |
| 602 | - sp:subject _:b57 | 602 | + [ rdf:type afn:localname ; |
| 603 | - ] [ sp:object _:b59 ; | 603 | + sp:arg1 _:b55 |
| 604 | - sp:predicate <http://topbraid.org/sxsd#name> ; | 604 | + ] ; |
| 605 | - sp:subject _:b57 | 605 | + sp:variable _:b56 |
| 606 | - ] [ rdf:type sp:Bind ; | 606 | + ] [ rdf:type sp:Bind ; |
| 607 | - sp:expression | 607 | + sp:expression |
| 608 | - [ rdf:type spif:titleCase ; | 608 | + [ rdf:type smf:buildURI ; |
| 609 | - sp:arg1 _:b59 | 609 | + sp:arg1 [ rdf:type fn:concat ; |
| 610 | - ] ; | 610 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
| 611 | - sp:variable _:b60 | 611 | + sp:arg2 _:b56 |
| 612 | - ] [ rdf:type sp:Bind ; | 612 | + ] |
| 613 | - sp:expression | 613 | + ] ; |
| 614 | - [ rdf:type smf:buildURI ; | 614 | + sp:variable _:b52 |
| 615 | - sp:arg1 [ rdf:type fn:concat ; | 615 | + ] [ sp:object owl:DatatypeProperty ; |
| 616 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | 616 | + sp:predicate rdf:type ; |
| 617 | - sp:arg2 _:b60 | 617 | + sp:subject _:b52 |
| 618 | - ] | 618 | + ] [ sp:object _:b52 ; |
| 619 | - ] ; | 619 | + sp:predicate owl:onProperty ; |
| 620 | - sp:variable _:b54 | 620 | + sp:subject _:b57 |
| 621 | - ] [ rdf:type sp:Bind ; | 621 | + ] [ sp:object _:b58 ; |
| 622 | - sp:expression | 622 | + sp:predicate owl:allValuesFrom ; |
| 623 | - [ rdf:type spif:titleCase ; | 623 | + sp:subject _:b57 |
| 624 | - sp:arg1 _:b58 ; | 624 | + ] [ rdf:type sp:TriplePath ; |
| 625 | - sp:arg2 "[a-z]s" | 625 | + sp:object xsd:string ; |
| 626 | - ] ; | 626 | + sp:path [ rdf:type sp:ModPath ; |
| 627 | - sp:variable _:b61 | 627 | + sp:modMax -2 ; |
| 628 | - ] [ rdf:type sp:Bind ; | 628 | + sp:modMin 0 ; |
| 629 | - sp:expression | 629 | + sp:subPath rdfs:subClassOf |
| 630 | - [ rdf:type smf:buildURI ; | 630 | + ] ; |
| 631 | - sp:arg1 [ rdf:type fn:concat ; | 631 | + sp:subject _:b58 |
| 632 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 632 | + ] [ sp:object _:b59 ; |
| 633 | - sp:arg2 _:b61 | 633 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 634 | - ] | 634 | + sp:subject _:b54 |
| 635 | - ] ; | 635 | + ] [ sp:object sxml:TextNode ; |
| 636 | - sp:variable _:b53 | 636 | + sp:predicate rdf:type ; |
| 637 | - ] [ rdf:type sp:Bind ; | 637 | + sp:subject _:b59 |
| 638 | - sp:expression | 638 | + ] [ sp:object _:b51 ; |
| 639 | - [ rdf:type smf:buildURI ; | 639 | + sp:predicate sxml:text ; |
| 640 | - sp:arg1 [ rdf:type fn:concat ; | 640 | + sp:subject _:b59 |
| 641 | - sp:arg1 "http://www.reportinghub.no/map/ddr#" ; | 641 | + ] [ sp:object _:b60 ; |
| 642 | - sp:arg2 _:b61 ; | 642 | + sp:predicate rdf:type ; |
| 643 | - sp:arg3 "-has" ; | 643 | + sp:subject spin:_this |
| 644 | - sp:arg4 _:b60 | 644 | + ] [ rdf:type sp:TriplePath ; |
| 645 | - ] | 645 | + sp:object _:b57 ; |
| 646 | - ] ; | 646 | + sp:path [ rdf:type sp:ModPath ; |
| 647 | - sp:variable _:b52 | 647 | + sp:modMax -2 ; |
| 648 | - ]) | 648 | + sp:modMin 0 ; |
| 649 | - ] ; | 649 | + sp:subPath rdfs:subClassOf |
| 650 | - spin:query | 650 | + ] ; |
| 651 | - [ rdf:type sp:Select ; | 651 | + sp:subject _:b60 |
| 652 | - sp:resultVariables (_:b62 _:b63 _:b64 _:b65) ; | 652 | + ]) |
| 653 | - sp:where ([ sp:object _:b65 ; | 653 | + ] . |
| 654 | - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | 654 | + |
| 655 | - sp:subject _:b64 | 655 | +ddr:schemaLocation |
| 656 | - ] [ sp:object _:b64 ; | 656 | + rdfs:domain ddr:Obj_drillReports ; |
| 657 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 657 | + sxml:attribute "xsi:schemaLocation"^^xsd:string . |
| 658 | - sp:subject _:b63 | 658 | + |
| 659 | - ] [ rdf:type sp:Union ; | 659 | +ddr:uom |
| 660 | - sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ; | 660 | + sxml:attribute "uom"^^xsd:string . |
| 661 | - sp:predicate rdf:type ; | 661 | + |
| 662 | - sp:subject _:b63 | 662 | +ddr:version |
| 663 | - ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ; | 663 | + rdfs:domain ddr:DrillReports ; |
| 664 | - sp:predicate rdf:type ; | 664 | + sxml:attribute "version"^^xsd:string . |
| 665 | - sp:subject _:b63 | 665 | + |
| 666 | - ])) | 666 | +<http://www.reportinghub.no/ep/transform/1.1/ddr> |
| 667 | - ] [ sp:object _:b63 ; | 667 | + rdf:type owl:Ontology ; |
| 668 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 668 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> ; |
| 669 | - sp:subject _:b62 | 669 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 670 | - ]) | 670 | + |
| 671 | - ] ; | 671 | +owl:Thing |
| 672 | - spin:query | 672 | + spin:query |
| 673 | - [ rdf:type sp:Select ; | 673 | + [ rdf:type sp:Select ; |
| 674 | - sp:where ([ sp:object | 674 | + sp:resultVariables (_:b61 _:b62 _:b63 _:b64) ; |
| 675 | - [ sp:varName "p"^^xsd:string | 675 | + sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; |
| 676 | - ] ; | 676 | + sp:predicate rdf:type ; |
| 677 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 677 | + sp:subject _:b65 |
| 678 | - sp:subject _:b66 | 678 | + ] [ rdf:type sp:TriplePath ; |
| 679 | - ] [ rdf:type sp:NotExists ; | 679 | + sp:object _:b66 ; |
| 680 | - sp:elements ([ sp:object | 680 | + sp:path [ rdf:type sp:ModPath ; |
| 681 | - [ sp:varName "b"^^xsd:string | 681 | + sp:modMax -2 ; |
| 682 | - ] ; | 682 | + sp:modMin 0 ; |
| 683 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 683 | + sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> |
| 684 | - sp:subject _:b66 | 684 | + ] ; |
| 685 | - ]) | 685 | + sp:subject _:b65 |
| 686 | - ]) | 686 | + ] [ sp:object _:b67 ; |
| 687 | - ] ; | 687 | + sp:predicate <http://topbraid.org/sxsd#name> ; |
| 688 | - spin:update | 688 | + sp:subject _:b65 |
| 689 | - [ rdf:type sp:Modify ; | 689 | + ] [ sp:object _:b64 ; |
| 690 | - sp:deletePattern ([ sp:object _:b67 ; | 690 | + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; |
| 691 | - sp:predicate rdfs:label ; | 691 | + sp:subject _:b66 |
| 692 | - sp:subject _:b68 | 692 | + ] [ sp:object _:b68 ; |
| 693 | - ]) ; | 693 | + sp:predicate <http://topbraid.org/sxsd#name> ; |
| 694 | - sp:insertPattern ([ sp:object _:b69 ; | 694 | + sp:subject _:b66 |
| 695 | - sp:predicate rdfs:label ; | 695 | + ] [ rdf:type sp:Bind ; |
| 696 | - sp:subject _:b68 | 696 | + sp:expression |
| 697 | - ]) ; | 697 | + [ rdf:type spif:titleCase ; |
| 698 | - sp:where ([ sp:object _:b68 ; | 698 | + sp:arg1 _:b68 |
| 699 | - sp:predicate owl:onProperty ; | 699 | + ] ; |
| 700 | - sp:subject | 700 | + sp:variable _:b69 |
| 701 | - [ sp:varName "r"^^xsd:string | 701 | + ] [ rdf:type sp:Bind ; |
| 702 | - ] | 702 | + sp:expression |
| 703 | - ] [ sp:object _:b67 ; | 703 | + [ rdf:type smf:buildURI ; |
| 704 | - sp:predicate rdfs:label ; | 704 | + sp:arg1 [ rdf:type fn:concat ; |
| 705 | - sp:subject _:b68 | 705 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; |
| 706 | - ] [ rdf:type sp:Filter ; | 706 | + sp:arg2 _:b69 |
| 707 | - sp:expression | 707 | + ] |
| 708 | - [ rdf:type fn:starts-with ; | 708 | + ] ; |
| 709 | - sp:arg1 _:b67 ; | 709 | + sp:variable _:b63 |
| 710 | - sp:arg2 "has" | 710 | + ] [ rdf:type sp:Bind ; |
| 711 | - ] | 711 | + sp:expression |
| 712 | - ] [ rdf:type sp:Bind ; | 712 | + [ rdf:type spif:titleCase ; |
| 713 | - sp:expression | 713 | + sp:arg1 _:b67 ; |
| 714 | - [ rdf:type smf:trim ; | 714 | + sp:arg2 "[a-z]s" |
| 715 | - sp:arg1 [ rdf:type smf:regex ; | 715 | + ] ; |
| 716 | - sp:arg1 _:b67 ; | 716 | + sp:variable _:b70 |
| 717 | - sp:arg2 "has(.*)" ; | 717 | + ] [ rdf:type sp:Bind ; |
| 718 | - sp:arg3 "$1" | 718 | + sp:expression |
| 719 | - ] | 719 | + [ rdf:type smf:buildURI ; |
| 720 | - ] ; | 720 | + sp:arg1 [ rdf:type fn:concat ; |
| 721 | - sp:variable _:b69 | 721 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
| 722 | - ]) | 722 | + sp:arg2 _:b70 |
| 723 | - ] . | 723 | + ] |
| 724 | - | 724 | + ] ; |
| 725 | -_:b42 | 725 | + sp:variable _:b62 |
| 726 | - sp:varName "text"^^xsd:string . | 726 | + ] [ rdf:type sp:Bind ; |
| 727 | - | 727 | + sp:expression |
| 728 | -_:b43 | 728 | + [ rdf:type smf:buildURI ; |
| 729 | - sp:varName "dtpnameU"^^xsd:string . | 729 | + sp:arg1 [ rdf:type fn:concat ; |
| 730 | - | 730 | + sp:arg1 "http://www.reportinghub.no/map/ddr#" ; |
| 731 | -_:b45 | 731 | + sp:arg2 _:b70 ; |
| 732 | - sp:varName "child"^^xsd:string . | 732 | + sp:arg3 "-has" ; |
| 733 | - | 733 | + sp:arg4 _:b69 |
| 734 | -_:b46 | 734 | + ] |
| 735 | - sp:varName "childType"^^xsd:string . | 735 | + ] ; |
| 736 | - | 736 | + sp:variable _:b61 |
| 737 | -_:b47 | 737 | + ]) |
| 738 | - sp:varName "childLocalName"^^xsd:string . | 738 | + ] ; |
| 739 | - | 739 | + spin:query |
| 740 | -_:b48 | 740 | + [ rdf:type sp:Select ; |
| 741 | - sp:varName "valuesRestriction"^^xsd:string . | 741 | + sp:resultVariables (_:b71 _:b72 _:b73 _:b74) ; |
| 742 | - | 742 | + sp:where ([ sp:object _:b74 ; |
| 743 | -_:b49 | 743 | + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; |
| 744 | - sp:varName "rangeType"^^xsd:string . | 744 | + sp:subject _:b73 |
| 745 | - | 745 | + ] [ sp:object _:b73 ; |
| 746 | -_:b50 | 746 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 747 | - sp:varName "textNode"^^xsd:string . | 747 | + sp:subject _:b72 |
| 748 | - | 748 | + ] [ rdf:type sp:Union ; |
| 749 | -_:b51 | 749 | + sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ; |
| 750 | - sp:varName "instType"^^xsd:string . | 750 | + sp:predicate rdf:type ; |
| 751 | - | 751 | + sp:subject _:b72 |
| 752 | -_:b31 | 752 | + ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ; |
| 753 | - sp:varName "dateTime"^^xsd:string . | 753 | + sp:predicate rdf:type ; |
| 754 | - | 754 | + sp:subject _:b72 |
| 755 | -_:b32 | 755 | + ])) |
| 756 | - sp:varName "dtpnameU"^^xsd:string . | 756 | + ] [ sp:object _:b72 ; |
| 757 | - | 757 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 758 | -_:b34 | 758 | + sp:subject _:b71 |
| 759 | - sp:varName "child"^^xsd:string . | 759 | + ]) |
| 760 | - | 760 | + ] ; |
| 761 | -_:b35 | 761 | + spin:query |
| 762 | - sp:varName "childType"^^xsd:string . | 762 | + [ rdf:type sp:Select ; |
| 763 | - | 763 | + sp:where ([ sp:object |
| 764 | -_:b36 | 764 | + [ sp:varName "p"^^xsd:string |
| 765 | - sp:varName "childLocalName"^^xsd:string . | 765 | + ] ; |
| 766 | - | 766 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 767 | -_:b37 | 767 | + sp:subject _:b75 |
| 768 | - sp:varName "valuesRestriction"^^xsd:string . | 768 | + ] [ rdf:type sp:NotExists ; |
| 769 | - | 769 | + sp:elements ([ sp:object |
| 770 | -_:b38 | 770 | + [ sp:varName "b"^^xsd:string |
| 771 | - sp:varName "rangeType"^^xsd:string . | 771 | + ] ; |
| 772 | - | 772 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 773 | -_:b39 | 773 | + sp:subject _:b75 |
| 774 | - sp:varName "textNode"^^xsd:string . | 774 | + ]) |
| 775 | - | 775 | + ]) |
| 776 | -_:b40 | 776 | + ] ; |
| 777 | - sp:varName "text"^^xsd:string . | 777 | + spin:update |
| 778 | - | 778 | + [ rdf:type sp:Modify ; |
| 779 | -_:b41 | 779 | + sp:deletePattern ([ sp:object _:b76 ; |
| 780 | - sp:varName "instType"^^xsd:string . | 780 | + sp:predicate rdfs:label ; |
| 781 | - | 781 | + sp:subject _:b77 |
| 782 | -_:b25 | 782 | + ]) ; |
| 783 | - sp:varName "child"^^xsd:string . | 783 | + sp:insertPattern ([ sp:object _:b78 ; |
| 784 | - | 784 | + sp:predicate rdfs:label ; |
| 785 | -_:b26 | 785 | + sp:subject _:b77 |
| 786 | - sp:varName "formalProperty"^^xsd:string . | 786 | + ]) ; |
| 787 | - | 787 | + sp:where ([ sp:object _:b77 ; |
| 788 | -_:b28 | 788 | + sp:predicate owl:onProperty ; |
| 789 | - sp:varName "childType"^^xsd:string . | 789 | + sp:subject |
| 790 | - | 790 | + [ sp:varName "r"^^xsd:string |
| 791 | -_:b29 | 791 | + ] |
| 792 | - sp:varName "valuesRestriction"^^xsd:string . | 792 | + ] [ sp:object _:b76 ; |
| 793 | - | 793 | + sp:predicate rdfs:label ; |
| 794 | -_:b30 | 794 | + sp:subject _:b77 |
| 795 | - sp:varName "instType"^^xsd:string . | 795 | + ] [ rdf:type sp:Filter ; |
| 796 | - | 796 | + sp:expression |
| 797 | -_:b14 | 797 | + [ rdf:type fn:starts-with ; |
| 798 | - sp:varName "enumeratedValue"^^xsd:string . | 798 | + sp:arg1 _:b76 ; |
| 799 | - | 799 | + sp:arg2 "has" |
| 800 | -_:b15 | 800 | + ] |
| 801 | - sp:varName "opnameU"^^xsd:string . | 801 | + ] [ rdf:type sp:Bind ; |
| 802 | - | 802 | + sp:expression |
| 803 | -_:b17 | 803 | + [ rdf:type smf:trim ; |
| 804 | - sp:varName "child"^^xsd:string . | 804 | + sp:arg1 [ rdf:type smf:regex ; |
| 805 | - | 805 | + sp:arg1 _:b76 ; |
| 806 | -_:b18 | 806 | + sp:arg2 "has(.*)" ; |
| 807 | - sp:varName "childType"^^xsd:string . | 807 | + sp:arg3 "$1" |
| 808 | - | 808 | + ] |
| 809 | -_:b19 | 809 | + ] ; |
| 810 | - sp:varName "childLocalName"^^xsd:string . | 810 | + sp:variable _:b78 |
| 811 | - | 811 | + ]) |
| 812 | -_:b20 | 812 | + ] . |
| 813 | - sp:varName "valuesRestriction"^^xsd:string . | 813 | + |
| 814 | - | 814 | +_:b51 |
| 815 | -_:b21 | 815 | + sp:varName "text"^^xsd:string . |
| 816 | - sp:varName "rangeU"^^xsd:string . | 816 | + |
| 817 | - | 817 | +_:b52 |
| 818 | -_:b22 | 818 | + sp:varName "dtpnameU"^^xsd:string . |
| 819 | - sp:varName "instType"^^xsd:string . | 819 | + |
| 820 | - | 820 | +_:b54 |
| 821 | -_:b23 | 821 | + sp:varName "child"^^xsd:string . |
| 822 | - sp:varName "textNode"^^xsd:string . | 822 | + |
| 823 | - | 823 | +_:b55 |
| 824 | -_:b24 | 824 | + sp:varName "childType"^^xsd:string . |
| 825 | - sp:varName "text"^^xsd:string . | 825 | + |
| 826 | - | 826 | +_:b56 |
| 827 | -_:b1 sp:varName "rangeU"^^xsd:string . | 827 | + sp:varName "childLocalName"^^xsd:string . |
| 828 | - | 828 | + |
| 829 | -_:b3 sp:varName "uom"^^xsd:string . | 829 | +_:b57 |
| 830 | - | 830 | + sp:varName "valuesRestriction"^^xsd:string . |
| 831 | -_:b4 sp:varName "value"^^xsd:string . | 831 | + |
| 832 | - | 832 | +_:b58 |
| 833 | -_:b5 sp:varName "opnameU"^^xsd:string . | 833 | + sp:varName "rangeType"^^xsd:string . |
| 834 | - | 834 | + |
| 835 | -_:b7 sp:varName "child"^^xsd:string . | 835 | +_:b59 |
| 836 | - | 836 | + sp:varName "textNode"^^xsd:string . |
| 837 | -_:b8 sp:varName "childType"^^xsd:string . | 837 | + |
| 838 | - | 838 | +_:b60 |
| 839 | -_:b9 sp:varName "childLocalName"^^xsd:string . | 839 | + sp:varName "instType"^^xsd:string . |
| 840 | - | 840 | + |
| 841 | -_:b10 | 841 | +_:b40 |
| 842 | - sp:varName "allValuesRestriction"^^xsd:string . | 842 | + sp:varName "dateTime"^^xsd:string . |
| 843 | - | 843 | + |
| 844 | -_:b11 | 844 | +_:b41 |
| 845 | - sp:varName "instType"^^xsd:string . | 845 | + sp:varName "dtpnameU"^^xsd:string . |
| 846 | - | 846 | + |
| 847 | -_:b12 | 847 | +_:b43 |
| 848 | - sp:varName "textNode"^^xsd:string . | 848 | + sp:varName "child"^^xsd:string . |
| 849 | - | 849 | + |
| 850 | -_:b13 | 850 | +_:b44 |
| 851 | - sp:varName "text"^^xsd:string . | 851 | + sp:varName "childType"^^xsd:string . |
| 852 | - | 852 | + |
| 853 | -_:b66 | 853 | +_:b45 |
| 854 | - sp:varName "c"^^xsd:string . | 854 | + sp:varName "childLocalName"^^xsd:string . |
| 855 | - | 855 | + |
| 856 | -_:b62 | 856 | +_:b46 |
| 857 | - sp:varName "pp"^^xsd:string . | 857 | + sp:varName "valuesRestriction"^^xsd:string . |
| 858 | - | 858 | + |
| 859 | -_:b63 | 859 | +_:b47 |
| 860 | - sp:varName "p"^^xsd:string . | 860 | + sp:varName "rangeType"^^xsd:string . |
| 861 | - | 861 | + |
| 862 | -_:b64 | 862 | +_:b48 |
| 863 | - sp:varName "s"^^xsd:string . | 863 | + sp:varName "textNode"^^xsd:string . |
| 864 | - | 864 | + |
| 865 | -_:b65 | 865 | +_:b49 |
| 866 | - sp:varName "e"^^xsd:string . | 866 | + sp:varName "text"^^xsd:string . |
| 867 | - | 867 | + |
| 868 | -_:b52 | 868 | +_:b50 |
| 869 | - sp:varName "ddrCPU"^^xsd:string . | 869 | + sp:varName "instType"^^xsd:string . |
| 870 | - | 870 | + |
| 871 | -_:b53 | 871 | +_:b23 |
| 872 | - sp:varName "ddrCU"^^xsd:string . | 872 | + sp:varName "enumeratedValue"^^xsd:string . |
| 873 | - | 873 | + |
| 874 | -_:b54 | 874 | +_:b24 |
| 875 | - sp:varName "ddrPU"^^xsd:string . | 875 | + sp:varName "opnameU"^^xsd:string . |
| 876 | - | 876 | + |
| 877 | -_:b55 | 877 | +_:b26 |
| 878 | - sp:varName "mre"^^xsd:string . | 878 | + sp:varName "child"^^xsd:string . |
| 879 | - | 879 | + |
| 880 | -_:b56 | 880 | +_:b27 |
| 881 | - sp:varName "s"^^xsd:string . | 881 | + sp:varName "childType"^^xsd:string . |
| 882 | - | 882 | + |
| 883 | -_:b57 | 883 | +_:b28 |
| 884 | - sp:varName "c"^^xsd:string . | 884 | + sp:varName "childLocalName"^^xsd:string . |
| 885 | - | 885 | + |
| 886 | -_:b58 | 886 | +_:b29 |
| 887 | - sp:varName "name"^^xsd:string . | 887 | + sp:varName "valuesRestriction"^^xsd:string . |
| 888 | - | 888 | + |
| 889 | -_:b59 | 889 | +_:b30 |
| 890 | - sp:varName "pname"^^xsd:string . | 890 | + sp:varName "rangeU"^^xsd:string . |
| 891 | - | 891 | + |
| 892 | -_:b60 | 892 | +_:b31 |
| 893 | - sp:varName "tcpname"^^xsd:string . | 893 | + sp:varName "instType"^^xsd:string . |
| 894 | - | 894 | + |
| 895 | -_:b61 | 895 | +_:b32 |
| 896 | - sp:varName "tcname"^^xsd:string . | 896 | + sp:varName "textNode"^^xsd:string . |
| 897 | - | 897 | + |
| 898 | -_:b67 | 898 | +_:b33 |
| 899 | - sp:varName "oldLabel"^^xsd:string . | 899 | + sp:varName "text"^^xsd:string . |
| 900 | - | 900 | + |
| 901 | -_:b68 | 901 | +_:b10 |
| 902 | - sp:varName "p"^^xsd:string . | 902 | + sp:varName "rangeU"^^xsd:string . |
| 903 | - | 903 | + |
| 904 | -_:b69 | 904 | +_:b12 |
| 905 | - sp:varName "newLabel"^^xsd:string . | 905 | + sp:varName "uom"^^xsd:string . |
| 906 | + | ||
| 907 | +_:b13 | ||
| 908 | + sp:varName "value"^^xsd:string . | ||
| 909 | + | ||
| 910 | +_:b14 | ||
| 911 | + sp:varName "opnameU"^^xsd:string . | ||
| 912 | + | ||
| 913 | +_:b16 | ||
| 914 | + sp:varName "child"^^xsd:string . | ||
| 915 | + | ||
| 916 | +_:b17 | ||
| 917 | + sp:varName "childType"^^xsd:string . | ||
| 918 | + | ||
| 919 | +_:b18 | ||
| 920 | + sp:varName "childLocalName"^^xsd:string . | ||
| 921 | + | ||
| 922 | +_:b19 | ||
| 923 | + sp:varName "allValuesRestriction"^^xsd:string . | ||
| 924 | + | ||
| 925 | +_:b20 | ||
| 926 | + sp:varName "instType"^^xsd:string . | ||
| 927 | + | ||
| 928 | +_:b21 | ||
| 929 | + sp:varName "textNode"^^xsd:string . | ||
| 930 | + | ||
| 931 | +_:b22 | ||
| 932 | + sp:varName "text"^^xsd:string . | ||
| 933 | + | ||
| 934 | +_:b75 | ||
| 935 | + sp:varName "c"^^xsd:string . | ||
| 936 | + | ||
| 937 | +_:b71 | ||
| 938 | + sp:varName "pp"^^xsd:string . | ||
| 939 | + | ||
| 940 | +_:b72 | ||
| 941 | + sp:varName "p"^^xsd:string . | ||
| 942 | + | ||
| 943 | +_:b73 | ||
| 944 | + sp:varName "s"^^xsd:string . | ||
| 945 | + | ||
| 946 | +_:b74 | ||
| 947 | + sp:varName "e"^^xsd:string . | ||
| 948 | + | ||
| 949 | +_:b61 | ||
| 950 | + sp:varName "ddrCPU"^^xsd:string . | ||
| 951 | + | ||
| 952 | +_:b62 | ||
| 953 | + sp:varName "ddrCU"^^xsd:string . | ||
| 954 | + | ||
| 955 | +_:b63 | ||
| 956 | + sp:varName "ddrPU"^^xsd:string . | ||
| 957 | + | ||
| 958 | +_:b64 | ||
| 959 | + sp:varName "mre"^^xsd:string . | ||
| 960 | + | ||
| 961 | +_:b65 | ||
| 962 | + sp:varName "s"^^xsd:string . | ||
| 963 | + | ||
| 964 | +_:b66 | ||
| 965 | + sp:varName "c"^^xsd:string . | ||
| 966 | + | ||
| 967 | +_:b67 | ||
| 968 | + sp:varName "name"^^xsd:string . | ||
| 969 | + | ||
| 970 | +_:b68 | ||
| 971 | + sp:varName "pname"^^xsd:string . | ||
| 972 | + | ||
| 973 | +_:b69 | ||
| 974 | + sp:varName "tcpname"^^xsd:string . | ||
| 975 | + | ||
| 976 | +_:b70 | ||
| 977 | + sp:varName "tcname"^^xsd:string . | ||
| 978 | + | ||
| 979 | +_:b76 | ||
| 980 | + sp:varName "oldLabel"^^xsd:string . | ||
| 981 | + | ||
| 982 | +_:b77 | ||
| 983 | + sp:varName "p"^^xsd:string . | ||
| 984 | + | ||
| 985 | +_:b78 | ||
| 986 | + sp:varName "newLabel"^^xsd:string . | ||
| 987 | + | ||
| 988 | +_:b38 | ||
| 989 | + sp:varName "valuesRestriction"^^xsd:string . | ||
| 990 | + | ||
| 991 | +_:b37 | ||
| 992 | + sp:varName "childType"^^xsd:string . | ||
| 993 | + | ||
| 994 | +_:b35 | ||
| 995 | + sp:varName "formalProperty"^^xsd:string . | ||
| 996 | + | ||
| 997 | +_:b34 | ||
| 998 | + sp:varName "child"^^xsd:string . | ||
| 999 | + | ||
| 1000 | +_:b39 | ||
| 1001 | + sp:varName "instType"^^xsd:string . | ||
| 1002 | + | ||
| 1003 | +_:b5 sp:varName "valuesRestriction"^^xsd:string . | ||
| 1004 | + | ||
| 1005 | +_:b4 sp:varName "childType"^^xsd:string . | ||
| 1006 | + | ||
| 1007 | +_:b2 sp:varName "formalProperty"^^xsd:string . | ||
| 1008 | + | ||
| 1009 | +_:b6 sp:varName "propertyName"^^xsd:string . | ||
| 1010 | + | ||
| 1011 | +_:b1 sp:varName "child"^^xsd:string . | ||
| 1012 | + | ||
| 1013 | +_:b7 sp:varName "xmlTag"^^xsd:string . | ||
| 1014 | + | ||
| 1015 | +_:b8 sp:varName "tagName"^^xsd:string . | ||
| 1016 | + | ||
| 1017 | +_:b9 sp:varName "instType"^^xsd:string . | ... | ... |
| 1 | -# baseURI: null | 1 | +# Saved by TopBraid on Wed Aug 10 18:50:05 PDT 2011 |
| 2 | - | 2 | +# baseURI: null |
| 3 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 3 | + |
| 4 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | 4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
| 5 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | 5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . |
| 6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . |
| 7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 9 | -@prefix visual: <http://topbraid.org/visual#> . | 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | +@prefix visual: <http://topbraid.org/visual#> . |
| 11 | - | 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 12 | -[] rdf:type inference:Configuration ; | 12 | + |
| 13 | - composite:child | 13 | +[] rdf:type inference:Configuration ; |
| 14 | - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | + composite:child |
| 15 | - <http://spinrdf.org/spin#topSPINOptions> | 15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
| 16 | - "singlePass" ; | 16 | + <http://spinrdf.org/spin#topSPINOptions> |
| 17 | - composite:index "0"^^xsd:int | 17 | + "singlePass" ; |
| 18 | - ] ; | 18 | + composite:index "0"^^xsd:int |
| 19 | - inference:completeMode | 19 | + ] ; |
| 20 | - "true"^^xsd:boolean . | 20 | + inference:completeMode |
| 21 | + "true"^^xsd:boolean . | ... | ... |
| 1 | +# Saved by TopBraid on Wed Aug 10 11:12:10 BST 2011 | ||
| 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias | ||
| 3 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
| 4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | ||
| 5 | +# imports: http://spinrdf.org/spin | ||
| 6 | + | ||
| 7 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> . | ||
| 8 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
| 9 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | ||
| 10 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 11 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 12 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 13 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | ||
| 14 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
| 15 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
| 16 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
| 17 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 18 | + | ||
| 19 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | ||
| 20 | + spin:rule | ||
| 21 | + [ rdf:type sp:Construct ; | ||
| 22 | + rdfs:comment "STEP 151 Transfer WellBore aliases"^^xsd:string ; | ||
| 23 | + sp:templates ([ sp:object _:b1 ; | ||
| 24 | + sp:predicate _:b2 ; | ||
| 25 | + sp:subject _:b3 | ||
| 26 | + ]) ; | ||
| 27 | + sp:where ([ sp:object _:b4 ; | ||
| 28 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 29 | + sp:subject spin:_this | ||
| 30 | + ] [ sp:object _:b5 ; | ||
| 31 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 32 | + sp:subject spin:_this | ||
| 33 | + ] [ sp:object _:b6 ; | ||
| 34 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreAlias> ; | ||
| 35 | + sp:subject spin:_this | ||
| 36 | + ] [ sp:object _:b1 ; | ||
| 37 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; | ||
| 38 | + sp:subject _:b6 | ||
| 39 | + ] [ sp:object _:b7 ; | ||
| 40 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumNamingSystem> ; | ||
| 41 | + sp:subject _:b6 | ||
| 42 | + ] [ sp:object _:b8 ; | ||
| 43 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
| 44 | + sp:subject _:b9 | ||
| 45 | + ] [ sp:object _:b3 ; | ||
| 46 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 47 | + sp:subject _:b8 | ||
| 48 | + ] [ rdf:type sp:Bind ; | ||
| 49 | + sp:expression | ||
| 50 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 51 | + sp:arg1 _:b4 | ||
| 52 | + ] ; | ||
| 53 | + sp:variable _:b10 | ||
| 54 | + ] [ rdf:type sp:Bind ; | ||
| 55 | + sp:expression | ||
| 56 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 57 | + sp:arg1 _:b10 ; | ||
| 58 | + sp:arg2 _:b5 | ||
| 59 | + ] ; | ||
| 60 | + sp:variable _:b9 | ||
| 61 | + ] [ rdf:type sp:Bind ; | ||
| 62 | + sp:expression | ||
| 63 | + [ rdf:type ep-spin-lib:selectLabelOfSystem ; | ||
| 64 | + sp:arg1 _:b7 | ||
| 65 | + ] ; | ||
| 66 | + sp:variable _:b2 | ||
| 67 | + ]) | ||
| 68 | + ] ; | ||
| 69 | + spin:rule | ||
| 70 | + [ rdf:type sp:Construct ; | ||
| 71 | + rdfs:comment "STEP 150 Transfer Well aliases"^^xsd:string ; | ||
| 72 | + sp:templates ([ sp:object _:b11 ; | ||
| 73 | + sp:predicate _:b12 ; | ||
| 74 | + sp:subject _:b13 | ||
| 75 | + ]) ; | ||
| 76 | + sp:where ([ sp:object _:b14 ; | ||
| 77 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 78 | + sp:subject spin:_this | ||
| 79 | + ] [ sp:object _:b15 ; | ||
| 80 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 81 | + sp:subject spin:_this | ||
| 82 | + ] [ sp:object _:b16 ; | ||
| 83 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellAlias> ; | ||
| 84 | + sp:subject spin:_this | ||
| 85 | + ] [ sp:object _:b11 ; | ||
| 86 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; | ||
| 87 | + sp:subject _:b16 | ||
| 88 | + ] [ sp:object _:b17 ; | ||
| 89 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumNamingSystem> ; | ||
| 90 | + sp:subject _:b16 | ||
| 91 | + ] [ sp:object _:b13 ; | ||
| 92 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; | ||
| 93 | + sp:subject _:b18 | ||
| 94 | + ] [ rdf:type sp:Bind ; | ||
| 95 | + sp:expression | ||
| 96 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 97 | + sp:arg1 _:b14 | ||
| 98 | + ] ; | ||
| 99 | + sp:variable _:b19 | ||
| 100 | + ] [ rdf:type sp:Bind ; | ||
| 101 | + sp:expression | ||
| 102 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 103 | + sp:arg1 _:b19 ; | ||
| 104 | + sp:arg2 _:b15 | ||
| 105 | + ] ; | ||
| 106 | + sp:variable _:b18 | ||
| 107 | + ] [ rdf:type sp:Bind ; | ||
| 108 | + sp:expression | ||
| 109 | + [ rdf:type ep-spin-lib:selectLabelOfSystem ; | ||
| 110 | + sp:arg1 _:b17 | ||
| 111 | + ] ; | ||
| 112 | + sp:variable _:b12 | ||
| 113 | + ]) | ||
| 114 | + ] . | ||
| 115 | + | ||
| 116 | +<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> | ||
| 117 | + rdf:type owl:Ontology ; | ||
| 118 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; | ||
| 119 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 120 | + | ||
| 121 | +_:b14 | ||
| 122 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 123 | + | ||
| 124 | +_:b15 | ||
| 125 | + sp:varName "dTimStart"^^xsd:string . | ||
| 126 | + | ||
| 127 | +_:b16 | ||
| 128 | + sp:varName "wellAlias"^^xsd:string . | ||
| 129 | + | ||
| 130 | +_:b11 | ||
| 131 | + sp:varName "name"^^xsd:string . | ||
| 132 | + | ||
| 133 | +_:b17 | ||
| 134 | + sp:varName "namingSystem"^^xsd:string . | ||
| 135 | + | ||
| 136 | +_:b18 | ||
| 137 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 138 | + | ||
| 139 | +_:b13 | ||
| 140 | + sp:varName "well"^^xsd:string . | ||
| 141 | + | ||
| 142 | +_:b19 | ||
| 143 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 144 | + | ||
| 145 | +_:b12 | ||
| 146 | + sp:varName "labelOfSystem"^^xsd:string . | ||
| 147 | + | ||
| 148 | +_:b4 sp:varName "nameWellBore"^^xsd:string . | ||
| 149 | + | ||
| 150 | +_:b5 sp:varName "dTimStart"^^xsd:string . | ||
| 151 | + | ||
| 152 | +_:b6 sp:varName "wellBoreAlias"^^xsd:string . | ||
| 153 | + | ||
| 154 | +_:b1 sp:varName "name"^^xsd:string . | ||
| 155 | + | ||
| 156 | +_:b7 sp:varName "namingSystem"^^xsd:string . | ||
| 157 | + | ||
| 158 | +_:b9 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 159 | + | ||
| 160 | +_:b8 sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
| 161 | + | ||
| 162 | +_:b3 sp:varName "wellBore"^^xsd:string . | ||
| 163 | + | ||
| 164 | +_:b10 | ||
| 165 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 166 | + | ||
| 167 | +_:b2 sp:varName "labelOfSystem"^^xsd:string . | ||
| 168 | + | ||
| 169 | +[] rdf:type smf:regex . | ||
| 170 | + | ||
| 171 | +[] rdf:type smf:trim . | ||
| 172 | + | ||
| 173 | +[] rdf:type fn:starts-with . | ||
| 174 | + | ||
| 175 | +[] rdf:type sp:Modify . | ||
| 176 | + | ||
| 177 | +([]) . | ||
| 178 | + | ||
| 179 | +([]) . | ||
| 180 | + | ||
| 181 | +([] [] [ rdf:type sp:Filter | ||
| 182 | + ] [ rdf:type sp:Bind | ||
| 183 | + ]) . |
| 1 | +# Saved by TopBraid on Wed Aug 10 14:05:00 BST 2011 | ||
| 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo | ||
| 3 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
| 4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | ||
| 5 | +# imports: http://spinrdf.org/spin | ||
| 6 | + | ||
| 7 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> . | ||
| 8 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
| 9 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | ||
| 10 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 11 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 12 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 13 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | ||
| 14 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
| 15 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
| 16 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
| 17 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 18 | + | ||
| 19 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | ||
| 20 | + spin:rule | ||
| 21 | + [ rdf:type sp:Construct ; | ||
| 22 | + rdfs:comment "STEP 161 Set name for Rig"^^xsd:string ; | ||
| 23 | + sp:templates ([ sp:object _:b1 ; | ||
| 24 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#npdName> ; | ||
| 25 | + sp:subject _:b2 | ||
| 26 | + ]) ; | ||
| 27 | + sp:where ([ sp:object _:b3 ; | ||
| 28 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 29 | + sp:subject spin:_this | ||
| 30 | + ] [ sp:object _:b4 ; | ||
| 31 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 32 | + sp:subject spin:_this | ||
| 33 | + ] [ sp:object _:b5 ; | ||
| 34 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; | ||
| 35 | + sp:subject spin:_this | ||
| 36 | + ] [ sp:object _:b6 ; | ||
| 37 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ; | ||
| 38 | + sp:subject _:b5 | ||
| 39 | + ] [ sp:object _:b1 ; | ||
| 40 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; | ||
| 41 | + sp:subject _:b6 | ||
| 42 | + ] [ sp:object "NPD Name" ; | ||
| 43 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ; | ||
| 44 | + sp:subject _:b6 | ||
| 45 | + ] [ sp:object _:b7 ; | ||
| 46 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ; | ||
| 47 | + sp:subject _:b8 | ||
| 48 | + ] [ sp:object _:b2 ; | ||
| 49 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 50 | + sp:subject _:b7 | ||
| 51 | + ] [ rdf:type sp:Bind ; | ||
| 52 | + sp:expression | ||
| 53 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 54 | + sp:arg1 _:b3 | ||
| 55 | + ] ; | ||
| 56 | + sp:variable _:b9 | ||
| 57 | + ] [ rdf:type sp:Bind ; | ||
| 58 | + sp:expression | ||
| 59 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 60 | + sp:arg1 _:b9 ; | ||
| 61 | + sp:arg2 _:b4 | ||
| 62 | + ] ; | ||
| 63 | + sp:variable _:b8 | ||
| 64 | + ]) | ||
| 65 | + ] ; | ||
| 66 | + spin:rule | ||
| 67 | + [ rdf:type sp:Construct ; | ||
| 68 | + rdfs:comment "STEP 160 Set rig for drilling activity"^^xsd:string ; | ||
| 69 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfARig> ; | ||
| 70 | + sp:predicate rdf:type ; | ||
| 71 | + sp:subject _:b10 | ||
| 72 | + ] [ sp:object _:b10 ; | ||
| 73 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ; | ||
| 74 | + sp:subject _:b11 | ||
| 75 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Rig> ; | ||
| 76 | + sp:predicate rdf:type ; | ||
| 77 | + sp:subject _:b12 | ||
| 78 | + ] [ sp:object _:b13 ; | ||
| 79 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#npdCode> ; | ||
| 80 | + sp:subject _:b12 | ||
| 81 | + ] [ sp:object _:b12 ; | ||
| 82 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 83 | + sp:subject _:b10 | ||
| 84 | + ]) ; | ||
| 85 | + sp:where ([ sp:object _:b14 ; | ||
| 86 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
| 87 | + sp:subject spin:_this | ||
| 88 | + ] [ sp:object _:b15 ; | ||
| 89 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 90 | + sp:subject spin:_this | ||
| 91 | + ] [ sp:object _:b16 ; | ||
| 92 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
| 93 | + sp:subject spin:_this | ||
| 94 | + ] [ sp:object _:b17 ; | ||
| 95 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; | ||
| 96 | + sp:subject spin:_this | ||
| 97 | + ] [ sp:object _:b18 ; | ||
| 98 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ; | ||
| 99 | + sp:subject _:b17 | ||
| 100 | + ] [ sp:object "NPD Code" ; | ||
| 101 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ; | ||
| 102 | + sp:subject _:b18 | ||
| 103 | + ] [ sp:object _:b13 ; | ||
| 104 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; | ||
| 105 | + sp:subject _:b18 | ||
| 106 | + ] [ rdf:type sp:Bind ; | ||
| 107 | + sp:expression | ||
| 108 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 109 | + sp:arg1 _:b14 | ||
| 110 | + ] ; | ||
| 111 | + sp:variable _:b19 | ||
| 112 | + ] [ rdf:type sp:Bind ; | ||
| 113 | + sp:expression | ||
| 114 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 115 | + sp:arg1 _:b13 | ||
| 116 | + ] ; | ||
| 117 | + sp:variable _:b20 | ||
| 118 | + ] [ rdf:type sp:Bind ; | ||
| 119 | + sp:expression | ||
| 120 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
| 121 | + sp:arg1 _:b19 ; | ||
| 122 | + sp:arg2 _:b15 | ||
| 123 | + ] ; | ||
| 124 | + sp:variable _:b11 | ||
| 125 | + ] [ rdf:type sp:Bind ; | ||
| 126 | + sp:expression | ||
| 127 | + [ rdf:type ep-spin-lib:buildRigURI ; | ||
| 128 | + sp:arg1 _:b20 | ||
| 129 | + ] ; | ||
| 130 | + sp:variable _:b12 | ||
| 131 | + ] [ rdf:type sp:Bind ; | ||
| 132 | + sp:expression | ||
| 133 | + [ rdf:type ep-spin-lib:buildTemporalPartOfARigURI ; | ||
| 134 | + sp:arg1 _:b20 ; | ||
| 135 | + sp:arg2 _:b15 ; | ||
| 136 | + sp:arg3 _:b16 | ||
| 137 | + ] ; | ||
| 138 | + sp:variable _:b10 | ||
| 139 | + ]) | ||
| 140 | + ] . | ||
| 141 | + | ||
| 142 | +<http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> | ||
| 143 | + rdf:type owl:Ontology ; | ||
| 144 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; | ||
| 145 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 146 | + | ||
| 147 | +[] rdf:type smf:regex . | ||
| 148 | + | ||
| 149 | +[] rdf:type smf:trim . | ||
| 150 | + | ||
| 151 | +[] rdf:type fn:starts-with . | ||
| 152 | + | ||
| 153 | +[] rdf:type sp:Modify . | ||
| 154 | + | ||
| 155 | +_:b14 | ||
| 156 | + sp:varName "nameWellBore"^^xsd:string . | ||
| 157 | + | ||
| 158 | +_:b15 | ||
| 159 | + sp:varName "dTimStart"^^xsd:string . | ||
| 160 | + | ||
| 161 | +_:b16 | ||
| 162 | + sp:varName "dTimEnd"^^xsd:string . | ||
| 163 | + | ||
| 164 | +_:b17 | ||
| 165 | + sp:varName "wellboreInfo"^^xsd:string . | ||
| 166 | + | ||
| 167 | +_:b18 | ||
| 168 | + sp:varName "rigAlias"^^xsd:string . | ||
| 169 | + | ||
| 170 | +_:b13 | ||
| 171 | + sp:varName "nameRig"^^xsd:string . | ||
| 172 | + | ||
| 173 | +_:b19 | ||
| 174 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 175 | + | ||
| 176 | +_:b20 | ||
| 177 | + sp:varName "normalizedRigName"^^xsd:string . | ||
| 178 | + | ||
| 179 | +_:b11 | ||
| 180 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 181 | + | ||
| 182 | +_:b12 | ||
| 183 | + sp:varName "rig"^^xsd:string . | ||
| 184 | + | ||
| 185 | +_:b10 | ||
| 186 | + sp:varName "temporalPartOfARig"^^xsd:string . | ||
| 187 | + | ||
| 188 | +_:b3 sp:varName "nameWellBore"^^xsd:string . | ||
| 189 | + | ||
| 190 | +_:b4 sp:varName "dTimStart"^^xsd:string . | ||
| 191 | + | ||
| 192 | +_:b5 sp:varName "wellboreInfo"^^xsd:string . | ||
| 193 | + | ||
| 194 | +_:b6 sp:varName "rigAlias"^^xsd:string . | ||
| 195 | + | ||
| 196 | +_:b1 sp:varName "name"^^xsd:string . | ||
| 197 | + | ||
| 198 | +_:b8 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
| 199 | + | ||
| 200 | +_:b7 sp:varName "temporalPartOfARig"^^xsd:string . | ||
| 201 | + | ||
| 202 | +_:b2 sp:varName "rig"^^xsd:string . | ||
| 203 | + | ||
| 204 | +_:b9 sp:varName "normalizedWellBoreName"^^xsd:string . | ||
| 205 | + | ||
| 206 | +([] [] [ rdf:type sp:Filter | ||
| 207 | + ] [ rdf:type sp:Bind | ||
| 208 | + ]) . | ||
| 209 | + | ||
| 210 | +([]) . | ||
| 211 | + | ||
| 212 | +([]) . |
-
Please register or login to post a comment