David Leal

drilling activity purpose ontology added

1 +# Saved by TopBraid on Mon Aug 08 14:59:50 BST 2011
2 +# baseURI: http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)
3 +# imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 +# imports: http://www.reportinghub.no/ep/schema/1.1/activity-purpose
5 +# imports: http://spinrdf.org/spin
6 +
7 +@prefix : <http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)#> .
8 +@prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.1/activity-purpose#> .
9 +@prefix ep-activity-purpose: <http://www.reportinghub.no/ep/schema/1.1/SCHEMA_EP-ACTIVITY-PURPOSE-(v1.1)#> .
10 +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
11 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
12 +@prefix p2: <http://example.org/file2#> .
13 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
14 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15 +@prefix sp: <http://spinrdf.org/sp#> .
16 +@prefix spin: <http://spinrdf.org/spin#> .
17 +@prefix spl: <http://spinrdf.org/spl#> .
18 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19 +
20 +<http://www.reportinghub.no/ep/schema/ddr#ActivityCodeNPD>
21 + spin:rule
22 + [ rdf:type sp:Construct ;
23 + sp:templates ([ sp:object activity-purpose:DailyDrillingActivityPurposeType ;
24 + sp:predicate rdf:type ;
25 + sp:subject _:b1
26 + ]) ;
27 + sp:where ([ sp:object _:b2 ;
28 + sp:predicate rdfs:label ;
29 + sp:subject spin:_this
30 + ] [ rdf:type sp:Bind ;
31 + sp:expression
32 + [ rdf:type ep-spin-lib:buildDailyDrillingActivityPurposeTypeURI ;
33 + sp:arg1 _:b2
34 + ] ;
35 + sp:variable _:b1
36 + ])
37 + ] .
38 +
39 +<http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)>
40 + rdf:type owl:Ontology ;
41 + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.1/activity-purpose> , <http://spinrdf.org/spin> ;
42 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
43 +
44 +_:b1 sp:varName "dailyDrillingActivityPurposeType"^^xsd:string .
45 +
46 +_:b2 sp:varName "label"^^xsd:string .
1 +# Saved by TopBraid on Mon Aug 08 14:59:50 BST 2011
2 +# baseURI: null
3 +
4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix visual: <http://topbraid.org/visual#> .
11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 +
13 +[] rdf:type inference:Configuration ;
14 + composite:child
15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 + composite:index "0"^^xsd:int
17 + ] .
1 +# Saved by TopBraid on Mon Aug 08 15:10:22 BST 2011
2 +# baseURI: null
3 +
4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix visual: <http://topbraid.org/visual#> .
11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 +
13 +[] rdf:type inference:Configuration ;
14 + composite:child
15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 + composite:index "0"^^xsd:int
17 + ] .