David Price

Initial facts QA SPARQL and work DPR2 testing

1 +# baseURI: http://www.reportinghub.no/test/dpr2/testcase/epim-dpr2/PL147/test-results/TRYM_DAY_2012-02-28_final-dpr2
2 +# imports: http://www.reportinghub.no/ep/schema/1.0/production
3 +
4 +@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#> .
5 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
6 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
7 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
8 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
9 +
10 +<http://www.reportinghub.no/test/dpr2/testcase/epim-dpr2/PL147/test-results/TRYM_DAY_2012-02-28_final-dpr2>
11 + rdf:type owl:Ontology ;
12 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production> ;
13 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 +SELECT ?Flowuid ?FlowInOutNPDId ?FlowInOutName ?FlowInOutType ?Kind ?Purpose
2 +WHERE {
3 + ?flow rdf:type ep-flow:WholeLifeProductionFlow .
4 + ?flow erh:id ?Flowuid .
5 + OPTIONAL {
6 + ?flow rdf:type ?pt .
7 + ?pt rdf:type ep-flow:ProductionFlowPurposeType .
8 + ?pt rdfs:label ?Purpose }
9 + OPTIONAL {
10 + ?flow rdf:type ?defn .
11 + ?defn rdf:type ep-flow:ProductionFlowDefinitionType .
12 + ?defn rdfs:label ?Kind .}
13 + OPTIONAL {
14 + ?flow ep-core:partOf ?field . }
15 + OPTIONAL {
16 + ?flow ep-flow:flowIntoOrOutOf ?flowThing .
17 + ?flowThing npd:name ?FlowInOutName .
18 + ?flowThing npd:id ?FlowInOutNPDId .
19 + ?flowThing a ?what .
20 + ?what rdfs:label ?FlowInOutType .
21 + }
22 +}
...\ No newline at end of file ...\ No newline at end of file