Holger Knublauch

Adjustments to new NPD spreadsheets

......@@ -855,7 +855,7 @@
spinmapl:type <http://www.reportinghub.no/np/schema/npd#DevelopmentWellBorePurpose>
] ;
spinmap:sourcePredicate1
<file:///www.reportinghub.no/transform/npd/wbdev#wlbPurpose> ;
<file:///www.reportinghub.no/transform/npd/wbdev#wlbPurposePlanned> ;
spinmap:targetPredicate1
<http://www.reportinghub.no/np/schema/npd#wellBorePurpose>
] ;
......@@ -1382,7 +1382,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 <file:///www.reportinghub.no/transform/npd/licensee> , <file:///www.reportinghub.no/transform/npd/tufoperator> , <http://www.reportinghub.no/ep/schema/1.0/core> , <file:///www.reportinghub.no/transform/npd/wbexp> , <file:///www.reportinghub.no/transform/npd/wbid> , <file:///www.reportinghub.no/transform/npd/discovery> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/baalicensee> , <http://topbraid.org/spin/spinmapl> , <file:///www.reportinghub.no/transform/npd/wbsha> , <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> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/np/schema/1.0/npd> , <file:///www.reportinghub.no/transform/npd/wbdev> , <file:///www.reportinghub.no/transform/npd/company> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://spinrdf.org/spin> ;
owl:imports <file:///www.reportinghub.no/transform/npd/baa> , <file:///www.reportinghub.no/transform/npd/baalicensee> , <file:///www.reportinghub.no/transform/npd/company> , <file:///www.reportinghub.no/transform/npd/discovery> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/licensee> , <file:///www.reportinghub.no/transform/npd/tufoperator> , <file:///www.reportinghub.no/transform/npd/wbdev> , <file:///www.reportinghub.no/transform/npd/wbexp> , <file:///www.reportinghub.no/transform/npd/wbid> , <file:///www.reportinghub.no/transform/npd/wbsha> , <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/spin/rh> ;
owl:versionInfo "0.1.0"^^xsd:string .
:BAA-BusinessArrangementArea
......@@ -1917,29 +1917,29 @@ arg:wellName
sp:where ()
] .
_:b12
sp:varName "source"^^xsd:string .
_:b11
sp:varName "startDate"^^xsd:string .
_:b1 sp:varName "companyId"^^xsd:string .
_:b10
sp:varName "licenceId"^^xsd:string .
_:b2 sp:varName "baaId"^^xsd:string .
_:b9 sp:varName "companyId"^^xsd:string .
_:b3 sp:varName "startDate"^^xsd:string .
_:b8 sp:varName "baa"^^xsd:string .
_:b4 sp:varName "source"^^xsd:string .
_:b7 sp:varName "baaName"^^xsd:string .
_:b5 sp:varName "companyName"^^xsd:string .
_:b6 sp:varName "company"^^xsd:string .
_:b5 sp:varName "companyName"^^xsd:string .
_:b7 sp:varName "baaName"^^xsd:string .
_:b4 sp:varName "source"^^xsd:string .
_:b8 sp:varName "baa"^^xsd:string .
_:b3 sp:varName "startDate"^^xsd:string .
_:b9 sp:varName "companyId"^^xsd:string .
_:b2 sp:varName "baaId"^^xsd:string .
_:b10
sp:varName "licenceId"^^xsd:string .
_:b1 sp:varName "companyId"^^xsd:string .
_:b11
sp:varName "startDate"^^xsd:string .
_:b12
sp:varName "source"^^xsd:string .
......
......@@ -12,11 +12,11 @@
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "1"^^xsd:int
composite:index "0"^^xsd:int
] ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
composite:index "0"^^xsd:int
composite:index "1"^^xsd:int
] ;
inference:completeMode
"true"^^xsd:boolean ;
......
......@@ -14,7 +14,7 @@
licence:Licence
rdf:type owl:Class ;
rdfs:label "Licence"^^xsd:string ;
rdfs:label "licence" ;
tables:sheetIndex "0"^^xsd:int .
licence:datesyncNPD
......@@ -22,28 +22,42 @@ licence:datesyncNPD
rdfs:domain licence:Licence ;
rdfs:label "DatesyncNPD" ;
rdfs:range xsd:string ;
tables:columnIndex "8"^^xsd:int .
tables:columnIndex "11"^^xsd:int .
licence:prlCurrentArea
rdf:type owl:DatatypeProperty ;
rdfs:domain licence:Licence ;
rdfs:label "prlCurrentArea" ;
rdfs:range xsd:string ;
tables:columnIndex "6"^^xsd:int .
tables:columnIndex "7"^^xsd:int .
licence:prlDateGranted
rdf:type owl:DatatypeProperty ;
rdfs:domain licence:Licence ;
rdfs:label "prlDateGranted" ;
rdfs:range xsd:string ;
tables:columnIndex "3"^^xsd:int .
tables:columnIndex "4"^^xsd:int .
licence:prlDateValidTo
rdf:type owl:DatatypeProperty ;
rdfs:domain licence:Licence ;
rdfs:label "prlDateValidTo" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
tables:columnIndex "5"^^xsd:int .
licence:prlFactMapUrl
rdf:type owl:DatatypeProperty ;
rdfs:domain licence:Licence ;
rdfs:label "prlFactMapUrl" ;
rdfs:range xsd:string ;
tables:columnIndex "10"^^xsd:int .
licence:prlFactPageUrl
rdf:type owl:DatatypeProperty ;
rdfs:domain licence:Licence ;
rdfs:label "prlFactPageUrl" ;
rdfs:range xsd:string ;
tables:columnIndex "9"^^xsd:int .
licence:prlLicensingActivityName
rdf:type owl:DatatypeProperty ;
......@@ -52,6 +66,13 @@ licence:prlLicensingActivityName
rdfs:range xsd:string ;
tables:columnIndex "1"^^xsd:int .
licence:prlMainArea
rdf:type owl:DatatypeProperty ;
rdfs:domain licence:Licence ;
rdfs:label "prlMainArea" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
licence:prlName
rdf:type owl:DatatypeProperty ;
rdfs:domain licence:Licence ;
......@@ -64,18 +85,18 @@ licence:prlNpdidLicence
rdfs:domain licence:Licence ;
rdfs:label "prlNpdidLicence" ;
rdfs:range xsd:string ;
tables:columnIndex "7"^^xsd:int .
tables:columnIndex "8"^^xsd:int .
licence:prlOriginalArea
rdf:type owl:DatatypeProperty ;
rdfs:domain licence:Licence ;
rdfs:label "prlOriginalArea" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
tables:columnIndex "6"^^xsd:int .
licence:prlStatus
rdf:type owl:DatatypeProperty ;
rdfs:domain licence:Licence ;
rdfs:label "prlStatus" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
tables:columnIndex "3"^^xsd:int .
......
......@@ -29,14 +29,14 @@ licensee:cmpNpdidCompany
rdfs:domain licensee:Licensee ;
rdfs:label "cmpNpdidCompany" ;
rdfs:range xsd:string ;
tables:columnIndex "7"^^xsd:int .
tables:columnIndex "9"^^xsd:int .
licensee:datesyncNPD
rdf:type owl:DatatypeProperty ;
rdfs:domain licensee:Licensee ;
rdfs:label "DatesyncNPD" ;
rdfs:range xsd:string ;
tables:columnIndex "8"^^xsd:int .
tables:columnIndex "10"^^xsd:int .
licensee:prlLicenseeDateValidFrom
rdf:type owl:DatatypeProperty ;
......@@ -69,7 +69,7 @@ licensee:prlLicenseeSdfi
licensee:prlName
rdf:type owl:DatatypeProperty ;
rdfs:domain licensee:Licensee ;
rdfs:label "ÔªøprlName" ;
rdfs:label "prlName"^^xsd:string ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .
......@@ -78,4 +78,18 @@ licensee:prlNpdidLicence
rdfs:domain licensee:Licensee ;
rdfs:label "prlNpdidLicence" ;
rdfs:range xsd:string ;
tables:columnIndex "8"^^xsd:int .
licensee:prlOperDateValidFrom
rdf:type owl:DatatypeProperty ;
rdfs:domain licensee:Licensee ;
rdfs:label "prlOperDateValidFrom"^^xsd:string ;
rdfs:range xsd:string ;
tables:columnIndex "6"^^xsd:int .
licensee:prlOperDateValidTo
rdf:type owl:DatatypeProperty ;
rdfs:domain licensee:Licensee ;
rdfs:label "prlOperDateValidTo"^^xsd:string ;
rdfs:range xsd:string ;
tables:columnIndex "7"^^xsd:int .
......
This diff is collapsed. Click to expand it.
......@@ -14,7 +14,7 @@
wbsha:WBSha
rdf:type owl:Class ;
rdfs:label "wbsha-2011-07-30" ;
rdfs:label "wbsha" ;
tables:sheetIndex "0"^^xsd:int .
wbsha:datesyncNPD
......@@ -22,28 +22,35 @@ wbsha:datesyncNPD
rdfs:domain wbsha:WBSha ;
rdfs:label "datesyncNPD" ;
rdfs:range xsd:string ;
tables:columnIndex "34"^^xsd:int .
tables:columnIndex "35"^^xsd:int .
wbsha:wlbCompletionDate
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbCompletionDate" ;
rdfs:range xsd:string ;
tables:columnIndex "6"^^xsd:int .
tables:columnIndex "7"^^xsd:int .
wbsha:wlbCompletionYear
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbCompletionYear" ;
rdfs:range xsd:string ;
tables:columnIndex "12"^^xsd:int .
tables:columnIndex "13"^^xsd:int .
wbsha:wlbDrillPermit
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbDrillPermit" ;
rdfs:range xsd:string ;
tables:columnIndex "7"^^xsd:int .
tables:columnIndex "8"^^xsd:int .
wbsha:wlbDrillingFacility
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbDrillingFacility" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
wbsha:wlbDrillingOperator
rdf:type owl:DatatypeProperty ;
......@@ -57,112 +64,112 @@ wbsha:wlbEntryDate
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEntryDate" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
tables:columnIndex "6"^^xsd:int .
wbsha:wlbEntryYear
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEntryYear" ;
rdfs:range xsd:string ;
tables:columnIndex "11"^^xsd:int .
tables:columnIndex "12"^^xsd:int .
wbsha:wlbEwCode
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwCode" ;
rdfs:range xsd:string ;
tables:columnIndex "22"^^xsd:int .
tables:columnIndex "23"^^xsd:int .
wbsha:wlbEwDeg
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwDeg" ;
rdfs:range xsd:string ;
tables:columnIndex "19"^^xsd:int .
tables:columnIndex "20"^^xsd:int .
wbsha:wlbEwDesDeg
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwDesDeg" ;
rdfs:range xsd:string ;
tables:columnIndex "24"^^xsd:int .
tables:columnIndex "25"^^xsd:int .
wbsha:wlbEwMin
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwMin" ;
rdfs:range xsd:string ;
tables:columnIndex "20"^^xsd:int .
tables:columnIndex "21"^^xsd:int .
wbsha:wlbEwSec
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwSec" ;
rdfs:range xsd:string ;
tables:columnIndex "21"^^xsd:int .
tables:columnIndex "22"^^xsd:int .
wbsha:wlbEwUtm
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbEwUtm" ;
rdfs:range xsd:string ;
tables:columnIndex "26"^^xsd:int .
tables:columnIndex "27"^^xsd:int .
wbsha:wlbGeodeticDatum
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbGeodeticDatum" ;
rdfs:range xsd:string ;
tables:columnIndex "14"^^xsd:int .
tables:columnIndex "15"^^xsd:int .
wbsha:wlbMainArea
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbMainArea" ;
rdfs:range xsd:string ;
tables:columnIndex "10"^^xsd:int .
tables:columnIndex "11"^^xsd:int .
wbsha:wlbNamePart1
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart1" ;
rdfs:range xsd:string ;
tables:columnIndex "28"^^xsd:int .
tables:columnIndex "29"^^xsd:int .
wbsha:wlbNamePart2
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart2" ;
rdfs:range xsd:string ;
tables:columnIndex "29"^^xsd:int .
tables:columnIndex "30"^^xsd:int .
wbsha:wlbNamePart3
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart3" ;
rdfs:range xsd:string ;
tables:columnIndex "30"^^xsd:int .
tables:columnIndex "31"^^xsd:int .
wbsha:wlbNamePart4
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart4" ;
rdfs:range xsd:string ;
tables:columnIndex "31"^^xsd:int .
tables:columnIndex "32"^^xsd:int .
wbsha:wlbNamePart5
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart5" ;
rdfs:range xsd:string ;
tables:columnIndex "32"^^xsd:int .
tables:columnIndex "33"^^xsd:int .
wbsha:wlbNamePart6
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNamePart6" ;
rdfs:range xsd:string ;
tables:columnIndex "33"^^xsd:int .
tables:columnIndex "34"^^xsd:int .
wbsha:wlbNpdidWellbore
rdf:type owl:DatatypeProperty ;
......@@ -176,42 +183,42 @@ wbsha:wlbNsCode
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsCode" ;
rdfs:range xsd:string ;
tables:columnIndex "18"^^xsd:int .
tables:columnIndex "19"^^xsd:int .
wbsha:wlbNsDecDeg
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsDecDeg" ;
rdfs:range xsd:string ;
tables:columnIndex "23"^^xsd:int .
tables:columnIndex "24"^^xsd:int .
wbsha:wlbNsDeg
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsDeg" ;
rdfs:range xsd:string ;
tables:columnIndex "15"^^xsd:int .
tables:columnIndex "16"^^xsd:int .
wbsha:wlbNsMin
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsMin" ;
rdfs:range xsd:string ;
tables:columnIndex "16"^^xsd:int .
tables:columnIndex "17"^^xsd:int .
wbsha:wlbNsSec
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsSec" ;
rdfs:range xsd:string ;
tables:columnIndex "17"^^xsd:int .
tables:columnIndex "18"^^xsd:int .
wbsha:wlbNsUtm
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbNsUtm" ;
rdfs:range xsd:string ;
tables:columnIndex "25"^^xsd:int .
tables:columnIndex "26"^^xsd:int .
wbsha:wlbProductionLicence
rdf:type owl:DatatypeProperty ;
......@@ -225,28 +232,28 @@ wbsha:wlbSeismicLocation
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbSeismicLocation" ;
rdfs:range xsd:string ;
tables:columnIndex "13"^^xsd:int .
tables:columnIndex "14"^^xsd:int .
wbsha:wlbTotalDepth
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbTotalDepth" ;
rdfs:range xsd:string ;
tables:columnIndex "8"^^xsd:int .
tables:columnIndex "9"^^xsd:int .
wbsha:wlbUtmZone
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbUtmZone" ;
rdfs:range xsd:string ;
tables:columnIndex "27"^^xsd:int .
tables:columnIndex "28"^^xsd:int .
wbsha:wlbWaterDepth
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbWaterDepth" ;
rdfs:range xsd:string ;
tables:columnIndex "9"^^xsd:int .
tables:columnIndex "10"^^xsd:int .
wbsha:wlbWell
rdf:type owl:DatatypeProperty ;
......@@ -258,6 +265,6 @@ wbsha:wlbWell
wbsha:wlbWellboreName
rdf:type owl:DatatypeProperty ;
rdfs:domain wbsha:WBSha ;
rdfs:label "wlbWellboreName"^^xsd:string ;
rdfs:label "ÔªøwlbWellboreName" ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .
......