Holger Knublauch

BAA import

baaName,baaKind,baaDateApproved,baaDateValidFrom,baaDateValidTo,baaFactPageUrl,baaFactMapUrl,baaNpdidBsnsArrArea,dateSyncNPD
BLANE UNIT,UNITIZED,01.07.2005,01.07.2005,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=3437667,http://www.npd.no/FactMapSearch?NPDID_business_area=3437667,3437667,31.07.2011
BRAGE UNIT,UNITIZED,27.12.1993,27.12.1993,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40432,http://www.npd.no/FactMapSearch?NPDID_business_area=40432,40432,31.07.2011
ENOCH UNIT,UNITIZED,01.07.2005,01.07.2005,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=3437805,http://www.npd.no/FactMapSearch?NPDID_business_area=3437805,3437805,31.07.2011
FRIGG UNIT,UNITIZED,12.12.1977,12.12.1977,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=45634,http://www.npd.no/FactMapSearch?NPDID_business_area=45634,45634,31.07.2011
FRØY UNIT,UNITIZED,19.08.1992,19.08.1992,31.12.2002,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41175,,41175,31.07.2011
GIMLE UNIT,UNITIZED,16.10.2006,22.06.2006,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=4007192,http://www.npd.no/FactMapSearch?NPDID_business_area=4007192,4007192,31.07.2011
GRANE SLIDING SCALE,SLIDING SCALE,13.01.1995,01.01.1995,13.04.2000,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40885,,40885,31.07.2011
GRANE UNIT,UNITIZED,13.04.2000,13.04.2000,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=1031365,http://www.npd.no/FactMapSearch?NPDID_business_area=1031365,1031365,31.07.2011
HALTENBANKEN VEST UNIT,UNITIZED,18.12.2001,18.12.2001,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=1854695,http://www.npd.no/FactMapSearch?NPDID_business_area=1854695,1854695,31.07.2011
HEIDRUN UNIT,UNITIZED,13.12.1991,27.11.1991,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40490,http://www.npd.no/FactMapSearch?NPDID_business_area=40490,40490,31.07.2011
HEIMDAL UNIT,PARCELL,11.04.1975,02.05.1975,12.10.2003,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41470,,41470,31.07.2011
HILD UNIT,UNITIZED,19.12.2005,07.09.2005,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=3812119,http://www.npd.no/FactMapSearch?NPDID_business_area=3812119,3812119,31.07.2011
HULDRA UNIT,UNITIZED,01.09.1998,05.12.1997,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41189,http://www.npd.no/FactMapSearch?NPDID_business_area=41189,41189,31.07.2011
JOTUN UNIT,UNITIZED,23.12.1997,01.01.1998,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40655,http://www.npd.no/FactMapSearch?NPDID_business_area=40655,40655,31.07.2011
MIKKEL UNIT,UNITIZED,06.06.2001,06.06.2001,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=1629477,http://www.npd.no/FactMapSearch?NPDID_business_area=1629477,1629477,31.07.2011
MURCHISON UNIT,UNITIZED,09.12.1980,01.04.1979,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=42302,http://www.npd.no/FactMapSearch?NPDID_business_area=42302,42302,31.07.2011
NJORD UNIT,UNITIZED,27.03.1995,23.02.1995,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40585,http://www.npd.no/FactMapSearch?NPDID_business_area=40585,40585,31.07.2011
NORDØST FRIGG UNIT,UNITIZED,25.11.1980,01.07.1980,31.12.1995,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=42225,,42225,31.07.2011
NORNE INSIDE,SLIDING SCALE,09.03.1995,09.03.1995,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40672,http://www.npd.no/FactMapSearch?NPDID_business_area=40672,40672,31.07.2011
ORMEN LANGE UNIT,UNITIZED,02.04.2004,03.12.2003,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=2588637,http://www.npd.no/FactMapSearch?NPDID_business_area=2588637,2588637,31.07.2011
OSEBERG AREA UNIT,UNITIZED,14.09.2004,16.06.2004,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=3500071,http://www.npd.no/FactMapSearch?NPDID_business_area=3500071,3500071,31.07.2011
OSEBERG SØR UNIT,UNITIZED,30.06.1997,20.12.1996,16.06.2004,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40638,,40638,31.07.2011
OSEBERG UNIT,UNITIZED,10.08.1987,28.03.1985,16.06.2004,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41040,,41040,31.07.2011
RINGHORNE ØST UNIT,UNITIZED,25.11.2005,17.11.2005,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=3505593,http://www.npd.no/FactMapSearch?NPDID_business_area=3505593,3505593,31.07.2011
SA-A,SEISMIC AREA,30.05.1997,30.05.1997,30.04.2002,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=1630961,,1630961,31.07.2011
SA-C,SEISMIC AREA,30.05.1997,30.05.1997,30.05.2010,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=1631138,,1631138,31.07.2011
SA-F,SEISMIC AREA,30.05.1997,30.05.1997,10.09.2008,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=1631341,,1631341,31.07.2011
SA-G,SEISMIC AREA,30.05.1997,30.05.1997,15.05.2007,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=1631599,,1631599,31.07.2011
SA-SB,SEISMIC AREA,27.04.2001,27.04.2001,22.12.2006,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=1631767,,1631767,31.07.2011
SKARV UNIT,UNITIZED,20.12.2007,28.06.2007,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=4468539,http://www.npd.no/FactMapSearch?NPDID_business_area=4468539,4468539,31.07.2011
SLEIPNER VEST UNIT,UNITIZED,20.01.1994,01.07.1994,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40848,http://www.npd.no/FactMapSearch?NPDID_business_area=40848,40848,31.07.2011
SLEIPNER ØST UNIT,PARCELL,23.12.1992,15.01.1993,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41211,http://www.npd.no/FactMapSearch?NPDID_business_area=41211,41211,31.07.2011
SNORRE UNIT,UNITIZED,30.05.1988,11.05.1988,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40906,http://www.npd.no/FactMapSearch?NPDID_business_area=40906,40906,31.07.2011
SNØHVIT UNIT,UNITIZED,21.07.2000,21.07.2000,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=1333943,http://www.npd.no/FactMapSearch?NPDID_business_area=1333943,1333943,31.07.2011
STATFJORD UNIT,UNITIZED,09.12.1980,01.06.1979,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41686,http://www.npd.no/FactMapSearch?NPDID_business_area=41686,41686,31.07.2011
STATFJORD ØST UNIT,UNITIZED,19.11.1991,26.06.1991,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41233,http://www.npd.no/FactMapSearch?NPDID_business_area=41233,41233,31.07.2011
SYGNA UNIT,UNITIZED,05.07.1999,16.12.1998,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=96205,http://www.npd.no/FactMapSearch?NPDID_business_area=96205,96205,31.07.2011
TAMBAR ØST UNIT,UNITIZED,04.02.2009,01.01.2006,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=4999504,http://www.npd.no/FactMapSearch?NPDID_business_area=4999504,4999504,31.07.2011
TOMMELITEN UNIT,PARCELL,12.06.1986,12.06.1986,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41411,http://www.npd.no/FactMapSearch?NPDID_business_area=41411,41411,31.07.2011
TOR UNIT,UNITIZED,01.01.1976,10.12.1975,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=45891,http://www.npd.no/FactMapSearch?NPDID_business_area=45891,45891,31.07.2011
TROLL UNIT,UNITIZED,24.12.1986,01.01.1987,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41105,http://www.npd.no/FactMapSearch?NPDID_business_area=41105,41105,31.07.2011
TYRIHANS UNIT,UNITIZED,20.02.2006,23.06.2005,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=3488806,http://www.npd.no/FactMapSearch?NPDID_business_area=3488806,3488806,31.07.2011
VALEMON UNIT,UNITIZED,23.06.2011,27.09.2010,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=18403644,http://www.npd.no/FactMapSearch?NPDID_business_area=18403644,18403644,31.07.2011
VALHALL UNIT,UNITIZED,01.01.1983,28.09.1982,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41657,http://www.npd.no/FactMapSearch?NPDID_business_area=41657,41657,31.07.2011
VEGA UNIT,UNITIZED,16.06.2011,01.03.2011,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=20459640,http://www.npd.no/FactMapSearch?NPDID_business_area=20459640,20459640,31.07.2011
VISUND INSIDE,SLIDING SCALE,19.12.1994,01.01.1995,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40726,http://www.npd.no/FactMapSearch?NPDID_business_area=40726,40726,31.07.2011
ØST FRIGG UNIT,UNITIZED,24.09.1987,01.12.1987,31.12.2000,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=41313,,41313,31.07.2011
ÅSGARD UNIT,UNITIZED,10.04.1995,01.01.1995,,http://factpages.npd.no/FactPages/default.aspx?nav1=bsns_arr_area&nav2=PageView|All&nav3=40564,http://www.npd.no/FactMapSearch?NPDID_business_area=40564,40564,31.07.2011
This diff is collapsed. Click to expand it.
# baseURI: http://www.reportinghub.no/spin/rh
# imports: http://topbraid.org/spin/spinmapl
# imports: http://www.reportinghub.no/1.1,1/schema/ddr
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/1.1/schema/npd
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -38,7 +38,7 @@
<http://www.reportinghub.no/spin/rh>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ;
owl:imports <http://topbraid.org/spin/spinmapl> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/1.1,1/schema/ddr> , <http://www.reportinghub.no/1.1/schema/npd> ;
owl:imports <http://www.reportinghub.no/1.1/schema/npd> , <http://www.reportinghub.no/1.1,1/schema/ddr> , <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> ;
owl:versionInfo "0.1.0"^^xsd:string .
rhspin:GetWellBoresOfWell
......@@ -70,6 +70,28 @@ rhspin:GetWellBoresOfWell
spl:valueType <http://www.reportinghub.no/schema/npd#Well>
] .
rhspin:baaById
rdf:type spin:Function ;
rdfs:label "baa by id"^^xsd:string ;
rdfs:subClassOf spl:URIFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 "https://www.reportinghub.no/data/npd/BAA-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the BAA."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:companyById
rdf:type spin:Function ;
rdfs:label "company by id"^^xsd:string ;
......@@ -226,6 +248,6 @@ rhspin:wellByName
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#Well> .
_:b1 sp:varName "wellBoreName"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
_:b1 sp:varName "wellBoreName"^^xsd:string .
......
......@@ -2,21 +2,24 @@
# imports: http://topbraid.org/spin/spinmapl
# imports: file:///www.reportinghub.no/transform/npd/company
# imports: http://www.reportinghub.no/examples/transform/npd/company-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/baa-2011-07-30
# imports: http://www.reportinghub.no/transform/npd/field-2011-07-30
# imports: http://www.reportinghub.no/1.1/schema/npd
# imports: file:///www.reportinghub.no/transform/npd/field
# imports: http://www.reportinghub.no/spin/rh
# imports: file:///www.reportinghub.no/transform/npd/facilitymoveable
# imports: file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/license-2011-07-30
# imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview
# imports: file:///www.reportinghub.no/transform/npd/license-2011-07-30
# imports: file:///www.reportinghub.no/transform/npd/facilityfixed
# imports: file:///www.reportinghub.no/transform/npd/baa
# imports: file:///www.reportinghub.no/transform/npd/licence
# imports: file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix baa-2011-07-30: <file:///www.reportinghub.no/transform/npd/baa-2011-07-30#> .
@prefix company-2011-07-30: <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30#> .
@prefix facilityfixed-2011-07-30: <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30#> .
@prefix facilitymoveable-2011-07-30: <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30#> .
......@@ -108,6 +111,65 @@
<http://www.reportinghub.no/schema/npd#licensingActivity>
] .
<file:///www.reportinghub.no/transform/npd/baa#BAA>
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :BAA-BusinessArrangementArea ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baaName> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#name>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :BAA-BusinessArrangementArea ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baaDateValidTo> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#endDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :BAA-BusinessArrangementArea ;
spinmap:expression
[ rdf:type spif:parseDate ;
arg:pattern "dd.MM.yyyy" ;
sp:arg1 spin:_arg1
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baaDateValidFrom> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#startDate>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :BAA-BusinessArrangementArea ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate :baaKind
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baaKind> ;
spinmap:targetPredicate1
rdf:type
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :BAA-BusinessArrangementArea ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/baa#baaNpdidBsnsArrArea> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#id>
] .
<file:///www.reportinghub.no/transform/npd/company#Company>
spinmap:rule
[ rdf:type spinmap:Mapping-0-1 ;
......@@ -294,6 +356,20 @@
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression
[ rdf:type spinmapl:resourceWithValue ;
sp:arg1 spin:_arg1 ;
spinmapl:predicate <http://www.reportinghub.no/schema/npd#id> ;
spinmapl:type <http://www.reportinghub.no/schema/npd#Owner>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#fldNpdidOwner> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/schema/npd#fieldOwner>
] ;
spinmap:rule
[ rdf:type spinmap:Mapping-1-1 ;
spinmap:context :Field-Field ;
spinmap:expression spin:_arg1 ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/field#fldCurrentActivitySatus> ;
......@@ -423,12 +499,33 @@ arg:wellBoreName
arg:wellName
rdfs:subPropertyOf sp:arg .
<http://www.reportinghub.no/schema/npd#ParcellBAA>
:baaKind "PARCELL"^^xsd:string .
<http://www.reportinghub.no/schema/npd#SeismicAreaBAA>
:baaKind "SEISMIC AREA"^^xsd:string .
<http://www.reportinghub.no/schema/npd#SlidingScaleBAA>
:baaKind "SLIDING SCALE"^^xsd:string .
<http://www.reportinghub.no/schema/npd#UnitizedBAA>
:baaKind "UNITIZED"^^xsd:string .
<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 <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30> , <http://www.reportinghub.no/transform/npd/field-2011-07-30> , <http://www.reportinghub.no/1.1/schema/npd> , <file:///www.reportinghub.no/transform/npd/field> , <http://topbraid.org/spin/spinmapl> , <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/license-2011-07-30> , <file:///www.reportinghub.no/transform/wellbore-npdid-overview> , <file:///www.reportinghub.no/transform/npd/company> , <http://spinrdf.org/spin> ;
owl:imports <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30> , <http://www.reportinghub.no/transform/npd/field-2011-07-30> , <http://www.reportinghub.no/1.1/schema/npd> , <file:///www.reportinghub.no/transform/npd/field> , <http://topbraid.org/spin/spinmapl> , <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <http://www.reportinghub.no/spin/rh> , <file:///www.reportinghub.no/transform/npd/baa> , <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/license-2011-07-30> , <file:///www.reportinghub.no/transform/wellbore-npdid-overview> , <file:///www.reportinghub.no/transform/npd/company> , <http://spinrdf.org/spin> , <file:///www.reportinghub.no/transform/npd/baa-2011-07-30> ;
owl:versionInfo "0.1.0"^^xsd:string .
:BAA-BusinessArrangementArea
rdf:type spinmap:Context ;
spinmap:sourceClass <file:///www.reportinghub.no/transform/npd/baa#BAA> ;
spinmap:target
[ rdf:type :buildBAAURI ;
spinmap:source spinmap:_source
] ;
spinmap:targetClass <http://www.reportinghub.no/schema/npd#BusinessArrangementArea> .
:Company-Company
rdf:type spinmap:Context ;
spinmap:sourceClass <file:///www.reportinghub.no/transform/npd/company#Company> ;
......@@ -494,6 +591,26 @@ arg:wellName
] ;
spinmap:targetClass <http://www.reportinghub.no/schema/npd#WellBore> .
:baaKind
rdf:type rdf:Property ;
rdfs:label "baa kind"^^xsd:string .
:buildBAAURI
rdf:type spinmap:TargetFunction ;
rdfs:label "build BAA URI"^^xsd:string ;
rdfs:subClassOf spinmap:TargetFunctions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ rdf:type rhspin:baaById ;
arg:id [ rdf:type spl:object ;
sp:arg1 [ sp:varName "source"^^xsd:string
] ;
sp:arg2 <file:///www.reportinghub.no/transform/npd/baa#baaNpdidBsnsArrArea>
]
]) ;
sp:where ()
] .
:buildCompanyURI
rdf:type spinmap:TargetFunction ;
rdfs:label "build company URI"^^xsd:string ;
......
# baseURI: file:///www.reportinghub.no/transform/npd/baa
# imports: http://topbraid.org/tables
@prefix baa: <file:///www.reportinghub.no/transform/npd/baa#> .
@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#> .
@prefix tables: <http://topbraid.org/tables#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<file:///www.reportinghub.no/transform/npd/baa>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
baa:BAA
rdf:type owl:Class ;
rdfs:label "BAA"^^xsd:string ;
tables:sheetIndex "0"^^xsd:int .
baa:baaDateApproved
rdf:type owl:DatatypeProperty ;
rdfs:domain baa:BAA ;
rdfs:label "baaDateApproved" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
baa:baaDateValidFrom
rdf:type owl:DatatypeProperty ;
rdfs:domain baa:BAA ;
rdfs:label "baaDateValidFrom" ;
rdfs:range xsd:string ;
tables:columnIndex "3"^^xsd:int .
baa:baaDateValidTo
rdf:type owl:DatatypeProperty ;
rdfs:domain baa:BAA ;
rdfs:label "baaDateValidTo" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
baa:baaFactMapUrl
rdf:type owl:DatatypeProperty ;
rdfs:domain baa:BAA ;
rdfs:label "baaFactMapUrl" ;
rdfs:range xsd:string ;
tables:columnIndex "6"^^xsd:int .
baa:baaFactPageUrl
rdf:type owl:DatatypeProperty ;
rdfs:domain baa:BAA ;
rdfs:label "baaFactPageUrl" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
baa:baaKind
rdf:type owl:DatatypeProperty ;
rdfs:domain baa:BAA ;
rdfs:label "baaKind" ;
rdfs:range xsd:string ;
tables:columnIndex "1"^^xsd:int .
baa:baaName
rdf:type owl:DatatypeProperty ;
rdfs:domain baa:BAA ;
rdfs:label "baaName"^^xsd:string ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .
baa:baaNpdidBsnsArrArea
rdf:type owl:DatatypeProperty ;
rdfs:domain baa:BAA ;
rdfs:label "baaNpdidBsnsArrArea" ;
rdfs:range xsd:string ;
tables:columnIndex "7"^^xsd:int .
baa:dateSyncNPD
rdf:type owl:DatatypeProperty ;
rdfs:domain baa:BAA ;
rdfs:label "dateSyncNPD" ;
rdfs:range xsd:string ;
tables:columnIndex "8"^^xsd:int .