David Price

Working dpr2

......@@ -35,16 +35,14 @@
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>
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectNPDorERHorEPName ;
sp:arg1 [ sp:varName "productionFlowFacility"^^xsd:string
]
] ;
sp:subject
[ sp:varName "productionFlowFacility"^^xsd:string
sp:variable
[ sp:varName "name"^^xsd:string
]
])
] ;
......@@ -82,13 +80,16 @@
sp:subject
[ sp:varName "facilityPart"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityWholeName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "facilityWhole"^^xsd:string
]
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object
[ sp:varName "facilityWholeName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "facilityWhole"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:constraint
......
......@@ -78,8 +78,8 @@ WHERE {
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationMarineShip" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionFlows" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionVolumes" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlows" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:InjectionVolumes" />
......
# baseURI: http://www.reportinghub.no/test/dpr2/testcase/epim-dpr2/PL147/test-results/TRYM_DAY_2012-02-28_final-dpr2-importedfacts.ttl
# imports: http://www.reportinghub.no/data/erh
# imports: http://www.reportinghub.no/np/data/npd
# imports: http://www.reportinghub.no/test/dpr2/testcase/epim-dpr2/PL147/test-results/TRYM_DAY_2012-02-28_final-dpr2
@prefix TRYM_DAY_2012-02-28_final-dpr2-importedfacts: <http://www.reportinghub.no/test/dpr2/testcase/epim-dpr2/PL147/test-results/TRYM_DAY_2012-02-28_final-dpr2-importedfacts.ttl#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/test/dpr2/testcase/epim-dpr2/PL147/test-results/TRYM_DAY_2012-02-28_final-dpr2-importedfacts.ttl>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/data/erh> , <http://www.reportinghub.no/np/data/npd> , <http://www.reportinghub.no/test/dpr2/testcase/epim-dpr2/PL147/test-results/TRYM_DAY_2012-02-28_final-dpr2> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .