Added drilling equipment types for equipment failure reporting
Showing
5 changed files
with
82 additions
and
1 deletions
| 1 | +# Saved by TopBraid on Sun Aug 14 20:44:58 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.0/equipment | ||
| 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | ||
| 6 | +# imports: http://www.reportinghub.no/ep/schema/drilling-equipment-type | ||
| 7 | +# imports: http://spinrdf.org/spin | ||
| 8 | + | ||
| 9 | +@prefix : <http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)#> . | ||
| 10 | +@prefix dc: <http://purl.org/dc/elements/1.1/> . | ||
| 11 | +@prefix ep-drill-eqt-type: <http://www.reportinghub.no/ep/schema/drilling-equipment-type#> . | ||
| 12 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
| 13 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 14 | +@prefix p2: <http://example.org/file2#> . | ||
| 15 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 16 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 17 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
| 18 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
| 19 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
| 20 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 21 | + | ||
| 22 | +<http://www.reportinghub.no/ep/schema/ddr#EquipmentCodeNPD> | ||
| 23 | + spin:rule | ||
| 24 | + [ rdf:type sp:Construct ; | ||
| 25 | + sp:templates ([ sp:object ep-drill-eqt-type:DrillingEquipmentType ; | ||
| 26 | + sp:predicate rdf:type ; | ||
| 27 | + sp:subject _:b1 | ||
| 28 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ; | ||
| 29 | + sp:predicate rdfs:subClassOf ; | ||
| 30 | + sp:subject _:b1 | ||
| 31 | + ] [ sp:object _:b2 ; | ||
| 32 | + sp:predicate rdfs:label ; | ||
| 33 | + sp:subject _:b1 | ||
| 34 | + ] [ sp:object _:b3 ; | ||
| 35 | + sp:predicate dc:description ; | ||
| 36 | + sp:subject _:b1 | ||
| 37 | + ]) ; | ||
| 38 | + sp:where ([ sp:object _:b2 ; | ||
| 39 | + sp:predicate rdfs:label ; | ||
| 40 | + sp:subject spin:_this | ||
| 41 | + ] [ sp:object _:b3 ; | ||
| 42 | + sp:predicate dc:description ; | ||
| 43 | + sp:subject spin:_this | ||
| 44 | + ] [ rdf:type sp:Bind ; | ||
| 45 | + sp:expression | ||
| 46 | + [ rdf:type ep-spin-lib:buildEquipmentTypeURI ; | ||
| 47 | + sp:arg1 _:b2 | ||
| 48 | + ] ; | ||
| 49 | + sp:variable _:b1 | ||
| 50 | + ]) | ||
| 51 | + ] . | ||
| 52 | + | ||
| 53 | +<http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)> | ||
| 54 | + rdf:type owl:Ontology ; | ||
| 55 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/drilling-equipment-type> ; | ||
| 56 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 57 | + | ||
| 58 | +_:b1 sp:varName "equipmentType"^^xsd:string . | ||
| 59 | + | ||
| 60 | +_:b2 sp:varName "label"^^xsd:string . | ||
| 61 | + | ||
| 62 | +_:b3 sp:varName "description"^^xsd:string . |
| 1 | +# Saved by TopBraid on Sun Aug 14 20:44:58 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 | + <http://spinrdf.org/spin#topSPINOptions> | ||
| 17 | + "singlePass" ; | ||
| 18 | + composite:index "0"^^xsd:int | ||
| 19 | + ] . |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
| 1 | -# Saved by TopBraid on Sat Aug 13 16:08:32 BST 2011 | 1 | +# Saved by TopBraid on Sun Aug 14 20:00:53 BST 2011 |
| 2 | # baseURI: null | 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#> . | ... | ... |
-
Please register or login to post a comment