David Price

Initial facts QA SPARQL and work DPR2 testing

# baseURI: http://www.reportinghub.no/test/dpr2/testcase/epim-dpr2/PL147/test-results/TRYM_DAY_2012-02-28_final-dpr2
# imports: http://www.reportinghub.no/ep/schema/1.0/production
@prefix TRYM_DAY_2012-02-28_final-dpr2: <http://www.reportinghub.no/test/dpr2/testcase/epim-dpr2/PL147/test-results/TRYM_DAY_2012-02-28_final-dpr2#> .
@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>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
SELECT ?Flowuid ?FlowInOutNPDId ?FlowInOutName ?FlowInOutType ?Kind ?Purpose
WHERE {
?flow rdf:type ep-flow:WholeLifeProductionFlow .
?flow erh:id ?Flowuid .
OPTIONAL {
?flow rdf:type ?pt .
?pt rdf:type ep-flow:ProductionFlowPurposeType .
?pt rdfs:label ?Purpose }
OPTIONAL {
?flow rdf:type ?defn .
?defn rdf:type ep-flow:ProductionFlowDefinitionType .
?defn rdfs:label ?Kind .}
OPTIONAL {
?flow ep-core:partOf ?field . }
OPTIONAL {
?flow ep-flow:flowIntoOrOutOf ?flowThing .
?flowThing npd:name ?FlowInOutName .
?flowThing npd:id ?FlowInOutNPDId .
?flowThing a ?what .
?what rdfs:label ?FlowInOutType .
}
}
\ No newline at end of file