David Leal

Added drilling equipment types for equipment failure reporting

# Saved by TopBraid on Sun Aug 14 20:44:58 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/drilling-equipment-type
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix ep-drill-eqt-type: <http://www.reportinghub.no/ep/schema/drilling-equipment-type#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix p2: <http://example.org/file2#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/ddr#EquipmentCodeNPD>
spin:rule
[ rdf:type sp:Construct ;
sp:templates ([ sp:object ep-drill-eqt-type:DrillingEquipmentType ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#Equipment> ;
sp:predicate rdfs:subClassOf ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate rdfs:label ;
sp:subject _:b1
] [ sp:object _:b3 ;
sp:predicate dc:description ;
sp:subject _:b1
]) ;
sp:where ([ sp:object _:b2 ;
sp:predicate rdfs:label ;
sp:subject spin:_this
] [ sp:object _:b3 ;
sp:predicate dc:description ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildEquipmentTypeURI ;
sp:arg1 _:b2
] ;
sp:variable _:b1
])
] .
<http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)>
rdf:type owl:Ontology ;
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> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b1 sp:varName "equipmentType"^^xsd:string .
_:b2 sp:varName "label"^^xsd:string .
_:b3 sp:varName "description"^^xsd:string .
# Saved by TopBraid on Sun Aug 14 20:44:58 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
@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 visual: <http://topbraid.org/visual#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[] rdf:type inference:Configuration ;
composite:child
[ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
<http://spinrdf.org/spin#topSPINOptions>
"singlePass" ;
composite:index "0"^^xsd:int
] .
# Saved by TopBraid on Sat Aug 13 16:08:32 BST 2011
# Saved by TopBraid on Sun Aug 14 20:00:53 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......