David Price

started first dpr-table placeholder

1 -# Saved by TopBraid on Wed Oct 12 18:15:28 BST 2011 1 +# Saved by TopBraid on Wed Oct 12 19:50:38 BST 2011
2 -# baseURI: http://www.reportinghub.no/ep/spin/dpr-tables 2 +# baseURI: http://www.reportinghub.no/ep/spin/dpr-tables
3 -# imports: http://spinrdf.org/spin 3 +# imports: http://www.reportinghub.no/ep/schema/1.0/production
4 - 4 +# imports: http://spinrdf.org/spin
5 -@prefix dpr-tables: <http://www.reportinghub.no/ep/spin/dpr-tables#> . 5 +# imports: http://www.reportinghub.no/spin/rh
6 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 6 +
7 -@prefix sp: <http://spinrdf.org/sp#> . 7 +@prefix dpr-tables: <http://www.reportinghub.no/ep/spin/dpr-tables#> .
8 -@prefix spin: <http://spinrdf.org/spin#> . 8 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
9 -@prefix spl: <http://spinrdf.org/spl#> . 9 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
10 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 10 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
11 - 11 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
12 -<http://www.reportinghub.no/ep/spin/dpr-tables> 12 +@prefix sp: <http://spinrdf.org/sp#> .
13 - rdf:type <http://www.w3.org/2002/07/owl#Ontology> ; 13 +@prefix spin: <http://spinrdf.org/spin#> .
14 - <http://www.w3.org/2002/07/owl#imports> 14 +@prefix spl: <http://spinrdf.org/spl#> .
15 - <http://spinrdf.org/spin> ; 15 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
16 - <http://www.w3.org/2002/07/owl#versionInfo> 16 +
17 - "Created with TopBraid Composer"^^xsd:string . 17 +<http://www.reportinghub.no/ep/spin/dpr-tables>
18 + rdf:type owl:Ontology ;
19 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/spin/rh> ;
20 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
21 +
22 +dpr-tables:WellInformation
23 + rdf:type rhspin:TableTemplate ;
24 + rdfs:subClassOf rhspin:TableTemplates ;
25 + spin:body
26 + [ rdf:type sp:Select ;
27 + sp:resultVariables ([ sp:varName "description"^^xsd:string
28 + ] _:b1 [ sp:varName "choke"^^xsd:string
29 + ] [ sp:varName "prod"^^xsd:string
30 + ]) ;
31 + sp:where ([ sp:object _:b2 ;
32 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
33 + sp:subject
34 + [ sp:varName "report"^^xsd:string
35 + ]
36 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
37 + sp:predicate rdf:type ;
38 + sp:subject _:b2
39 + ] [ sp:object _:b3 ;
40 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
41 + sp:subject _:b2
42 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationsActivity> ;
43 + sp:predicate rdf:type ;
44 + sp:subject _:b3
45 + ] [ rdf:type sp:Optional ;
46 + sp:elements ([ sp:object _:b1 ;
47 + sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfOwnCrew> ;
48 + sp:subject
49 + [ sp:varName "act"^^xsd:string
50 + ]
51 + ])
52 + ])
53 + ] ;
54 + rhspin:tableHeaders ("Description"^^xsd:string "Oil Net m3"^^xsd:string "Choke %"^^xsd:string "Prod Hours"^^xsd:string) .
55 +
56 +_:b2 sp:varName "dailyProductionActivity"^^xsd:string .
57 +
58 +_:b3 sp:varName "productionOperationsActivity"^^xsd:string .
59 +
60 +_:b1 sp:varName "oilNet"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Oct 12 18:15:28 BST 2011 1 +# Saved by TopBraid on Wed Oct 12 19:50:38 BST 2011
2 -# baseURI: http://www.reportinghub.no/ep/spin/dpr-tables 2 +# baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 @prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . 5 @prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
......