Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
npd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
David Price
2013-08-09 16:44:17 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e3b74a3fc11726f993fc6986ab1efcb2fb6a2d51
e3b74a3f
1 parent
cee0fa23
Fixed facility flow name for cargo
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
124 additions
and
113 deletions
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EP-PROD-property.ttl
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
View file @
e3b74a3
...
...
@@ -79,14 +79,25 @@ mpr-tables:Cargo
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
;
sp:
graphNameNode
<http://www.reportinghub.no/data/erh>
]
[
sp:
object
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
[
sp:
varName
"facilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowInOutFacility>
;
sp:
path
[
rdf:
type
sp:
AltPath
;
sp:
path1
<http://www.reportinghub.no/np/schema/npd#name>
;
sp:
path2
<http://www.reportinghub.no/ep/schema/core#name>
]
;
sp:
subject
[
sp:
varName
"productionFlow
InReportingPeriod
"
^^
xsd:
string
[
sp:
varName
"productionFlow
Facility
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
...
...
@@ -348,20 +359,20 @@ mpr-tables:Cargo
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"definitionTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
])
;
sp:
graphNameNode
<http://www.reportinghub.no/data/erh>
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"definitionTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
...
...
@@ -2636,20 +2647,20 @@ mpr-tables:ProductionSales
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"purposeTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
]
])
;
sp:
graphNameNode
<http://www.reportinghub.no/data/erh>
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"purposeTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
...
...
@@ -2702,20 +2713,20 @@ mpr-tables:ProductionSales
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"definitionTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
])
;
sp:
graphNameNode
<http://www.reportinghub.no/data/erh>
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"definitionTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
])
])
]
;
...
...
@@ -3479,43 +3490,46 @@ mpr-tables:WellProductionFlows
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
notExists
;
sp:
elements
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#SaleableFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
notExists
;
sp:
elements
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccountingFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
notExists
;
sp:
elements
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#FlowToSale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
]
]
[
sp:
object
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NamedGraph
;
sp:
elements
([
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
notExists
;
sp:
elements
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#SaleableFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
notExists
;
sp:
elements
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccountingFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
notExists
;
sp:
elements
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#FlowToSale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
]
]
[
sp:
object
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
;
sp:
graphNameNode
<http://www.reportinghub.no/data/erh>
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#WellBore>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -3668,13 +3682,16 @@ mpr-tables:WellProductionFlows
[
sp:
varName
"productFlowWhole"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
sp:
elements
([
rdf:
type
sp:
NamedGraph
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
;
sp:
graphNameNode
<http://www.reportinghub.no/data/erh>
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -3731,13 +3748,16 @@ mpr-tables:WellProductionFlows
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
sp:
elements
([
rdf:
type
sp:
NamedGraph
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
;
sp:
graphNameNode
<http://www.reportinghub.no/data/erh>
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
www.reportinghub.no/ep/spin/SPIN_EP-PROD-property.ttl
View file @
e3b74a3
...
...
@@ -24,37 +24,28 @@
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"name"
^^
xsd:
string
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
spin:
_arg1
]
[
rdf:
type
sp:
NamedGraph
;
sp:
where
([
rdf:
type
sp:
NamedGraph
;
sp:
elements
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
sp:
subject
spin:
_arg1
]
[
sp:
object
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
path
[
rdf:
type
sp:
AltPath
;
sp:
path1
<http://www.reportinghub.no/np/schema/npd#name>
;
sp:
path2
<http://www.reportinghub.no/ep/schema/core#name>
]
;
sp:
subject
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
sp:
subject
spin:
_arg1
])
;
sp:
graphNameNode
<http://www.reportinghub.no/data/erh>
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
path
[
rdf:
type
sp:
AltPath
;
sp:
path1
<http://www.reportinghub.no/np/schema/npd#name>
;
sp:
path2
<http://www.reportinghub.no/ep/schema/core#name>
]
;
sp:
subject
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
])
]
;
spin:
constraint
...
...
Please
register
or
login
to post a comment