Showing
6 changed files
with
33 additions
and
32 deletions
This diff could not be displayed because it is too large.
| ... | @@ -127,7 +127,7 @@ rhspin:wellByName | ... | @@ -127,7 +127,7 @@ rhspin:wellByName |
| 127 | spl:predicate <http://spinrdf.org/arg#wellName> ; | 127 | spl:predicate <http://spinrdf.org/arg#wellName> ; |
| 128 | spl:valueType xsd:string | 128 | spl:valueType xsd:string |
| 129 | ] ; | 129 | ] ; |
| 130 | - spin:returnType <http://www.reportinghub.no/schema/npd#WellBore> . | 130 | + spin:returnType <http://www.reportinghub.no/schema/npd#Well> . |
| 131 | 131 | ||
| 132 | _:b2 sp:varName "wellBore"^^xsd:string . | 132 | _:b2 sp:varName "wellBore"^^xsd:string . |
| 133 | 133 | ... | ... |
| ... | @@ -2,13 +2,14 @@ | ... | @@ -2,13 +2,14 @@ |
| 2 | # imports: http://topbraid.org/spin/spinmapl | 2 | # imports: http://topbraid.org/spin/spinmapl |
| 3 | # imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview-2011-07-30 | 3 | # imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview-2011-07-30 |
| 4 | # imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview | 4 | # imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview |
| 5 | -# imports: http://www.reportinghub.no/1.1/schema/npd | ||
| 6 | # imports: http://spinrdf.org/spin | 5 | # imports: http://spinrdf.org/spin |
| 6 | +# imports: http://www.reportinghub.no/1.1/schema/npd | ||
| 7 | # imports: http://www.reportinghub.no/spin/rh | 7 | # imports: http://www.reportinghub.no/spin/rh |
| 8 | 8 | ||
| 9 | @prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> . | 9 | @prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> . |
| 10 | @prefix arg: <http://spinrdf.org/arg#> . | 10 | @prefix arg: <http://spinrdf.org/arg#> . |
| 11 | @prefix npdi: <https://www.reportinghub.no/data/npd/> . | 11 | @prefix npdi: <https://www.reportinghub.no/data/npd/> . |
| 12 | +@prefix npdi1: <http://www.reportinghub.no/examples/npdi#> . | ||
| 12 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 13 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 13 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 14 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 14 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 15 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| ... | @@ -21,32 +22,29 @@ | ... | @@ -21,32 +22,29 @@ |
| 21 | 22 | ||
| 22 | <file:///www.reportinghub.no/transform/wellbore-npdid-overview#WBID> | 23 | <file:///www.reportinghub.no/transform/wellbore-npdid-overview#WBID> |
| 23 | spinmap:rule | 24 | spinmap:rule |
| 24 | - [ rdf:type spinmap:Mapping-1-1 ; | 25 | + [ rdf:type spinmap:Mapping-0-1 ; |
| 25 | spinmap:context :WBID-WellBore ; | 26 | spinmap:context :WBID-WellBore ; |
| 26 | - spinmap:expression | 27 | + spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ; |
| 27 | - [ rdf:type rhspin:wellByName ; | ||
| 28 | - arg:wellName spin:_arg1 | ||
| 29 | - ] ; | ||
| 30 | - spinmap:sourcePredicate1 | ||
| 31 | - <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ; | ||
| 32 | spinmap:targetPredicate1 | 28 | spinmap:targetPredicate1 |
| 33 | - <http://www.reportinghub.no/schema/npd#partOfWell> | 29 | + rdf:type |
| 34 | ] ; | 30 | ] ; |
| 35 | spinmap:rule | 31 | spinmap:rule |
| 36 | [ rdf:type spinmap:Mapping-1-1 ; | 32 | [ rdf:type spinmap:Mapping-1-1 ; |
| 37 | - spinmap:context :WBID-Well ; | 33 | + spinmap:context :WBID-WellBore ; |
| 38 | spinmap:expression spin:_arg1 ; | 34 | spinmap:expression spin:_arg1 ; |
| 39 | spinmap:sourcePredicate1 | 35 | spinmap:sourcePredicate1 |
| 40 | - <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ; | 36 | + <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbNpdidWellbore> ; |
| 41 | spinmap:targetPredicate1 | 37 | spinmap:targetPredicate1 |
| 42 | - <http://www.reportinghub.no/schema/npd#name> | 38 | + <http://www.reportinghub.no/schema/npd#id> |
| 43 | ] ; | 39 | ] ; |
| 44 | spinmap:rule | 40 | spinmap:rule |
| 45 | - [ rdf:type spinmap:Mapping-0-1 ; | 41 | + [ rdf:type spinmap:Mapping-1-1 ; |
| 46 | - spinmap:context :WBID-Well ; | 42 | + spinmap:context :WBID-WellBore ; |
| 47 | - spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ; | 43 | + spinmap:expression spin:_arg1 ; |
| 44 | + spinmap:sourcePredicate1 | ||
| 45 | + <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWellType> ; | ||
| 48 | spinmap:targetPredicate1 | 46 | spinmap:targetPredicate1 |
| 49 | - rdf:type | 47 | + <http://www.reportinghub.no/schema/npd#wellBoreType> |
| 50 | ] ; | 48 | ] ; |
| 51 | spinmap:rule | 49 | spinmap:rule |
| 52 | [ rdf:type spinmap:Mapping-1-1 ; | 50 | [ rdf:type spinmap:Mapping-1-1 ; |
| ... | @@ -58,29 +56,32 @@ | ... | @@ -58,29 +56,32 @@ |
| 58 | <http://www.reportinghub.no/schema/npd#name> | 56 | <http://www.reportinghub.no/schema/npd#name> |
| 59 | ] ; | 57 | ] ; |
| 60 | spinmap:rule | 58 | spinmap:rule |
| 61 | - [ rdf:type spinmap:Mapping-1-1 ; | 59 | + [ rdf:type spinmap:Mapping-0-1 ; |
| 62 | - spinmap:context :WBID-WellBore ; | 60 | + spinmap:context :WBID-Well ; |
| 63 | - spinmap:expression spin:_arg1 ; | 61 | + spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ; |
| 64 | - spinmap:sourcePredicate1 | ||
| 65 | - <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWellType> ; | ||
| 66 | spinmap:targetPredicate1 | 62 | spinmap:targetPredicate1 |
| 67 | - <http://www.reportinghub.no/schema/npd#wellBoreType> | 63 | + rdf:type |
| 68 | ] ; | 64 | ] ; |
| 69 | spinmap:rule | 65 | spinmap:rule |
| 70 | [ rdf:type spinmap:Mapping-1-1 ; | 66 | [ rdf:type spinmap:Mapping-1-1 ; |
| 71 | - spinmap:context :WBID-WellBore ; | 67 | + spinmap:context :WBID-Well ; |
| 72 | spinmap:expression spin:_arg1 ; | 68 | spinmap:expression spin:_arg1 ; |
| 73 | spinmap:sourcePredicate1 | 69 | spinmap:sourcePredicate1 |
| 74 | - <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbNpdidWellbore> ; | 70 | + <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ; |
| 75 | spinmap:targetPredicate1 | 71 | spinmap:targetPredicate1 |
| 76 | - <http://www.reportinghub.no/schema/npd#id> | 72 | + <http://www.reportinghub.no/schema/npd#name> |
| 77 | ] ; | 73 | ] ; |
| 78 | spinmap:rule | 74 | spinmap:rule |
| 79 | - [ rdf:type spinmap:Mapping-0-1 ; | 75 | + [ rdf:type spinmap:Mapping-1-1 ; |
| 80 | spinmap:context :WBID-WellBore ; | 76 | spinmap:context :WBID-WellBore ; |
| 81 | - spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ; | 77 | + spinmap:expression |
| 78 | + [ rdf:type rhspin:wellByName ; | ||
| 79 | + arg:wellName spin:_arg1 | ||
| 80 | + ] ; | ||
| 81 | + spinmap:sourcePredicate1 | ||
| 82 | + <file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ; | ||
| 82 | spinmap:targetPredicate1 | 83 | spinmap:targetPredicate1 |
| 83 | - rdf:type | 84 | + <http://www.reportinghub.no/schema/npd#partOfWell> |
| 84 | ] . | 85 | ] . |
| 85 | 86 | ||
| 86 | arg:well | 87 | arg:well |
| ... | @@ -95,7 +96,7 @@ arg:wellName | ... | @@ -95,7 +96,7 @@ arg:wellName |
| 95 | <http://www.reportinghub.no/transform/spreadsheets2npd> | 96 | <http://www.reportinghub.no/transform/spreadsheets2npd> |
| 96 | rdf:type owl:Ontology ; | 97 | rdf:type owl:Ontology ; |
| 97 | rdfs:comment "Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."^^xsd:string ; | 98 | rdfs:comment "Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."^^xsd:string ; |
| 98 | - owl:imports <http://www.reportinghub.no/spin/rh> , <file:///www.reportinghub.no/transform/wellbore-npdid-overview> , <file:///www.reportinghub.no/transform/wellbore-npdid-overview-2011-07-30> , <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> , <http://www.reportinghub.no/1.1/schema/npd> ; | 99 | + owl:imports <file:///www.reportinghub.no/transform/wellbore-npdid-overview-2011-07-30> , <http://www.reportinghub.no/1.1/schema/npd> , <http://topbraid.org/spin/spinmapl> , <http://www.reportinghub.no/spin/rh> , <file:///www.reportinghub.no/transform/wellbore-npdid-overview> , <http://spinrdf.org/spin> ; |
| 99 | owl:versionInfo "0.1.0"^^xsd:string . | 100 | owl:versionInfo "0.1.0"^^xsd:string . |
| 100 | 101 | ||
| 101 | :WBID-Well | 102 | :WBID-Well |
| ... | @@ -151,6 +152,6 @@ arg:wellName | ... | @@ -151,6 +152,6 @@ arg:wellName |
| 151 | ]) | 152 | ]) |
| 152 | ] . | 153 | ] . |
| 153 | 154 | ||
| 154 | -_:b1 sp:varName "wellBoreId"^^xsd:string . | ||
| 155 | - | ||
| 156 | _:b2 sp:varName "wellName"^^xsd:string . | 155 | _:b2 sp:varName "wellName"^^xsd:string . |
| 156 | + | ||
| 157 | +_:b1 sp:varName "wellBoreId"^^xsd:string . | ... | ... |
-
Please register or login to post a comment