David Leal

Fixed bug in selectDrillingEquipmentType function

1 -# Saved by TopBraid on Sun Oct 02 17:49:40 BST 2011 1 +# Saved by TopBraid on Tue Oct 04 15:54:50 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib 2 # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib
3 # imports: http://www.reportinghub.no/ep/schema/1.0/report 3 # imports: http://www.reportinghub.no/ep/schema/1.0/report
4 # imports: http://www.witsml.org/schemas/1series 4 # imports: http://www.witsml.org/schemas/1series
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
29 29
30 <http://www.reportinghub.no/ep/spin/1.1/lib> 30 <http://www.reportinghub.no/ep/spin/1.1/lib>
31 rdf:type owl:Ontology ; 31 rdf:type owl:Ontology ;
32 - owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ; 32 + owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
33 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 33 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
34 34
35 ep-spin-lib:Function 35 ep-spin-lib:Function
...@@ -504,12 +504,12 @@ ep-spin-lib:buildURI ...@@ -504,12 +504,12 @@ ep-spin-lib:buildURI
504 ] ; 504 ] ;
505 spin:constraint 505 spin:constraint
506 [ rdf:type spl:Argument ; 506 [ rdf:type spl:Argument ;
507 - spl:predicate sp:arg2 ; 507 + spl:predicate sp:arg1 ;
508 spl:valueType xsd:string 508 spl:valueType xsd:string
509 ] ; 509 ] ;
510 spin:constraint 510 spin:constraint
511 [ rdf:type spl:Argument ; 511 [ rdf:type spl:Argument ;
512 - spl:predicate sp:arg1 ; 512 + spl:predicate sp:arg2 ;
513 spl:valueType xsd:string 513 spl:valueType xsd:string
514 ] . 514 ] .
515 515
...@@ -1972,6 +1972,174 @@ ep-spin-lib:selectDrillingEquipmentType ...@@ -1972,6 +1972,174 @@ ep-spin-lib:selectDrillingEquipmentType
1972 sp:arg2 ddr:ECNPD_wellcontrolequsyst--shallowgasstack 1972 sp:arg2 ddr:ECNPD_wellcontrolequsyst--shallowgasstack
1973 ] ; 1973 ] ;
1974 sp:arg2 ep-drill-eqt-typ:Wellcontrolequsyst--shallowgasstack ; 1974 sp:arg2 ep-drill-eqt-typ:Wellcontrolequsyst--shallowgasstack ;
1975 + sp:arg3 [ rdf:type sp:if ;
1976 + sp:arg1 [ rdf:type sp:eq ;
1977 + sp:arg1 spin:_arg1 ;
1978 + sp:arg2 ddr:ECNPD_drillfloor--drawworks
1979 + ] ;
1980 + sp:arg2 ep-drill-eqt-typ:Drillfloor--drawworks ;
1981 + sp:arg3 [ rdf:type sp:if ;
1982 + sp:arg1 [ rdf:type sp:eq ;
1983 + sp:arg1 spin:_arg1 ;
1984 + sp:arg2 ddr:ECNPD_drillfloor--drillingcontrol
1985 + ] ;
1986 + sp:arg2 ep-drill-eqt-typ:Drillfloor--drillingcontrol ;
1987 + sp:arg3 [ rdf:type sp:if ;
1988 + sp:arg1 [ rdf:type sp:eq ;
1989 + sp:arg1 spin:_arg1 ;
1990 + sp:arg2 ddr:ECNPD_drillfloor--hpairsyst
1991 + ] ;
1992 + sp:arg2 ep-drill-eqt-typ:Drillfloor--hpairsyst ;
1993 + sp:arg3 [ rdf:type sp:if ;
1994 + sp:arg1 [ rdf:type sp:eq ;
1995 + sp:arg1 spin:_arg1 ;
1996 + sp:arg2 ddr:ECNPD_drillfloor--other
1997 + ] ;
1998 + sp:arg2 ep-drill-eqt-typ:Drillfloor--other ;
1999 + sp:arg3 [ rdf:type sp:if ;
2000 + sp:arg1 [ rdf:type sp:eq ;
2001 + sp:arg1 spin:_arg1 ;
2002 + sp:arg2 ddr:ECNPD_drillfloor--rotarytable
2003 + ] ;
2004 + sp:arg2 ep-drill-eqt-typ:Drillfloor--rotarytable ;
2005 + sp:arg3 [ rdf:type sp:if ;
2006 + sp:arg1 [ rdf:type sp:eq ;
2007 + sp:arg1 spin:_arg1 ;
2008 + sp:arg2 ddr:ECNPD_drillfloor--tensioningsyst
2009 + ] ;
2010 + sp:arg2 ep-drill-eqt-typ:Drillfloor--tensioningsyst ;
2011 + sp:arg3 [ rdf:type sp:if ;
2012 + sp:arg1 [ rdf:type sp:eq ;
2013 + sp:arg1 spin:_arg1 ;
2014 + sp:arg2 ddr:ECNPD_drillfloor--wirelines
2015 + ] ;
2016 + sp:arg2 ep-drill-eqt-typ:Drillfloor--wirelines ;
2017 + sp:arg3 [ rdf:type sp:if ;
2018 + sp:arg1 [ rdf:type sp:eq ;
2019 + sp:arg1 spin:_arg1 ;
2020 + sp:arg2 ddr:ECNPD_drillstringdownhole--downholedrillingtools
2021 + ] ;
2022 + sp:arg2 ep-drill-eqt-typ:Drillstringdownhole--downholedrillingtools ;
2023 + sp:arg3 [ rdf:type sp:if ;
2024 + sp:arg1 [ rdf:type sp:eq ;
2025 + sp:arg1 spin:_arg1 ;
2026 + sp:arg2 ddr:ECNPD_drillstringdownhole--drillcollars
2027 + ] ;
2028 + sp:arg2 ep-drill-eqt-typ:Drillstringdownhole--drillcollars ;
2029 + sp:arg3 [ rdf:type sp:if ;
2030 + sp:arg1 [ rdf:type sp:eq ;
2031 + sp:arg1 spin:_arg1 ;
2032 + sp:arg2 ddr:ECNPD_drillstringdownhole--drillpipes
2033 + ] ;
2034 + sp:arg2 ep-drill-eqt-typ:Drillstringdownhole--drillpipes ;
2035 + sp:arg3 [ rdf:type sp:if ;
2036 + sp:arg1 [ rdf:type sp:eq ;
2037 + sp:arg1 spin:_arg1 ;
2038 + sp:arg2 ddr:ECNPD_drillstringdownhole--fishingtools
2039 + ] ;
2040 + sp:arg2 ep-drill-eqt-typ:Drillstringdownhole--fishingtools ;
2041 + sp:arg3 [ rdf:type sp:if ;
2042 + sp:arg1 [ rdf:type sp:eq ;
2043 + sp:arg1 spin:_arg1 ;
2044 + sp:arg2 ddr:ECNPD_drillstringdownhole--miscdrillstringequ
2045 + ] ;
2046 + sp:arg2 ep-drill-eqt-typ:Drillstringdownhole--miscdrillstringequ ;
2047 + sp:arg3 [ rdf:type sp:if ;
2048 + sp:arg1 [ rdf:type sp:eq ;
2049 + sp:arg1 spin:_arg1 ;
2050 + sp:arg2 ddr:ECNPD_drillstringdownhole--other
2051 + ] ;
2052 + sp:arg2 ep-drill-eqt-typ:Drillstringdownhole--other ;
2053 + sp:arg3 [ rdf:type sp:if ;
2054 + sp:arg1 [ rdf:type sp:eq ;
2055 + sp:arg1 spin:_arg1 ;
2056 + sp:arg2 ddr:ECNPD_drillstringdownhole--stabilizer
2057 + ] ;
2058 + sp:arg2 ep-drill-eqt-typ:Drillstringdownhole--stabilizer ;
2059 + sp:arg3 [ rdf:type sp:if ;
2060 + sp:arg1 [ rdf:type sp:eq ;
2061 + sp:arg1 spin:_arg1 ;
2062 + sp:arg2 ddr:ECNPD_drillstringdownhole--subsandliftplugs
2063 + ] ;
2064 + sp:arg2 ep-drill-eqt-typ:Drillstringdownhole--subsandliftplugs ;
2065 + sp:arg3 [ rdf:type sp:if ;
2066 + sp:arg1 [ rdf:type sp:eq ;
2067 + sp:arg1 spin:_arg1 ;
2068 + sp:arg2 ddr:ECNPD_hoistingequ--crownblock
2069 + ] ;
2070 + sp:arg2 ep-drill-eqt-typ:Hoistingequ--crownblock ;
2071 + sp:arg3 [ rdf:type sp:if ;
2072 + sp:arg1 [ rdf:type sp:eq ;
2073 + sp:arg1 spin:_arg1 ;
2074 + sp:arg2 ddr:ECNPD_hoistingequ--derrickstructure
2075 + ] ;
2076 + sp:arg2 ep-drill-eqt-typ:Hoistingequ--derrickstructure ;
2077 + sp:arg3 [ rdf:type sp:if ;
2078 + sp:arg1 [ rdf:type sp:eq ;
2079 + sp:arg1 spin:_arg1 ;
2080 + sp:arg2 ddr:ECNPD_hoistingequ--heavecompensator
2081 + ] ;
2082 + sp:arg2 ep-drill-eqt-typ:Hoistingequ--heavecompensator ;
2083 + sp:arg3 [ rdf:type sp:if ;
2084 + sp:arg1 [ rdf:type sp:eq ;
2085 + sp:arg1 spin:_arg1 ;
2086 + sp:arg2 ddr:ECNPD_hoistingequ--other
2087 + ] ;
2088 + sp:arg2 ep-drill-eqt-typ:Hoistingequ--other ;
2089 + sp:arg3 [ rdf:type sp:if ;
2090 + sp:arg1 [ rdf:type sp:eq ;
2091 + sp:arg1 spin:_arg1 ;
2092 + sp:arg2 ddr:ECNPD_hoistingequ--topdrive
2093 + ] ;
2094 + sp:arg2 ep-drill-eqt-typ:Hoistingequ--topdrive ;
2095 + sp:arg3 [ rdf:type sp:if ;
2096 + sp:arg1 [ rdf:type sp:eq ;
2097 + sp:arg1 spin:_arg1 ;
2098 + sp:arg2 ddr:ECNPD_hoistingequ--travellingblock
2099 + ] ;
2100 + sp:arg2 ep-drill-eqt-typ:Hoistingequ--travellingblock ;
2101 + sp:arg3 [ rdf:type sp:if ;
2102 + sp:arg1 [ rdf:type sp:eq ;
2103 + sp:arg1 spin:_arg1 ;
2104 + sp:arg2 ddr:ECNPD_materialhandlingsyst--anchorsyst
2105 + ] ;
2106 + sp:arg2 ep-drill-eqt-typ:Materialhandlingsyst--anchorsyst ;
2107 + sp:arg3 [ rdf:type sp:if ;
2108 + sp:arg1 [ rdf:type sp:eq ;
2109 + sp:arg1 spin:_arg1 ;
2110 + sp:arg2 ddr:ECNPD_materialhandlingsyst--boptransportsyst
2111 + ] ;
2112 + sp:arg2 ep-drill-eqt-typ:Materialhandlingsyst--boptransportsyst ;
2113 + sp:arg3 [ rdf:type sp:if ;
2114 + sp:arg1 [ rdf:type sp:eq ;
2115 + sp:arg1 spin:_arg1 ;
2116 + sp:arg2 ddr:ECNPD_materialhandlingsyst--deckcranes
2117 + ] ;
2118 + sp:arg2 ep-drill-eqt-typ:Materialhandlingsyst--deckcranes ;
2119 + sp:arg3 [ rdf:type sp:if ;
2120 + sp:arg1 [ rdf:type sp:eq ;
2121 + sp:arg1 spin:_arg1 ;
2122 + sp:arg2 ddr:ECNPD_materialhandlingsyst--monorailsyst
2123 + ] ;
2124 + sp:arg2 ep-drill-eqt-typ:Materialhandlingsyst--monorailsyst ;
2125 + sp:arg3 [ rdf:type sp:if ;
2126 + sp:arg1 [ rdf:type sp:eq ;
2127 + sp:arg1 spin:_arg1 ;
2128 + sp:arg2 ddr:ECNPD_materialhandlingsyst--other
2129 + ] ;
2130 + sp:arg2 ep-drill-eqt-typ:Materialhandlingsyst--other ;
2131 + sp:arg3 [ rdf:type sp:if ;
2132 + sp:arg1 [ rdf:type sp:eq ;
2133 + sp:arg1 spin:_arg1 ;
2134 + sp:arg2 ddr:ECNPD_materialhandlingsyst--overheadcranes
2135 + ] ;
2136 + sp:arg2 ep-drill-eqt-typ:Materialhandlingsyst--overheadcranes ;
2137 + sp:arg3 [ rdf:type sp:if ;
2138 + sp:arg1 [ rdf:type sp:eq ;
2139 + sp:arg1 spin:_arg1 ;
2140 + sp:arg2 ddr:ECNPD_materialhandlingsyst--utilitywinchs
2141 + ] ;
2142 + sp:arg2 ep-drill-eqt-typ:Materialhandlingsyst--utilitywinchs ;
1975 sp:arg3 <http://www.reportinghub.no/ep/schema/equipment#Equipment> 2143 sp:arg3 <http://www.reportinghub.no/ep/schema/equipment#Equipment>
1976 ] 2144 ]
1977 ] 2145 ]
...@@ -2003,6 +2171,34 @@ ep-spin-lib:selectDrillingEquipmentType ...@@ -2003,6 +2171,34 @@ ep-spin-lib:selectDrillingEquipmentType
2003 ] 2171 ]
2004 ] 2172 ]
2005 ] 2173 ]
2174 + ]
2175 + ]
2176 + ]
2177 + ]
2178 + ]
2179 + ]
2180 + ]
2181 + ]
2182 + ]
2183 + ]
2184 + ]
2185 + ]
2186 + ]
2187 + ]
2188 + ]
2189 + ]
2190 + ]
2191 + ]
2192 + ]
2193 + ]
2194 + ]
2195 + ]
2196 + ]
2197 + ]
2198 + ]
2199 + ]
2200 + ]
2201 + ]
2006 ] ; 2202 ] ;
2007 sp:variable _:b52 2203 sp:variable _:b52
2008 ]) 2204 ])
...@@ -3378,8 +3574,8 @@ ddr:TTUC_Enumeration_1 ...@@ -3378,8 +3574,8 @@ ddr:TTUC_Enumeration_1
3378 rdfs:label "Enumeration"^^xsd:string ; 3574 rdfs:label "Enumeration"^^xsd:string ;
3379 dtype:value ddr:TTUC_degC . 3575 dtype:value ddr:TTUC_degC .
3380 3576
3381 -_:b83 3577 +_:b52
3382 - sp:varName "wellCementJobTopPlugType"^^xsd:string . 3578 + sp:varName "drillingEquipmentType"^^xsd:string .
3383 3579
3384 _:b89 3580 _:b89
3385 sp:varName "yieldPointScale"^^xsd:string . 3581 sp:varName "yieldPointScale"^^xsd:string .
...@@ -3399,6 +3595,9 @@ _:b85 ...@@ -3399,6 +3595,9 @@ _:b85
3399 _:b84 3595 _:b84
3400 sp:varName "wellCementJobType"^^xsd:string . 3596 sp:varName "wellCementJobType"^^xsd:string .
3401 3597
3598 +_:b83
3599 + sp:varName "wellCementJobTopPlugType"^^xsd:string .
3600 +
3402 _:b82 3601 _:b82
3403 sp:varName "wellCementJobPlugBumpingType"^^xsd:string . 3602 sp:varName "wellCementJobPlugBumpingType"^^xsd:string .
3404 3603
...@@ -3489,9 +3688,6 @@ _:b54 ...@@ -3489,9 +3688,6 @@ _:b54
3489 _:b53 3688 _:b53
3490 sp:varName "fixedOrMoveableRigType"^^xsd:string . 3689 sp:varName "fixedOrMoveableRigType"^^xsd:string .
3491 3690
3492 -_:b52
3493 - sp:varName "drillingEquipmentType"^^xsd:string .
3494 -
3495 _:b51 3691 _:b51
3496 sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string . 3692 sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
3497 3693
......
1 -# Saved by TopBraid on Sun Oct 02 17:49:40 BST 2011 1 +# Saved by TopBraid on Tue Oct 04 15:54:51 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#> .
......