Holger Knublauch

Moved files around, updated example data

This diff could not be displayed because it is too large.
......@@ -127,7 +127,7 @@ rhspin:wellByName
spl:predicate <http://spinrdf.org/arg#wellName> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#WellBore> .
spin:returnType <http://www.reportinghub.no/schema/npd#Well> .
_:b2 sp:varName "wellBore"^^xsd:string .
......
......@@ -2,13 +2,14 @@
# imports: http://topbraid.org/spin/spinmapl
# imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview-2011-07-30
# imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://www.reportinghub.no/spin/rh
@prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix npdi: <https://www.reportinghub.no/data/npd/> .
@prefix npdi1: <http://www.reportinghub.no/examples/npdi#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
......@@ -21,32 +22,29 @@
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#WBID>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBID-WellBore ;
spinmap:expression
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#partOfWell>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBID-Well ;
spinmap:context :WBID-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ;
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbNpdidWellbore> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
<http://www.reportinghub.no/schema/npd#id>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBID-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBID-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWellType> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#wellBoreType>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
......@@ -58,29 +56,32 @@
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBID-WellBore ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWellType> ;
[ rdf:type spinmap:Mapping-0-1 ;
spinmap:context :WBID-Well ;
spinmap:expression <http://www.reportinghub.no/schema/npd#Well> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#wellBoreType>
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBID-WellBore ;
spinmap:context :WBID-Well ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbNpdidWellbore> ;
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :WBID-WellBore ;
spinmap:expression <http://www.reportinghub.no/schema/npd#WellBore> ;
spinmap:expression
[ rdf:type rhspin:wellByName ;
arg:wellName spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/wellbore-npdid-overview#wlbWell> ;
spinmap:targetPredicate1
rdf:type
<http://www.reportinghub.no/schema/npd#partOfWell>
] .
arg:well
......@@ -95,7 +96,7 @@ arg:wellName
<http://www.reportinghub.no/transform/spreadsheets2npd>
rdf:type owl:Ontology ;
rdfs:comment "Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."^^xsd:string ;
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> ;
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> ;
owl:versionInfo "0.1.0"^^xsd:string .
:WBID-Well
......@@ -151,6 +152,6 @@ arg:wellName
])
] .
_:b1 sp:varName "wellBoreId"^^xsd:string .
_:b2 sp:varName "wellName"^^xsd:string .
_:b1 sp:varName "wellBoreId"^^xsd:string .
......