Holger Knublauch

Facility mapping

This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
......@@ -92,6 +92,50 @@ rhspin:companyById
spl:valueType xsd:string
] .
rhspin:facilityById
rdf:type spin:Function ;
rdfs:label "facility 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/Facility-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the facility."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:fieldById
rdf:type spin:Function ;
rdfs:label "field 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/Field-" ;
sp:arg2 [ sp:varName "id"^^xsd:string
]
]
]) ;
sp:where ()
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The NPD id of the field."^^xsd:string ;
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] .
rhspin:licenceById
rdf:type spin:Function ;
rdfs:label "license by id"^^xsd:string ;
......@@ -113,7 +157,7 @@ rhspin:licenceById
spl:predicate <http://spinrdf.org/arg#id> ;
spl:valueType xsd:string
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#License> .
spin:returnType <http://www.reportinghub.no/schema/npd#Licence> .
rhspin:userName
rdf:type spin:Function ;
......@@ -182,6 +226,6 @@ rhspin:wellByName
] ;
spin:returnType <http://www.reportinghub.no/schema/npd#Well> .
_:b2 sp:varName "wellBore"^^xsd:string .
_:b1 sp:varName "wellBoreName"^^xsd:string .
_:b2 sp:varName "wellBore"^^xsd:string .
......
# baseURI: file:///www.reportinghub.no/transform/npd/facilityfixed
# imports: http://topbraid.org/tables
@prefix facilityfixed: <file:///www.reportinghub.no/transform/npd/facilityfixed#> .
@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/facilityfixed>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
facilityfixed:FacilityFixed
rdf:type owl:Class ;
rdfs:label "FacilityFixed"^^xsd:string ;
tables:sheetIndex "0"^^xsd:int .
facilityfixed:datesyncNPD
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "datesyncNPD" ;
rdfs:range xsd:string ;
tables:columnIndex "24"^^xsd:int .
facilityfixed:fclBelongsToKind
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclBelongsToKind" ;
rdfs:range xsd:string ;
tables:columnIndex "6"^^xsd:int .
facilityfixed:fclBelongsToName
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclBelongsToName" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
facilityfixed:fclBelongsToS
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclBelongsToS" ;
rdfs:range xsd:string ;
tables:columnIndex "7"^^xsd:int .
facilityfixed:fclCurrentOperatorName
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclCurrentOperatorName" ;
rdfs:range xsd:string ;
tables:columnIndex "3"^^xsd:int .
facilityfixed:fclDesignLifetime
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclDesignLifetime" ;
rdfs:range xsd:string ;
tables:columnIndex "20"^^xsd:int .
facilityfixed:fclEwCode
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclEwCode" ;
rdfs:range xsd:string ;
tables:columnIndex "17"^^xsd:int .
facilityfixed:fclEwDeg
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclEwDeg" ;
rdfs:range xsd:string ;
tables:columnIndex "14"^^xsd:int .
facilityfixed:fclEwMin
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclEwMin" ;
rdfs:range xsd:string ;
tables:columnIndex "15"^^xsd:int .
facilityfixed:fclEwSec
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclEwSec" ;
rdfs:range xsd:string ;
tables:columnIndex "16"^^xsd:int .
facilityfixed:fclFactMapUrl
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclFactMapUrl" ;
rdfs:range xsd:string ;
tables:columnIndex "22"^^xsd:int .
facilityfixed:fclFactPageUrl
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclFactPageUrl" ;
rdfs:range xsd:string ;
tables:columnIndex "21"^^xsd:int .
facilityfixed:fclFunctions
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclFunctions" ;
rdfs:range xsd:string ;
tables:columnIndex "19"^^xsd:int .
facilityfixed:fclGeodeticDatum
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclGeodeticDatum" ;
rdfs:range xsd:string ;
tables:columnIndex "9"^^xsd:int .
facilityfixed:fclKind
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclKind" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
facilityfixed:fclName
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclName"^^xsd:string ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .
facilityfixed:fclNpdidFacility
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclNpdidFacility" ;
rdfs:range xsd:string ;
tables:columnIndex "23"^^xsd:int .
facilityfixed:fclNsCode
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclNsCode" ;
rdfs:range xsd:string ;
tables:columnIndex "13"^^xsd:int .
facilityfixed:fclNsDeg
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclNsDeg" ;
rdfs:range xsd:string ;
tables:columnIndex "10"^^xsd:int .
facilityfixed:fclNsMin
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclNsMin" ;
rdfs:range xsd:string ;
tables:columnIndex "11"^^xsd:int .
facilityfixed:fclNsSec
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclNsSec" ;
rdfs:range xsd:string ;
tables:columnIndex "12"^^xsd:int .
facilityfixed:fclPhase
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclPhase" ;
rdfs:range xsd:string ;
tables:columnIndex "1"^^xsd:int .
facilityfixed:fclStartupDate
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclStartupDate" ;
rdfs:range xsd:string ;
tables:columnIndex "8"^^xsd:int .
facilityfixed:fclSurface
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclSurface" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
facilityfixed:fclWaterDepth
rdf:type owl:DatatypeProperty ;
rdfs:domain facilityfixed:FacilityFixed ;
rdfs:label "fclWaterDepth" ;
rdfs:range xsd:string ;
tables:columnIndex "18"^^xsd:int .
# baseURI: file:///www.reportinghub.no/transform/npd/facilitymoveable
# imports: http://topbraid.org/tables
@prefix facilitymoveable: <file:///www.reportinghub.no/transform/npd/facilitymoveable#> .
@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/facilitymoveable>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
facilitymoveable:FacilityMoveable
rdf:type owl:Class ;
rdfs:label "FacilityMoveable"^^xsd:string ;
tables:sheetIndex "0"^^xsd:int .
facilitymoveable:datesyncNPD
rdf:type owl:DatatypeProperty ;
rdfs:domain facilitymoveable:FacilityMoveable ;
rdfs:label "datesyncNPD" ;
rdfs:range xsd:string ;
tables:columnIndex "7"^^xsd:int .
facilitymoveable:fclCurrentRespCompanyName
rdf:type owl:DatatypeProperty ;
rdfs:domain facilitymoveable:FacilityMoveable ;
rdfs:label "fclCurrentRespCompanyName" ;
rdfs:range xsd:string ;
tables:columnIndex "1"^^xsd:int .
facilitymoveable:fclFactPageUrl
rdf:type owl:DatatypeProperty ;
rdfs:domain facilitymoveable:FacilityMoveable ;
rdfs:label "fclFactPageUrl" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
facilitymoveable:fclKind
rdf:type owl:DatatypeProperty ;
rdfs:domain facilitymoveable:FacilityMoveable ;
rdfs:label "fclKind" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
facilitymoveable:fclName
rdf:type owl:DatatypeProperty ;
rdfs:domain facilitymoveable:FacilityMoveable ;
rdfs:label "fclName"^^xsd:string ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .
facilitymoveable:fclNationName
rdf:type owl:DatatypeProperty ;
rdfs:domain facilitymoveable:FacilityMoveable ;
rdfs:label "fclNationName" ;
rdfs:range xsd:string ;
tables:columnIndex "3"^^xsd:int .
facilitymoveable:fclNpdidCurrentRespCompany
rdf:type owl:DatatypeProperty ;
rdfs:domain facilitymoveable:FacilityMoveable ;
rdfs:label "fclNpdidCurrentRespCompany" ;
rdfs:range xsd:string ;
tables:columnIndex "6"^^xsd:int .
facilitymoveable:fclNpdidFacility
rdf:type owl:DatatypeProperty ;
rdfs:domain facilitymoveable:FacilityMoveable ;
rdfs:label "fclNpdidFacility" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
# baseURI: file:///www.reportinghub.no/transform/npd/field
# imports: http://topbraid.org/tables
@prefix field: <file:///www.reportinghub.no/transform/npd/field#> .
@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/field>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/tables> .
field:Field
rdf:type owl:Class ;
rdfs:label "Field"^^xsd:string ;
tables:sheetIndex "0"^^xsd:int .
field:cmpLongName
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "cmpLongName" ;
rdfs:range xsd:string ;
tables:columnIndex "1"^^xsd:int .
field:cmpNpdidCompany
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "cmpNpdidCompany" ;
rdfs:range xsd:string ;
tables:columnIndex "10"^^xsd:int .
field:datesyncNPD
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "DatesyncNPD" ;
rdfs:range xsd:string ;
tables:columnIndex "13"^^xsd:int .
field:fldCurrentActivitySatus
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "fldCurrentActivitySatus" ;
rdfs:range xsd:string ;
tables:columnIndex "2"^^xsd:int .
field:fldFactMapUrl
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "fldFactMapUrl" ;
rdfs:range xsd:string ;
tables:columnIndex "12"^^xsd:int .
field:fldFactPageUrl
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "fldFactPageUrl" ;
rdfs:range xsd:string ;
tables:columnIndex "11"^^xsd:int .
field:fldName
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "fldName"^^xsd:string ;
rdfs:range xsd:string ;
tables:columnIndex "0"^^xsd:int .
field:fldNpdidField
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "fldNpdidField" ;
rdfs:range xsd:string ;
tables:columnIndex "8"^^xsd:int .
field:fldNpdidOwner
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "fldNpdidOwner" ;
rdfs:range xsd:string ;
tables:columnIndex "7"^^xsd:int .
field:fldOwnerKind
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "fldOwnerKind" ;
rdfs:range xsd:string ;
tables:columnIndex "5"^^xsd:int .
field:fldOwnerName
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "fldOwnerName" ;
rdfs:range xsd:string ;
tables:columnIndex "6"^^xsd:int .
field:wlbCompletionDate
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "wlbCompletionDate" ;
rdfs:range xsd:string ;
tables:columnIndex "4"^^xsd:int .
field:wlbName
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "wlbName" ;
rdfs:range xsd:string ;
tables:columnIndex "3"^^xsd:int .
field:wlbNpdidWellbore
rdf:type owl:DatatypeProperty ;
rdfs:domain field:Field ;
rdfs:label "wlbNpdidWellbore" ;
rdfs:range xsd:string ;
tables:columnIndex "9"^^xsd:int .