Showing
3 changed files
with
578 additions
and
427 deletions
| ... | @@ -6,6 +6,7 @@ | ... | @@ -6,6 +6,7 @@ |
| 6 | 6 | ||
| 7 | @prefix arg: <http://spinrdf.org/arg#> . | 7 | @prefix arg: <http://spinrdf.org/arg#> . |
| 8 | @prefix ddr-tables: <http://www.reportinghub.no/ep/spin/ddr-tables#> . | 8 | @prefix ddr-tables: <http://www.reportinghub.no/ep/spin/ddr-tables#> . |
| 9 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
| 9 | @prefix fn: <http://www.w3.org/2005/xpath-functions#> . | 10 | @prefix fn: <http://www.w3.org/2005/xpath-functions#> . |
| 10 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 11 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 11 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 12 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| ... | @@ -21,7 +22,7 @@ | ... | @@ -21,7 +22,7 @@ |
| 21 | <http://www.reportinghub.no/ep/spin/ddr-tables> | 22 | <http://www.reportinghub.no/ep/spin/ddr-tables> |
| 22 | rdf:type owl:Ontology ; | 23 | rdf:type owl:Ontology ; |
| 23 | rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ; | 24 | rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ; |
| 24 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/spin/rh> ; | 25 | + owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> ; |
| 25 | owl:versionInfo "0.1.0"^^xsd:string . | 26 | owl:versionInfo "0.1.0"^^xsd:string . |
| 26 | 27 | ||
| 27 | ddr-tables:BitRecord | 28 | ddr-tables:BitRecord |
| ... | @@ -438,11 +439,9 @@ ddr-tables:CasingLinerTubingInformation | ... | @@ -438,11 +439,9 @@ ddr-tables:CasingLinerTubingInformation |
| 438 | ] | 439 | ] |
| 439 | ] [ rdf:type sp:Bind ; | 440 | ] [ rdf:type sp:Bind ; |
| 440 | sp:expression | 441 | sp:expression |
| 441 | - [ rdf:type spif:dateFormat ; | 442 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 442 | - arg:date | 443 | + sp:arg1 [ sp:varName "startedAt"^^xsd:string |
| 443 | - [ sp:varName "startedAt"^^xsd:string | 444 | + ] |
| 444 | - ] ; | ||
| 445 | - arg:pattern "HH:mm" | ||
| 446 | ] ; | 445 | ] ; |
| 447 | sp:variable | 446 | sp:variable |
| 448 | [ sp:varName "startTime"^^xsd:string | 447 | [ sp:varName "startTime"^^xsd:string |
| ... | @@ -458,11 +457,9 @@ ddr-tables:CasingLinerTubingInformation | ... | @@ -458,11 +457,9 @@ ddr-tables:CasingLinerTubingInformation |
| 458 | ] | 457 | ] |
| 459 | ] [ rdf:type sp:Bind ; | 458 | ] [ rdf:type sp:Bind ; |
| 460 | sp:expression | 459 | sp:expression |
| 461 | - [ rdf:type spif:dateFormat ; | 460 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 462 | - arg:date | 461 | + sp:arg1 [ sp:varName "finishedAt"^^xsd:string |
| 463 | - [ sp:varName "finishedAt"^^xsd:string | 462 | + ] |
| 464 | - ] ; | ||
| 465 | - arg:pattern "HH:mm" | ||
| 466 | ] ; | 463 | ] ; |
| 467 | sp:variable | 464 | sp:variable |
| 468 | [ sp:varName "endTime"^^xsd:string | 465 | [ sp:varName "endTime"^^xsd:string |
| ... | @@ -804,11 +801,9 @@ ddr-tables:CementFluidInformation | ... | @@ -804,11 +801,9 @@ ddr-tables:CementFluidInformation |
| 804 | ] | 801 | ] |
| 805 | ] [ rdf:type sp:Bind ; | 802 | ] [ rdf:type sp:Bind ; |
| 806 | sp:expression | 803 | sp:expression |
| 807 | - [ rdf:type spif:dateFormat ; | 804 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 808 | - arg:date | 805 | + sp:arg1 [ sp:varName "startedAt"^^xsd:string |
| 809 | - [ sp:varName "startedAt"^^xsd:string | 806 | + ] |
| 810 | - ] ; | ||
| 811 | - arg:pattern "HH:mm" | ||
| 812 | ] ; | 807 | ] ; |
| 813 | sp:variable | 808 | sp:variable |
| 814 | [ sp:varName "startTime"^^xsd:string | 809 | [ sp:varName "startTime"^^xsd:string |
| ... | @@ -1093,11 +1088,9 @@ ddr-tables:CementInformation | ... | @@ -1093,11 +1088,9 @@ ddr-tables:CementInformation |
| 1093 | ] | 1088 | ] |
| 1094 | ] [ rdf:type sp:Bind ; | 1089 | ] [ rdf:type sp:Bind ; |
| 1095 | sp:expression | 1090 | sp:expression |
| 1096 | - [ rdf:type spif:dateFormat ; | 1091 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 1097 | - arg:date | 1092 | + sp:arg1 [ sp:varName "startedAt"^^xsd:string |
| 1098 | - [ sp:varName "startedAt"^^xsd:string | 1093 | + ] |
| 1099 | - ] ; | ||
| 1100 | - arg:pattern "HH:mm" | ||
| 1101 | ] ; | 1094 | ] ; |
| 1102 | sp:variable | 1095 | sp:variable |
| 1103 | [ sp:varName "startTime"^^xsd:string | 1096 | [ sp:varName "startTime"^^xsd:string |
| ... | @@ -1120,11 +1113,9 @@ ddr-tables:CementInformation | ... | @@ -1120,11 +1113,9 @@ ddr-tables:CementInformation |
| 1120 | ] | 1113 | ] |
| 1121 | ] [ rdf:type sp:Bind ; | 1114 | ] [ rdf:type sp:Bind ; |
| 1122 | sp:expression | 1115 | sp:expression |
| 1123 | - [ rdf:type spif:dateFormat ; | 1116 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 1124 | - arg:date | 1117 | + sp:arg1 [ sp:varName "finishedAt"^^xsd:string |
| 1125 | - [ sp:varName "finishedAt"^^xsd:string | 1118 | + ] |
| 1126 | - ] ; | ||
| 1127 | - arg:pattern "HH:mm" | ||
| 1128 | ] ; | 1119 | ] ; |
| 1129 | sp:variable | 1120 | sp:variable |
| 1130 | [ sp:varName "endTime"^^xsd:string | 1121 | [ sp:varName "endTime"^^xsd:string |
| ... | @@ -1152,11 +1143,9 @@ ddr-tables:CementInformation | ... | @@ -1152,11 +1143,9 @@ ddr-tables:CementInformation |
| 1152 | ] | 1143 | ] |
| 1153 | ] [ rdf:type sp:Bind ; | 1144 | ] [ rdf:type sp:Bind ; |
| 1154 | sp:expression | 1145 | sp:expression |
| 1155 | - [ rdf:type spif:dateFormat ; | 1146 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 1156 | - arg:date | 1147 | + sp:arg1 [ sp:varName "nominallyAt"^^xsd:string |
| 1157 | - [ sp:varName "nominallyAt"^^xsd:string | 1148 | + ] |
| 1158 | - ] ; | ||
| 1159 | - arg:pattern "yyyy-MM-dd HH:mm" | ||
| 1160 | ] ; | 1149 | ] ; |
| 1161 | sp:variable | 1150 | sp:variable |
| 1162 | [ sp:varName "pressureReleaseTime"^^xsd:string | 1151 | [ sp:varName "pressureReleaseTime"^^xsd:string |
| ... | @@ -1683,12 +1672,21 @@ ddr-tables:DrillingFluidInformation | ... | @@ -1683,12 +1672,21 @@ ddr-tables:DrillingFluidInformation |
| 1683 | ] | 1672 | ] |
| 1684 | ] [ rdf:type sp:Optional ; | 1673 | ] [ rdf:type sp:Optional ; |
| 1685 | sp:elements ([ sp:object | 1674 | sp:elements ([ sp:object |
| 1686 | - [ sp:varName "sampleTime"^^xsd:string | 1675 | + [ sp:varName "nominallyAt"^^xsd:string |
| 1687 | ] ; | 1676 | ] ; |
| 1688 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; | 1677 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; |
| 1689 | sp:subject | 1678 | sp:subject |
| 1690 | [ sp:varName "fr"^^xsd:string | 1679 | [ sp:varName "fr"^^xsd:string |
| 1691 | ] | 1680 | ] |
| 1681 | + ] [ rdf:type sp:Bind ; | ||
| 1682 | + sp:expression | ||
| 1683 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; | ||
| 1684 | + sp:arg1 [ sp:varName "nominallyAt"^^xsd:string | ||
| 1685 | + ] | ||
| 1686 | + ] ; | ||
| 1687 | + sp:variable | ||
| 1688 | + [ sp:varName "sampleTime"^^xsd:string | ||
| 1689 | + ] | ||
| 1692 | ]) | 1690 | ]) |
| 1693 | ] [ rdf:type sp:Optional ; | 1691 | ] [ rdf:type sp:Optional ; |
| 1694 | sp:elements ([ sp:object | 1692 | sp:elements ([ sp:object |
| ... | @@ -1827,94 +1825,176 @@ ddr-tables:EquipmentFailure | ... | @@ -1827,94 +1825,176 @@ ddr-tables:EquipmentFailure |
| 1827 | rdfs:subClassOf rhspin:DDRTableTemplates ; | 1825 | rdfs:subClassOf rhspin:DDRTableTemplates ; |
| 1828 | spin:body | 1826 | spin:body |
| 1829 | [ rdf:type sp:Select ; | 1827 | [ rdf:type sp:Select ; |
| 1830 | - sp:orderBy (_:b1) ; | 1828 | + sp:orderBy ([ sp:varName "startTime"^^xsd:string |
| 1831 | - sp:resultVariables (_:b1 _:b2 _:b3 _:b4 _:b5 _:b6 _:b7) ; | 1829 | + ]) ; |
| 1832 | - sp:where ([ sp:object _:b8 ; | 1830 | + sp:resultVariables ([ sp:varName "startTime"^^xsd:string |
| 1831 | + ] [ sp:varName "depthMD"^^xsd:string | ||
| 1832 | + ] [ sp:varName "depthTVD"^^xsd:string | ||
| 1833 | + ] [ sp:varName "equipmentType"^^xsd:string | ||
| 1834 | + ] [ sp:varName "downtime"^^xsd:string | ||
| 1835 | + ] [ sp:varName "repairedTime"^^xsd:string | ||
| 1836 | + ] [ sp:varName "failureDescription"^^xsd:string | ||
| 1837 | + ]) ; | ||
| 1838 | + sp:where ([ sp:object | ||
| 1839 | + [ sp:varName "reportOn"^^xsd:string | ||
| 1840 | + ] ; | ||
| 1833 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 1841 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
| 1834 | sp:subject | 1842 | sp:subject |
| 1835 | [ sp:varName "report"^^xsd:string | 1843 | [ sp:varName "report"^^xsd:string |
| 1836 | ] | 1844 | ] |
| 1837 | - ] [ sp:object _:b9 ; | 1845 | + ] [ sp:object |
| 1846 | + [ sp:varName "part"^^xsd:string | ||
| 1847 | + ] ; | ||
| 1838 | sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | 1848 | sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; |
| 1839 | - sp:subject _:b8 | 1849 | + sp:subject |
| 1850 | + [ sp:varName "reportOn"^^xsd:string | ||
| 1851 | + ] | ||
| 1840 | ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#EquipmentFailureAndRepair> ; | 1852 | ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#EquipmentFailureAndRepair> ; |
| 1841 | sp:predicate rdf:type ; | 1853 | sp:predicate rdf:type ; |
| 1842 | - sp:subject _:b9 | 1854 | + sp:subject |
| 1855 | + [ sp:varName "part"^^xsd:string | ||
| 1856 | + ] | ||
| 1843 | ] [ rdf:type sp:Optional ; | 1857 | ] [ rdf:type sp:Optional ; |
| 1844 | - sp:elements ([ sp:object _:b10 ; | 1858 | + sp:elements ([ sp:object |
| 1859 | + [ sp:varName "mpt"^^xsd:string | ||
| 1860 | + ] ; | ||
| 1845 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#missedProductionTime> ; | 1861 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#missedProductionTime> ; |
| 1846 | - sp:subject _:b9 | 1862 | + sp:subject |
| 1847 | - ] [ sp:object _:b5 ; | 1863 | + [ sp:varName "part"^^xsd:string |
| 1864 | + ] | ||
| 1865 | + ] [ sp:object | ||
| 1866 | + [ sp:varName "downtime"^^xsd:string | ||
| 1867 | + ] ; | ||
| 1848 | sp:predicate <http://www.reportinghub.no/ep/schema/core#minute> ; | 1868 | sp:predicate <http://www.reportinghub.no/ep/schema/core#minute> ; |
| 1849 | - sp:subject _:b10 | 1869 | + sp:subject |
| 1870 | + [ sp:varName "mpt"^^xsd:string | ||
| 1871 | + ] | ||
| 1850 | ]) | 1872 | ]) |
| 1851 | ] [ rdf:type sp:Optional ; | 1873 | ] [ rdf:type sp:Optional ; |
| 1852 | - sp:elements ([ sp:object _:b11 ; | 1874 | + sp:elements ([ sp:object |
| 1875 | + [ sp:varName "temporalPartOfEquipment"^^xsd:string | ||
| 1876 | + ] ; | ||
| 1853 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#failedEquipment> ; | 1877 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#failedEquipment> ; |
| 1854 | - sp:subject _:b9 | 1878 | + sp:subject |
| 1855 | - ] [ sp:object _:b12 ; | 1879 | + [ sp:varName "part"^^xsd:string |
| 1880 | + ] | ||
| 1881 | + ] [ sp:object | ||
| 1882 | + [ sp:varName "equipment"^^xsd:string | ||
| 1883 | + ] ; | ||
| 1856 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1884 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 1857 | - sp:subject _:b11 | 1885 | + sp:subject |
| 1858 | - ] [ sp:object _:b13 ; | 1886 | + [ sp:varName "temporalPartOfEquipment"^^xsd:string |
| 1887 | + ] | ||
| 1888 | + ] [ sp:object | ||
| 1889 | + [ sp:varName "classOfEquipment"^^xsd:string | ||
| 1890 | + ] ; | ||
| 1859 | sp:predicate rdf:type ; | 1891 | sp:predicate rdf:type ; |
| 1860 | - sp:subject _:b12 | 1892 | + sp:subject |
| 1893 | + [ sp:varName "equipment"^^xsd:string | ||
| 1894 | + ] | ||
| 1861 | ] [ sp:object <http://www.reportinghub.no/ep/schema/drilling-equipment-type#DrillingEquipmentType> ; | 1895 | ] [ sp:object <http://www.reportinghub.no/ep/schema/drilling-equipment-type#DrillingEquipmentType> ; |
| 1862 | sp:predicate rdf:type ; | 1896 | sp:predicate rdf:type ; |
| 1863 | - sp:subject _:b13 | 1897 | + sp:subject |
| 1864 | - ] [ sp:object _:b4 ; | 1898 | + [ sp:varName "classOfEquipment"^^xsd:string |
| 1899 | + ] | ||
| 1900 | + ] [ sp:object | ||
| 1901 | + [ sp:varName "equipmentType"^^xsd:string | ||
| 1902 | + ] ; | ||
| 1865 | sp:predicate rdfs:label ; | 1903 | sp:predicate rdfs:label ; |
| 1866 | - sp:subject _:b13 | 1904 | + sp:subject |
| 1905 | + [ sp:varName "classOfEquipment"^^xsd:string | ||
| 1906 | + ] | ||
| 1867 | ]) | 1907 | ]) |
| 1868 | ] [ rdf:type sp:Optional ; | 1908 | ] [ rdf:type sp:Optional ; |
| 1869 | - sp:elements ([ sp:object _:b14 ; | 1909 | + sp:elements ([ sp:object |
| 1910 | + [ sp:varName "timeOfFailure"^^xsd:string | ||
| 1911 | + ] ; | ||
| 1870 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeOfFailure> ; | 1912 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeOfFailure> ; |
| 1871 | - sp:subject _:b9 | 1913 | + sp:subject |
| 1914 | + [ sp:varName "part"^^xsd:string | ||
| 1915 | + ] | ||
| 1872 | ] [ rdf:type sp:Bind ; | 1916 | ] [ rdf:type sp:Bind ; |
| 1873 | sp:expression | 1917 | sp:expression |
| 1874 | - [ rdf:type spif:dateFormat ; | 1918 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 1875 | - arg:date _:b14 ; | 1919 | + sp:arg1 [ sp:varName "timeOfFailure"^^xsd:string |
| 1876 | - arg:pattern "yyyy-MM-dd HH:mm" | 1920 | + ] |
| 1877 | ] ; | 1921 | ] ; |
| 1878 | - sp:variable _:b1 | 1922 | + sp:variable |
| 1923 | + [ sp:varName "startTime"^^xsd:string | ||
| 1924 | + ] | ||
| 1879 | ]) | 1925 | ]) |
| 1880 | ] [ rdf:type sp:Optional ; | 1926 | ] [ rdf:type sp:Optional ; |
| 1881 | - sp:elements ([ sp:object _:b15 ; | 1927 | + sp:elements ([ sp:object |
| 1928 | + [ sp:varName "timeOfRepair"^^xsd:string | ||
| 1929 | + ] ; | ||
| 1882 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeOfRepair> ; | 1930 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeOfRepair> ; |
| 1883 | - sp:subject _:b9 | 1931 | + sp:subject |
| 1932 | + [ sp:varName "part"^^xsd:string | ||
| 1933 | + ] | ||
| 1884 | ] [ rdf:type sp:Bind ; | 1934 | ] [ rdf:type sp:Bind ; |
| 1885 | sp:expression | 1935 | sp:expression |
| 1886 | - [ rdf:type spif:dateFormat ; | 1936 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 1887 | - arg:date _:b15 ; | 1937 | + sp:arg1 [ sp:varName "timeOfRepair"^^xsd:string |
| 1888 | - arg:pattern "yyyy-MM-dd HH:mm" | 1938 | + ] |
| 1889 | ] ; | 1939 | ] ; |
| 1890 | - sp:variable _:b6 | 1940 | + sp:variable |
| 1941 | + [ sp:varName "repairedTime"^^xsd:string | ||
| 1942 | + ] | ||
| 1891 | ]) | 1943 | ]) |
| 1892 | ] [ rdf:type sp:Optional ; | 1944 | ] [ rdf:type sp:Optional ; |
| 1893 | - sp:elements ([ sp:object _:b16 ; | 1945 | + sp:elements ([ sp:object |
| 1946 | + [ sp:varName "wellbore"^^xsd:string | ||
| 1947 | + ] ; | ||
| 1894 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 1948 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; |
| 1895 | - sp:subject _:b9 | 1949 | + sp:subject |
| 1896 | - ] [ sp:object _:b17 ; | 1950 | + [ sp:varName "part"^^xsd:string |
| 1951 | + ] | ||
| 1952 | + ] [ sp:object | ||
| 1953 | + [ sp:varName "md"^^xsd:string | ||
| 1954 | + ] ; | ||
| 1897 | sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleMeasuredDepth> ; | 1955 | sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleMeasuredDepth> ; |
| 1898 | - sp:subject _:b16 | 1956 | + sp:subject |
| 1899 | - ] [ sp:object _:b2 ; | 1957 | + [ sp:varName "wellbore"^^xsd:string |
| 1958 | + ] | ||
| 1959 | + ] [ sp:object | ||
| 1960 | + [ sp:varName "depthMD"^^xsd:string | ||
| 1961 | + ] ; | ||
| 1900 | sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ; | 1962 | sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ; |
| 1901 | - sp:subject _:b17 | 1963 | + sp:subject |
| 1964 | + [ sp:varName "md"^^xsd:string | ||
| 1965 | + ] | ||
| 1902 | ]) | 1966 | ]) |
| 1903 | ] [ rdf:type sp:Optional ; | 1967 | ] [ rdf:type sp:Optional ; |
| 1904 | - sp:elements ([ sp:object _:b16 ; | 1968 | + sp:elements ([ sp:object |
| 1969 | + [ sp:varName "wellbore"^^xsd:string | ||
| 1970 | + ] ; | ||
| 1905 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 1971 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; |
| 1906 | - sp:subject _:b9 | 1972 | + sp:subject |
| 1907 | - ] [ sp:object _:b18 ; | 1973 | + [ sp:varName "part"^^xsd:string |
| 1974 | + ] | ||
| 1975 | + ] [ sp:object | ||
| 1976 | + [ sp:varName "tvd"^^xsd:string | ||
| 1977 | + ] ; | ||
| 1908 | sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTrueVerticalDepth> ; | 1978 | sp:predicate <http://www.reportinghub.no/ep/schema/well#bottomHoleTrueVerticalDepth> ; |
| 1909 | - sp:subject _:b16 | 1979 | + sp:subject |
| 1910 | - ] [ sp:object _:b3 ; | 1980 | + [ sp:varName "wellbore"^^xsd:string |
| 1981 | + ] | ||
| 1982 | + ] [ sp:object | ||
| 1983 | + [ sp:varName "depthTVD"^^xsd:string | ||
| 1984 | + ] ; | ||
| 1911 | sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ; | 1985 | sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ; |
| 1912 | - sp:subject _:b18 | 1986 | + sp:subject |
| 1987 | + [ sp:varName "tvd"^^xsd:string | ||
| 1988 | + ] | ||
| 1913 | ]) | 1989 | ]) |
| 1914 | ] [ rdf:type sp:Optional ; | 1990 | ] [ rdf:type sp:Optional ; |
| 1915 | - sp:elements ([ sp:object _:b7 ; | 1991 | + sp:elements ([ sp:object |
| 1992 | + [ sp:varName "failureDescription"^^xsd:string | ||
| 1993 | + ] ; | ||
| 1916 | sp:predicate rdfs:comment ; | 1994 | sp:predicate rdfs:comment ; |
| 1917 | - sp:subject _:b9 | 1995 | + sp:subject |
| 1996 | + [ sp:varName "part"^^xsd:string | ||
| 1997 | + ] | ||
| 1918 | ]) | 1998 | ]) |
| 1919 | ]) | 1999 | ]) |
| 1920 | ] ; | 2000 | ] ; |
| ... | @@ -2207,11 +2287,9 @@ ddr-tables:GasReadingInformation | ... | @@ -2207,11 +2287,9 @@ ddr-tables:GasReadingInformation |
| 2207 | ] | 2287 | ] |
| 2208 | ] [ rdf:type sp:Bind ; | 2288 | ] [ rdf:type sp:Bind ; |
| 2209 | sp:expression | 2289 | sp:expression |
| 2210 | - [ rdf:type spif:dateFormat ; | 2290 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 2211 | - arg:date | 2291 | + sp:arg1 [ sp:varName "nominallyAt"^^xsd:string |
| 2212 | - [ sp:varName "nominallyAt"^^xsd:string | 2292 | + ] |
| 2213 | - ] ; | ||
| 2214 | - arg:pattern "HH:mm" | ||
| 2215 | ] ; | 2293 | ] ; |
| 2216 | sp:variable | 2294 | sp:variable |
| 2217 | [ sp:varName "time"^^xsd:string | 2295 | [ sp:varName "time"^^xsd:string |
| ... | @@ -2877,96 +2955,174 @@ ddr-tables:Operations | ... | @@ -2877,96 +2955,174 @@ ddr-tables:Operations |
| 2877 | rdfs:subClassOf rhspin:DDRTableTemplates ; | 2955 | rdfs:subClassOf rhspin:DDRTableTemplates ; |
| 2878 | spin:body | 2956 | spin:body |
| 2879 | [ rdf:type sp:Select ; | 2957 | [ rdf:type sp:Select ; |
| 2880 | - sp:orderBy (_:b19) ; | 2958 | + sp:orderBy ([ sp:varName "startTime"^^xsd:string |
| 2881 | - sp:resultVariables (_:b19 _:b20 _:b21 _:b22 _:b23 _:b24 _:b25 _:b26) ; | 2959 | + ]) ; |
| 2882 | - sp:where ([ sp:object _:b27 ; | 2960 | + sp:resultVariables ([ sp:varName "startTime"^^xsd:string |
| 2961 | + ] [ sp:varName "endTime"^^xsd:string | ||
| 2962 | + ] [ sp:varName "startDepth"^^xsd:string | ||
| 2963 | + ] [ sp:varName "endDepth"^^xsd:string | ||
| 2964 | + ] [ sp:varName "depth"^^xsd:string | ||
| 2965 | + ] [ sp:varName "mainSubActivity"^^xsd:string | ||
| 2966 | + ] [ sp:varName "state"^^xsd:string | ||
| 2967 | + ] [ sp:varName "remark"^^xsd:string | ||
| 2968 | + ]) ; | ||
| 2969 | + sp:where ([ sp:object | ||
| 2970 | + [ sp:varName "reportOn"^^xsd:string | ||
| 2971 | + ] ; | ||
| 2883 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 2972 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
| 2884 | sp:subject | 2973 | sp:subject |
| 2885 | [ sp:varName "report"^^xsd:string | 2974 | [ sp:varName "report"^^xsd:string |
| 2886 | ] | 2975 | ] |
| 2887 | - ] [ sp:object _:b28 ; | 2976 | + ] [ sp:object |
| 2977 | + [ sp:varName "part"^^xsd:string | ||
| 2978 | + ] ; | ||
| 2888 | sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | 2979 | sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; |
| 2889 | - sp:subject _:b27 | 2980 | + sp:subject |
| 2890 | - ] [ sp:object _:b29 ; | 2981 | + [ sp:varName "reportOn"^^xsd:string |
| 2982 | + ] | ||
| 2983 | + ] [ sp:object | ||
| 2984 | + [ sp:varName "startedAt"^^xsd:string | ||
| 2985 | + ] ; | ||
| 2891 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 2986 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
| 2892 | - sp:subject _:b28 | 2987 | + sp:subject |
| 2988 | + [ sp:varName "part"^^xsd:string | ||
| 2989 | + ] | ||
| 2893 | ] [ rdf:type sp:Bind ; | 2990 | ] [ rdf:type sp:Bind ; |
| 2894 | sp:expression | 2991 | sp:expression |
| 2895 | - [ rdf:type spif:dateFormat ; | 2992 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 2896 | - arg:date _:b29 ; | 2993 | + sp:arg1 [ sp:varName "startedAt"^^xsd:string |
| 2897 | - arg:pattern "HH:mm" | 2994 | + ] |
| 2995 | + ] ; | ||
| 2996 | + sp:variable | ||
| 2997 | + [ sp:varName "startTime"^^xsd:string | ||
| 2998 | + ] | ||
| 2999 | + ] [ sp:object | ||
| 3000 | + [ sp:varName "finishedAt"^^xsd:string | ||
| 2898 | ] ; | 3001 | ] ; |
| 2899 | - sp:variable _:b19 | ||
| 2900 | - ] [ sp:object _:b30 ; | ||
| 2901 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; | 3002 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ; |
| 2902 | - sp:subject _:b28 | 3003 | + sp:subject |
| 3004 | + [ sp:varName "part"^^xsd:string | ||
| 3005 | + ] | ||
| 2903 | ] [ rdf:type sp:Bind ; | 3006 | ] [ rdf:type sp:Bind ; |
| 2904 | sp:expression | 3007 | sp:expression |
| 2905 | - [ rdf:type spif:dateFormat ; | 3008 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 2906 | - arg:date _:b30 ; | 3009 | + sp:arg1 [ sp:varName "finishedAt"^^xsd:string |
| 2907 | - arg:pattern "HH:mm" | 3010 | + ] |
| 3011 | + ] ; | ||
| 3012 | + sp:variable | ||
| 3013 | + [ sp:varName "endTime"^^xsd:string | ||
| 3014 | + ] | ||
| 3015 | + ] [ sp:object | ||
| 3016 | + [ sp:varName "stateclass"^^xsd:string | ||
| 2908 | ] ; | 3017 | ] ; |
| 2909 | - sp:variable _:b20 | ||
| 2910 | - ] [ sp:object _:b31 ; | ||
| 2911 | sp:predicate rdf:type ; | 3018 | sp:predicate rdf:type ; |
| 2912 | - sp:subject _:b28 | 3019 | + sp:subject |
| 3020 | + [ sp:varName "part"^^xsd:string | ||
| 3021 | + ] | ||
| 2913 | ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ActivitySuccessType> ; | 3022 | ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ActivitySuccessType> ; |
| 2914 | sp:predicate rdf:type ; | 3023 | sp:predicate rdf:type ; |
| 2915 | - sp:subject _:b31 | 3024 | + sp:subject |
| 2916 | - ] [ sp:object _:b25 ; | 3025 | + [ sp:varName "stateclass"^^xsd:string |
| 3026 | + ] | ||
| 3027 | + ] [ sp:object | ||
| 3028 | + [ sp:varName "state"^^xsd:string | ||
| 3029 | + ] ; | ||
| 2917 | sp:predicate rdfs:label ; | 3030 | sp:predicate rdfs:label ; |
| 2918 | - sp:subject _:b31 | 3031 | + sp:subject |
| 3032 | + [ sp:varName "stateclass"^^xsd:string | ||
| 3033 | + ] | ||
| 2919 | ] [ rdf:type sp:Optional ; | 3034 | ] [ rdf:type sp:Optional ; |
| 2920 | - sp:elements ([ sp:object _:b32 ; | 3035 | + sp:elements ([ sp:object |
| 3036 | + [ sp:varName "subactclass"^^xsd:string | ||
| 3037 | + ] ; | ||
| 2921 | sp:predicate rdf:type ; | 3038 | sp:predicate rdf:type ; |
| 2922 | - sp:subject _:b28 | 3039 | + sp:subject |
| 3040 | + [ sp:varName "part"^^xsd:string | ||
| 3041 | + ] | ||
| 2923 | ] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ; | 3042 | ] [ sp:object <http://www.reportinghub.no/ep/schema/activity-purpose#DailyDrillingActivityPurposeType> ; |
| 2924 | sp:predicate rdf:type ; | 3043 | sp:predicate rdf:type ; |
| 2925 | - sp:subject _:b32 | 3044 | + sp:subject |
| 3045 | + [ sp:varName "subactclass"^^xsd:string | ||
| 3046 | + ] | ||
| 2926 | ] [ rdf:type sp:Bind ; | 3047 | ] [ rdf:type sp:Bind ; |
| 2927 | sp:expression | 3048 | sp:expression |
| 2928 | [ rdf:type spif:name ; | 3049 | [ rdf:type spif:name ; |
| 2929 | - sp:arg1 _:b32 | 3050 | + sp:arg1 [ sp:varName "subactclass"^^xsd:string |
| 3051 | + ] | ||
| 2930 | ] ; | 3052 | ] ; |
| 2931 | - sp:variable _:b24 | 3053 | + sp:variable |
| 3054 | + [ sp:varName "mainSubActivity"^^xsd:string | ||
| 3055 | + ] | ||
| 2932 | ]) | 3056 | ]) |
| 2933 | ] [ rdf:type sp:Optional ; | 3057 | ] [ rdf:type sp:Optional ; |
| 2934 | - sp:elements ([ sp:object _:b33 ; | 3058 | + sp:elements ([ sp:object |
| 3059 | + [ sp:varName "wellbore"^^xsd:string | ||
| 3060 | + ] ; | ||
| 2935 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 3061 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; |
| 2936 | - sp:subject _:b28 | 3062 | + sp:subject |
| 2937 | - ] [ sp:object _:b34 ; | 3063 | + [ sp:varName "part"^^xsd:string |
| 3064 | + ] | ||
| 3065 | + ] [ sp:object | ||
| 3066 | + [ sp:varName "id"^^xsd:string | ||
| 3067 | + ] ; | ||
| 2938 | sp:predicate <http://www.reportinghub.no/ep/schema/well#initialBottomHoleMeasuredDepth> ; | 3068 | sp:predicate <http://www.reportinghub.no/ep/schema/well#initialBottomHoleMeasuredDepth> ; |
| 2939 | - sp:subject _:b33 | 3069 | + sp:subject |
| 2940 | - ] [ sp:object _:b21 ; | 3070 | + [ sp:varName "wellbore"^^xsd:string |
| 3071 | + ] | ||
| 3072 | + ] [ sp:object | ||
| 3073 | + [ sp:varName "startDepth"^^xsd:string | ||
| 3074 | + ] ; | ||
| 2941 | sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ; | 3075 | sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ; |
| 2942 | - sp:subject _:b34 | 3076 | + sp:subject |
| 2943 | - ] [ sp:object _:b33 ; | 3077 | + [ sp:varName "id"^^xsd:string |
| 3078 | + ] | ||
| 3079 | + ] [ sp:object | ||
| 3080 | + [ sp:varName "wellbore"^^xsd:string | ||
| 3081 | + ] ; | ||
| 2944 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 3082 | sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; |
| 2945 | - sp:subject _:b28 | 3083 | + sp:subject |
| 2946 | - ] [ sp:object _:b35 ; | 3084 | + [ sp:varName "part"^^xsd:string |
| 3085 | + ] | ||
| 3086 | + ] [ sp:object | ||
| 3087 | + [ sp:varName "ed"^^xsd:string | ||
| 3088 | + ] ; | ||
| 2947 | sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ; | 3089 | sp:predicate <http://www.reportinghub.no/ep/schema/well#finalBottomHoleMeasuredDepth> ; |
| 2948 | - sp:subject _:b33 | 3090 | + sp:subject |
| 2949 | - ] [ sp:object _:b22 ; | 3091 | + [ sp:varName "wellbore"^^xsd:string |
| 3092 | + ] | ||
| 3093 | + ] [ sp:object | ||
| 3094 | + [ sp:varName "endDepth"^^xsd:string | ||
| 3095 | + ] ; | ||
| 2950 | sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ; | 3096 | sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ; |
| 2951 | - sp:subject _:b35 | 3097 | + sp:subject |
| 3098 | + [ sp:varName "ed"^^xsd:string | ||
| 3099 | + ] | ||
| 2952 | ] [ rdf:type sp:Bind ; | 3100 | ] [ rdf:type sp:Bind ; |
| 2953 | sp:expression | 3101 | sp:expression |
| 2954 | [ rdf:type sp:sub ; | 3102 | [ rdf:type sp:sub ; |
| 2955 | sp:arg1 [ rdf:type spif:cast ; | 3103 | sp:arg1 [ rdf:type spif:cast ; |
| 2956 | arg:datatype xsd:float ; | 3104 | arg:datatype xsd:float ; |
| 2957 | - sp:arg1 _:b22 | 3105 | + sp:arg1 [ sp:varName "endDepth"^^xsd:string |
| 3106 | + ] | ||
| 2958 | ] ; | 3107 | ] ; |
| 2959 | sp:arg2 [ rdf:type spif:cast ; | 3108 | sp:arg2 [ rdf:type spif:cast ; |
| 2960 | arg:datatype xsd:float ; | 3109 | arg:datatype xsd:float ; |
| 2961 | - sp:arg1 _:b21 | 3110 | + sp:arg1 [ sp:varName "startDepth"^^xsd:string |
| 3111 | + ] | ||
| 2962 | ] | 3112 | ] |
| 2963 | ] ; | 3113 | ] ; |
| 2964 | - sp:variable _:b23 | 3114 | + sp:variable |
| 3115 | + [ sp:varName "depth"^^xsd:string | ||
| 3116 | + ] | ||
| 2965 | ]) | 3117 | ]) |
| 2966 | ] [ rdf:type sp:Optional ; | 3118 | ] [ rdf:type sp:Optional ; |
| 2967 | - sp:elements ([ sp:object _:b26 ; | 3119 | + sp:elements ([ sp:object |
| 3120 | + [ sp:varName "remark"^^xsd:string | ||
| 3121 | + ] ; | ||
| 2968 | sp:predicate rdfs:comment ; | 3122 | sp:predicate rdfs:comment ; |
| 2969 | - sp:subject _:b28 | 3123 | + sp:subject |
| 3124 | + [ sp:varName "part"^^xsd:string | ||
| 3125 | + ] | ||
| 2970 | ]) | 3126 | ]) |
| 2971 | ]) | 3127 | ]) |
| 2972 | ] ; | 3128 | ] ; |
| ... | @@ -3025,11 +3181,9 @@ ddr-tables:PerforationInformation | ... | @@ -3025,11 +3181,9 @@ ddr-tables:PerforationInformation |
| 3025 | ] | 3181 | ] |
| 3026 | ] [ rdf:type sp:Bind ; | 3182 | ] [ rdf:type sp:Bind ; |
| 3027 | sp:expression | 3183 | sp:expression |
| 3028 | - [ rdf:type spif:dateFormat ; | 3184 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 3029 | - arg:date | 3185 | + sp:arg1 [ sp:varName "startedAt"^^xsd:string |
| 3030 | - [ sp:varName "startedAt"^^xsd:string | 3186 | + ] |
| 3031 | - ] ; | ||
| 3032 | - arg:pattern "yyyy-MM-dd HH:mm" | ||
| 3033 | ] ; | 3187 | ] ; |
| 3034 | sp:variable | 3188 | sp:variable |
| 3035 | [ sp:varName "timeOfOpeningWellPerf"^^xsd:string | 3189 | [ sp:varName "timeOfOpeningWellPerf"^^xsd:string |
| ... | @@ -3045,11 +3199,9 @@ ddr-tables:PerforationInformation | ... | @@ -3045,11 +3199,9 @@ ddr-tables:PerforationInformation |
| 3045 | ] | 3199 | ] |
| 3046 | ] [ rdf:type sp:Bind ; | 3200 | ] [ rdf:type sp:Bind ; |
| 3047 | sp:expression | 3201 | sp:expression |
| 3048 | - [ rdf:type spif:dateFormat ; | 3202 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 3049 | - arg:date | 3203 | + sp:arg1 [ sp:varName "finishedAt"^^xsd:string |
| 3050 | - [ sp:varName "finishedAt"^^xsd:string | 3204 | + ] |
| 3051 | - ] ; | ||
| 3052 | - arg:pattern "yyyy-MM-dd HH:mm" | ||
| 3053 | ] ; | 3205 | ] ; |
| 3054 | sp:variable | 3206 | sp:variable |
| 3055 | [ sp:varName "timeOfClosingWellPerf"^^xsd:string | 3207 | [ sp:varName "timeOfClosingWellPerf"^^xsd:string |
| ... | @@ -3221,11 +3373,9 @@ ddr-tables:PorePressure | ... | @@ -3221,11 +3373,9 @@ ddr-tables:PorePressure |
| 3221 | ] | 3373 | ] |
| 3222 | ] [ rdf:type sp:Bind ; | 3374 | ] [ rdf:type sp:Bind ; |
| 3223 | sp:expression | 3375 | sp:expression |
| 3224 | - [ rdf:type spif:dateFormat ; | 3376 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 3225 | - arg:date | 3377 | + sp:arg1 [ sp:varName "nominallyAt"^^xsd:string |
| 3226 | - [ sp:varName "nominallyAt"^^xsd:string | 3378 | + ] |
| 3227 | - ] ; | ||
| 3228 | - arg:pattern "yyyy-MM-dd HH:mm" | ||
| 3229 | ] ; | 3379 | ] ; |
| 3230 | sp:variable | 3380 | sp:variable |
| 3231 | [ sp:varName "time"^^xsd:string | 3381 | [ sp:varName "time"^^xsd:string |
| ... | @@ -3928,7 +4078,7 @@ ddr-tables:WellControlIncident | ... | @@ -3928,7 +4078,7 @@ ddr-tables:WellControlIncident |
| 3928 | arg:date | 4078 | arg:date |
| 3929 | [ sp:varName "startedAt"^^xsd:string | 4079 | [ sp:varName "startedAt"^^xsd:string |
| 3930 | ] ; | 4080 | ] ; |
| 3931 | - arg:pattern "yyyy-MM-dd" | 4081 | + arg:pattern "yyyy-MMM-dd" |
| 3932 | ] ; | 4082 | ] ; |
| 3933 | sp:variable | 4083 | sp:variable |
| 3934 | [ sp:varName "date"^^xsd:string | 4084 | [ sp:varName "date"^^xsd:string |
| ... | @@ -3960,11 +4110,9 @@ ddr-tables:WellControlIncident | ... | @@ -3960,11 +4110,9 @@ ddr-tables:WellControlIncident |
| 3960 | ] | 4110 | ] |
| 3961 | ] [ rdf:type sp:Bind ; | 4111 | ] [ rdf:type sp:Bind ; |
| 3962 | sp:expression | 4112 | sp:expression |
| 3963 | - [ rdf:type spif:dateFormat ; | 4113 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 3964 | - arg:date | 4114 | + sp:arg1 [ sp:varName "finishedAt"^^xsd:string |
| 3965 | - [ sp:varName "finishedAt"^^xsd:string | 4115 | + ] |
| 3966 | - ] ; | ||
| 3967 | - arg:pattern "HH:mm" | ||
| 3968 | ] ; | 4116 | ] ; |
| 3969 | sp:variable | 4117 | sp:variable |
| 3970 | [ sp:varName "timeForWellControlRegain"^^xsd:string | 4118 | [ sp:varName "timeForWellControlRegain"^^xsd:string |
| ... | @@ -4077,11 +4225,9 @@ ddr-tables:WellTestInformation | ... | @@ -4077,11 +4225,9 @@ ddr-tables:WellTestInformation |
| 4077 | ] | 4225 | ] |
| 4078 | ] [ rdf:type sp:Bind ; | 4226 | ] [ rdf:type sp:Bind ; |
| 4079 | sp:expression | 4227 | sp:expression |
| 4080 | - [ rdf:type spif:dateFormat ; | 4228 | + [ rdf:type ep-spin-lib:normalizeTimeFromDateTime ; |
| 4081 | - arg:date | 4229 | + sp:arg1 [ sp:varName "finishedAt"^^xsd:string |
| 4082 | - [ sp:varName "finishedAt"^^xsd:string | 4230 | + ] |
| 4083 | - ] ; | ||
| 4084 | - arg:pattern "HH:mm" | ||
| 4085 | ] ; | 4231 | ] ; |
| 4086 | sp:variable | 4232 | sp:variable |
| 4087 | [ sp:varName "time"^^xsd:string | 4233 | [ sp:varName "time"^^xsd:string |
| ... | @@ -4455,99 +4601,3 @@ content | ... | @@ -4455,99 +4601,3 @@ content |
| 4455 | ppm"""^^xsd:string """H2S | 4601 | ppm"""^^xsd:string """H2S |
| 4456 | content | 4602 | content |
| 4457 | ppm"""^^xsd:string) . | 4603 | ppm"""^^xsd:string) . |
| 4458 | - | ||
| 4459 | -_:b35 | ||
| 4460 | - sp:varName "ed"^^xsd:string . | ||
| 4461 | - | ||
| 4462 | -_:b34 | ||
| 4463 | - sp:varName "id"^^xsd:string . | ||
| 4464 | - | ||
| 4465 | -_:b33 | ||
| 4466 | - sp:varName "wellbore"^^xsd:string . | ||
| 4467 | - | ||
| 4468 | -_:b32 | ||
| 4469 | - sp:varName "subactclass"^^xsd:string . | ||
| 4470 | - | ||
| 4471 | -_:b31 | ||
| 4472 | - sp:varName "stateclass"^^xsd:string . | ||
| 4473 | - | ||
| 4474 | -_:b30 | ||
| 4475 | - sp:varName "finishedAt"^^xsd:string . | ||
| 4476 | - | ||
| 4477 | -_:b29 | ||
| 4478 | - sp:varName "startedAt"^^xsd:string . | ||
| 4479 | - | ||
| 4480 | -_:b28 | ||
| 4481 | - sp:varName "part"^^xsd:string . | ||
| 4482 | - | ||
| 4483 | -_:b27 | ||
| 4484 | - sp:varName "reportOn"^^xsd:string . | ||
| 4485 | - | ||
| 4486 | -_:b26 | ||
| 4487 | - sp:varName "remark"^^xsd:string . | ||
| 4488 | - | ||
| 4489 | -_:b25 | ||
| 4490 | - sp:varName "state"^^xsd:string . | ||
| 4491 | - | ||
| 4492 | -_:b24 | ||
| 4493 | - sp:varName "mainSubActivity"^^xsd:string . | ||
| 4494 | - | ||
| 4495 | -_:b23 | ||
| 4496 | - sp:varName "depth"^^xsd:string . | ||
| 4497 | - | ||
| 4498 | -_:b22 | ||
| 4499 | - sp:varName "endDepth"^^xsd:string . | ||
| 4500 | - | ||
| 4501 | -_:b21 | ||
| 4502 | - sp:varName "startDepth"^^xsd:string . | ||
| 4503 | - | ||
| 4504 | -_:b20 | ||
| 4505 | - sp:varName "endTime"^^xsd:string . | ||
| 4506 | - | ||
| 4507 | -_:b19 | ||
| 4508 | - sp:varName "startTime"^^xsd:string . | ||
| 4509 | - | ||
| 4510 | -_:b18 | ||
| 4511 | - sp:varName "tvd"^^xsd:string . | ||
| 4512 | - | ||
| 4513 | -_:b17 | ||
| 4514 | - sp:varName "md"^^xsd:string . | ||
| 4515 | - | ||
| 4516 | -_:b16 | ||
| 4517 | - sp:varName "wellbore"^^xsd:string . | ||
| 4518 | - | ||
| 4519 | -_:b15 | ||
| 4520 | - sp:varName "timeOfRepair"^^xsd:string . | ||
| 4521 | - | ||
| 4522 | -_:b14 | ||
| 4523 | - sp:varName "timeOfFailure"^^xsd:string . | ||
| 4524 | - | ||
| 4525 | -_:b13 | ||
| 4526 | - sp:varName "classOfEquipment"^^xsd:string . | ||
| 4527 | - | ||
| 4528 | -_:b12 | ||
| 4529 | - sp:varName "equipment"^^xsd:string . | ||
| 4530 | - | ||
| 4531 | -_:b11 | ||
| 4532 | - sp:varName "temporalPartOfEquipment"^^xsd:string . | ||
| 4533 | - | ||
| 4534 | -_:b10 | ||
| 4535 | - sp:varName "mpt"^^xsd:string . | ||
| 4536 | - | ||
| 4537 | -_:b9 sp:varName "part"^^xsd:string . | ||
| 4538 | - | ||
| 4539 | -_:b8 sp:varName "reportOn"^^xsd:string . | ||
| 4540 | - | ||
| 4541 | -_:b7 sp:varName "failureDescription"^^xsd:string . | ||
| 4542 | - | ||
| 4543 | -_:b6 sp:varName "repairedTime"^^xsd:string . | ||
| 4544 | - | ||
| 4545 | -_:b5 sp:varName "downtime"^^xsd:string . | ||
| 4546 | - | ||
| 4547 | -_:b4 sp:varName "equipmentType"^^xsd:string . | ||
| 4548 | - | ||
| 4549 | -_:b3 sp:varName "depthTVD"^^xsd:string . | ||
| 4550 | - | ||
| 4551 | -_:b2 sp:varName "depthMD"^^xsd:string . | ||
| 4552 | - | ||
| 4553 | -_:b1 sp:varName "startTime"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Wed Nov 02 15:54:15 GMT 2011 | ||
| 2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib | 1 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib |
| 3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type | 2 | +# imports: http://spinrdf.org/spin |
| 4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/report | 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity |
| 5 | -# imports: http://www.witsml.org/schemas/1series | ||
| 6 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
| 7 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | ||
| 8 | # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose |
| 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
| 6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type | ||
| 9 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 7 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
| 10 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 8 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
| 11 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity | 9 | +# imports: http://www.reportinghub.no/ep/schema/1.0/report |
| 12 | -# imports: http://spinrdf.org/spin | 10 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well |
| 13 | # imports: http://www.reportinghub.no/spin/rh | 11 | # imports: http://www.reportinghub.no/spin/rh |
| 12 | +# imports: http://www.witsml.org/schemas/1series | ||
| 14 | 13 | ||
| 15 | @prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.0/activity-purpose#> . | 14 | @prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.0/activity-purpose#> . |
| 16 | @prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . | 15 | @prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . |
| ... | @@ -32,7 +31,7 @@ | ... | @@ -32,7 +31,7 @@ |
| 32 | 31 | ||
| 33 | <http://www.reportinghub.no/ep/spin/1.1/lib> | 32 | <http://www.reportinghub.no/ep/spin/1.1/lib> |
| 34 | rdf:type owl:Ontology ; | 33 | rdf:type owl:Ontology ; |
| 35 | - owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/report> , <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> ; | 34 | + owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/report> , <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> ; |
| 36 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 35 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 37 | 36 | ||
| 38 | ep-spin-lib:Function | 37 | ep-spin-lib:Function |
| ... | @@ -629,12 +628,12 @@ ep-spin-lib:buildURI | ... | @@ -629,12 +628,12 @@ ep-spin-lib:buildURI |
| 629 | ] ; | 628 | ] ; |
| 630 | spin:constraint | 629 | spin:constraint |
| 631 | [ rdf:type spl:Argument ; | 630 | [ rdf:type spl:Argument ; |
| 632 | - spl:predicate sp:arg1 ; | 631 | + spl:predicate sp:arg2 ; |
| 633 | spl:valueType xsd:string | 632 | spl:valueType xsd:string |
| 634 | ] ; | 633 | ] ; |
| 635 | spin:constraint | 634 | spin:constraint |
| 636 | [ rdf:type spl:Argument ; | 635 | [ rdf:type spl:Argument ; |
| 637 | - spl:predicate sp:arg2 ; | 636 | + spl:predicate sp:arg1 ; |
| 638 | spl:valueType xsd:string | 637 | spl:valueType xsd:string |
| 639 | ] . | 638 | ] . |
| 640 | 639 | ||
| ... | @@ -984,6 +983,73 @@ ep-spin-lib:nameWellbore | ... | @@ -984,6 +983,73 @@ ep-spin-lib:nameWellbore |
| 984 | ] ; | 983 | ] ; |
| 985 | spin:returnType xsd:string . | 984 | spin:returnType xsd:string . |
| 986 | 985 | ||
| 986 | +ep-spin-lib:normalizeDateTime | ||
| 987 | + rdf:type spin:Function ; | ||
| 988 | + rdfs:label "normalize an xsd:date for printing"^^xsd:string ; | ||
| 989 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
| 990 | + spin:body | ||
| 991 | + [ rdf:type sp:Select ; | ||
| 992 | + sp:resultVariables ([ sp:varName "normalizedDateTime"^^xsd:string | ||
| 993 | + ]) ; | ||
| 994 | + sp:where ([ rdf:type sp:Bind ; | ||
| 995 | + sp:expression | ||
| 996 | + [ rdf:type xsd:string ; | ||
| 997 | + sp:arg1 spin:_arg1 | ||
| 998 | + ] ; | ||
| 999 | + sp:variable | ||
| 1000 | + [ sp:varName "arg1str"^^xsd:string | ||
| 1001 | + ] | ||
| 1002 | + ] [ rdf:type sp:Bind ; | ||
| 1003 | + sp:expression | ||
| 1004 | + [ rdf:type spif:dateFormat ; | ||
| 1005 | + arg:date spin:_arg1 ; | ||
| 1006 | + arg:pattern "yyyy-MMM-dd HH:mm" | ||
| 1007 | + ] ; | ||
| 1008 | + sp:variable | ||
| 1009 | + [ sp:varName "formatstr"^^xsd:string | ||
| 1010 | + ] | ||
| 1011 | + ] [ rdf:type sp:Bind ; | ||
| 1012 | + sp:expression | ||
| 1013 | + [ rdf:type afn:substr ; | ||
| 1014 | + sp:arg1 [ sp:varName "formatstr"^^xsd:string | ||
| 1015 | + ] ; | ||
| 1016 | + sp:arg2 0 ; | ||
| 1017 | + sp:arg3 12 | ||
| 1018 | + ] ; | ||
| 1019 | + sp:variable | ||
| 1020 | + [ sp:varName "day"^^xsd:string | ||
| 1021 | + ] | ||
| 1022 | + ] [ rdf:type sp:Bind ; | ||
| 1023 | + sp:expression | ||
| 1024 | + [ rdf:type afn:substr ; | ||
| 1025 | + sp:arg1 [ sp:varName "arg1str"^^xsd:string | ||
| 1026 | + ] ; | ||
| 1027 | + sp:arg2 11 ; | ||
| 1028 | + sp:arg3 16 | ||
| 1029 | + ] ; | ||
| 1030 | + sp:variable | ||
| 1031 | + [ sp:varName "time"^^xsd:string | ||
| 1032 | + ] | ||
| 1033 | + ] [ rdf:type sp:Bind ; | ||
| 1034 | + sp:expression | ||
| 1035 | + [ rdf:type fn:concat ; | ||
| 1036 | + sp:arg1 [ sp:varName "day"^^xsd:string | ||
| 1037 | + ] ; | ||
| 1038 | + sp:arg2 ", " ; | ||
| 1039 | + sp:arg3 [ sp:varName "time"^^xsd:string | ||
| 1040 | + ] | ||
| 1041 | + ] ; | ||
| 1042 | + sp:variable | ||
| 1043 | + [ sp:varName "normalizedDateTime"^^xsd:string | ||
| 1044 | + ] | ||
| 1045 | + ]) | ||
| 1046 | + ] ; | ||
| 1047 | + spin:constraint | ||
| 1048 | + [ rdf:type spl:Argument ; | ||
| 1049 | + spl:predicate sp:arg1 ; | ||
| 1050 | + spl:valueType xsd:dateTime | ||
| 1051 | + ] . | ||
| 1052 | + | ||
| 987 | ep-spin-lib:normalizeDoubleName | 1053 | ep-spin-lib:normalizeDoubleName |
| 988 | rdf:type spin:Function ; | 1054 | rdf:type spin:Function ; |
| 989 | rdfs:label "normalize an xsd:double to a rounded name string"^^xsd:string ; | 1055 | rdfs:label "normalize an xsd:double to a rounded name string"^^xsd:string ; |
| ... | @@ -1122,6 +1188,41 @@ ep-spin-lib:normalizeString | ... | @@ -1122,6 +1188,41 @@ ep-spin-lib:normalizeString |
| 1122 | spl:valueType xsd:string | 1188 | spl:valueType xsd:string |
| 1123 | ] . | 1189 | ] . |
| 1124 | 1190 | ||
| 1191 | +ep-spin-lib:normalizeTimeFromDateTime | ||
| 1192 | + rdf:type spin:Function ; | ||
| 1193 | + rdfs:label "normalize a time for pringing from an xsd:datetime"^^xsd:string ; | ||
| 1194 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
| 1195 | + spin:body | ||
| 1196 | + [ rdf:type sp:Select ; | ||
| 1197 | + sp:resultVariables ([ sp:varName "normalizedTime"^^xsd:string | ||
| 1198 | + ]) ; | ||
| 1199 | + sp:where ([ rdf:type sp:Bind ; | ||
| 1200 | + sp:expression | ||
| 1201 | + [ rdf:type xsd:string ; | ||
| 1202 | + sp:arg1 spin:_arg1 | ||
| 1203 | + ] ; | ||
| 1204 | + sp:variable | ||
| 1205 | + [ sp:varName "arg1str"^^xsd:string | ||
| 1206 | + ] | ||
| 1207 | + ] [ rdf:type sp:Bind ; | ||
| 1208 | + sp:expression | ||
| 1209 | + [ rdf:type afn:substr ; | ||
| 1210 | + sp:arg1 [ sp:varName "arg1str"^^xsd:string | ||
| 1211 | + ] ; | ||
| 1212 | + sp:arg2 11 ; | ||
| 1213 | + sp:arg3 16 | ||
| 1214 | + ] ; | ||
| 1215 | + sp:variable | ||
| 1216 | + [ sp:varName "normalizedTime"^^xsd:string | ||
| 1217 | + ] | ||
| 1218 | + ]) | ||
| 1219 | + ] ; | ||
| 1220 | + spin:constraint | ||
| 1221 | + [ rdf:type spl:Argument ; | ||
| 1222 | + spl:predicate sp:arg1 ; | ||
| 1223 | + spl:valueType xsd:dateTime | ||
| 1224 | + ] . | ||
| 1225 | + | ||
| 1125 | ep-spin-lib:selectActivitySuccessType | 1226 | ep-spin-lib:selectActivitySuccessType |
| 1126 | rdf:type spin:Function ; | 1227 | rdf:type spin:Function ; |
| 1127 | rdfs:label "select ActivitySuccessType"^^xsd:string ; | 1228 | rdfs:label "select ActivitySuccessType"^^xsd:string ; |
| ... | @@ -3853,251 +3954,251 @@ ddr:TTUC_Enumeration_1 | ... | @@ -3853,251 +3954,251 @@ ddr:TTUC_Enumeration_1 |
| 3853 | rdfs:label "Enumeration"^^xsd:string ; | 3954 | rdfs:label "Enumeration"^^xsd:string ; |
| 3854 | dtype:value ddr:TTUC_degC . | 3955 | dtype:value ddr:TTUC_degC . |
| 3855 | 3956 | ||
| 3856 | -_:b86 | 3957 | +_:b1 sp:varName "uri"^^xsd:string . |
| 3857 | - sp:varName "yieldPointScale"^^xsd:string . | ||
| 3858 | - | ||
| 3859 | -_:b85 | ||
| 3860 | - sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string . | ||
| 3861 | 3958 | ||
| 3862 | -_:b84 | 3959 | +_:b2 sp:varName "uri"^^xsd:string . |
| 3863 | - sp:varName "wellTestType"^^xsd:string . | ||
| 3864 | 3960 | ||
| 3865 | -_:b83 | 3961 | +_:b3 sp:varName "uri"^^xsd:string . |
| 3866 | - sp:varName "wellKillingType"^^xsd:string . | ||
| 3867 | 3962 | ||
| 3868 | -_:b82 | 3963 | +_:b4 sp:varName "uri"^^xsd:string . |
| 3869 | - sp:varName "wellControlIncidentType"^^xsd:string . | ||
| 3870 | 3964 | ||
| 3871 | -_:b81 | 3965 | +_:b5 sp:varName "uri"^^xsd:string . |
| 3872 | - sp:varName "wellCementJobType"^^xsd:string . | ||
| 3873 | 3966 | ||
| 3874 | -_:b80 | 3967 | +_:b6 sp:varName "uri"^^xsd:string . |
| 3875 | - sp:varName "wellCementJobTopPlugType"^^xsd:string . | ||
| 3876 | 3968 | ||
| 3877 | -_:b79 | 3969 | +_:b7 sp:varName "uri"^^xsd:string . |
| 3878 | - sp:varName "wellCementJobPlugBumpingType"^^xsd:string . | ||
| 3879 | 3970 | ||
| 3880 | -_:b78 | 3971 | +_:b8 sp:varName "uri"^^xsd:string . |
| 3881 | - sp:varName "wellCementJobFloatHoldingType"^^xsd:string . | ||
| 3882 | 3972 | ||
| 3883 | -_:b77 | 3973 | +_:b9 sp:varName "uri"^^xsd:string . |
| 3884 | - sp:varName "wellCementJobCasingRotationType"^^xsd:string . | ||
| 3885 | 3974 | ||
| 3886 | -_:b76 | 3975 | +_:b10 |
| 3887 | - sp:varName "wellCementJobCasingReciprocationType"^^xsd:string . | 3976 | + sp:varName "uri"^^xsd:string . |
| 3888 | 3977 | ||
| 3889 | -_:b75 | 3978 | +_:b11 |
| 3890 | - sp:varName "wellCementJobBottomPlugType"^^xsd:string . | 3979 | + sp:varName "uri"^^xsd:string . |
| 3891 | 3980 | ||
| 3892 | -_:b74 | 3981 | +_:b12 |
| 3893 | - sp:varName "wellBoreTightnessType"^^xsd:string . | 3982 | + sp:varName "uri"^^xsd:string . |
| 3894 | 3983 | ||
| 3895 | -_:b73 | 3984 | +_:b13 |
| 3896 | - sp:varName "wellBoreHphtType"^^xsd:string . | 3985 | + sp:varName "uri"^^xsd:string . |
| 3897 | 3986 | ||
| 3898 | -_:b72 | 3987 | +_:b14 |
| 3899 | - sp:varName "wellBoreDrillingType"^^xsd:string . | 3988 | + sp:varName "uri"^^xsd:string . |
| 3900 | 3989 | ||
| 3901 | -_:b71 | 3990 | +_:b15 |
| 3902 | - sp:varName "volumetricFlowRateScale"^^xsd:string . | 3991 | + sp:varName "uri"^^xsd:string . |
| 3903 | 3992 | ||
| 3904 | -_:b70 | 3993 | +_:b16 |
| 3905 | - sp:varName "volumeScale"^^xsd:string . | 3994 | + sp:varName "uri"^^xsd:string . |
| 3906 | 3995 | ||
| 3907 | -_:b69 | 3996 | +_:b17 |
| 3908 | - sp:varName "durationScale"^^xsd:string . | 3997 | + sp:varName "uri"^^xsd:string . |
| 3909 | 3998 | ||
| 3910 | -_:b68 | 3999 | +_:b18 |
| 3911 | - sp:varName "temperatureScale"^^xsd:string . | 4000 | + sp:varName "uri"^^xsd:string . |
| 3912 | 4001 | ||
| 3913 | -_:b67 | 4002 | +_:b19 |
| 3914 | - sp:varName "strengthScale"^^xsd:string . | 4003 | + sp:varName "uri"^^xsd:string . |
| 3915 | 4004 | ||
| 3916 | -_:b66 | 4005 | +_:b20 |
| 3917 | - sp:varName "speedScale"^^xsd:string . | 4006 | + sp:varName "uri"^^xsd:string . |
| 3918 | 4007 | ||
| 3919 | -_:b65 | 4008 | +_:b21 |
| 3920 | - sp:varName "specificVolumeScale"^^xsd:string . | 4009 | + sp:varName "uri"^^xsd:string . |
| 3921 | 4010 | ||
| 3922 | -_:b64 | 4011 | +_:b22 |
| 3923 | - sp:varName "specificMassScale"^^xsd:string . | 4012 | + sp:varName "uri"^^xsd:string . |
| 3924 | 4013 | ||
| 3925 | -_:b63 | 4014 | +_:b23 |
| 3926 | - sp:varName "pressureTestType"^^xsd:string . | 4015 | + sp:varName "uri"^^xsd:string . |
| 3927 | 4016 | ||
| 3928 | -_:b62 | 4017 | +_:b24 |
| 3929 | - sp:varName "pressureScale"^^xsd:string . | 4018 | + sp:varName "uri"^^xsd:string . |
| 3930 | 4019 | ||
| 3931 | -_:b61 | 4020 | +_:b25 |
| 3932 | - sp:varName "porePressureDeterminationType"^^xsd:string . | 4021 | + sp:varName "uri"^^xsd:string . |
| 3933 | 4022 | ||
| 3934 | -_:b60 | 4023 | +_:b26 |
| 3935 | - sp:varName "plasticViscosityScale"^^xsd:string . | 4024 | + sp:varName "uri"^^xsd:string . |
| 3936 | 4025 | ||
| 3937 | -_:b59 | 4026 | +_:b27 |
| 3938 | - sp:varName "angleScale"^^xsd:string . | 4027 | + sp:varName "uri"^^xsd:string . |
| 3939 | 4028 | ||
| 3940 | -_:b58 | 4029 | +_:b28 |
| 3941 | - sp:varName "mudClass"^^xsd:string . | 4030 | + sp:varName "uri"^^xsd:string . |
| 3942 | 4031 | ||
| 3943 | -_:b57 | 4032 | +_:b29 |
| 3944 | - sp:varName "massPerUnitLengthScale"^^xsd:string . | 4033 | + sp:varName "uri"^^xsd:string . |
| 3945 | 4034 | ||
| 3946 | -_:b56 | 4035 | +_:b30 |
| 3947 | - sp:varName "lengthScale"^^xsd:string . | 4036 | + sp:varName "uri"^^xsd:string . |
| 3948 | 4037 | ||
| 3949 | -_:b55 | 4038 | +_:b31 |
| 3950 | - sp:varName "dailyDrillingReportType"^^xsd:string . | 4039 | + sp:varName "normalizedStr"^^xsd:string . |
| 3951 | 4040 | ||
| 3952 | -_:b54 | 4041 | +_:b32 |
| 3953 | - sp:varName "innerBarrelType"^^xsd:string . | 4042 | + sp:varName "s1"^^xsd:string . |
| 3954 | 4043 | ||
| 3955 | -_:b53 | 4044 | +_:b33 |
| 3956 | - sp:varName "gasReadingType"^^xsd:string . | 4045 | + sp:varName "s2"^^xsd:string . |
| 3957 | 4046 | ||
| 3958 | -_:b52 | 4047 | +_:b34 |
| 3959 | - sp:varName "fluidType"^^xsd:string . | 4048 | + sp:varName "t0a"^^xsd:string . |
| 3960 | 4049 | ||
| 3961 | -_:b51 | 4050 | +_:b35 |
| 3962 | - sp:varName "fixedOrMoveableRigType"^^xsd:string . | 4051 | + sp:varName "t0b"^^xsd:string . |
| 3963 | 4052 | ||
| 3964 | -_:b50 | 4053 | +_:b36 |
| 3965 | - sp:varName "drillingEquipmentType"^^xsd:string . | 4054 | + sp:varName "t1"^^xsd:string . |
| 3966 | 4055 | ||
| 3967 | -_:b49 | 4056 | +_:b37 |
| 3968 | - sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string . | 4057 | + sp:varName "t2"^^xsd:string . |
| 3969 | 4058 | ||
| 3970 | -_:b48 | 4059 | +_:b38 |
| 3971 | - sp:varName "drillingActivityPurposeType"^^xsd:string . | 4060 | + sp:varName "t3"^^xsd:string . |
| 3972 | 4061 | ||
| 3973 | -_:b47 | 4062 | +_:b39 |
| 3974 | - sp:varName "drillingActivityOutcomeType"^^xsd:string . | 4063 | + sp:varName "t4"^^xsd:string . |
| 3975 | 4064 | ||
| 3976 | -_:b46 | 4065 | +_:b40 |
| 3977 | - sp:varName "densityScale"^^xsd:string . | 4066 | + sp:varName "activitySuccessType"^^xsd:string . |
| 3978 | 4067 | ||
| 3979 | -_:b45 | 4068 | +_:b41 |
| 3980 | - sp:varName "dailyDrillingReportType"^^xsd:string . | 4069 | + sp:varName "casingRoleType"^^xsd:string . |
| 3981 | 4070 | ||
| 3982 | -_:b44 | 4071 | +_:b42 |
| 3983 | - sp:varName "componentType"^^xsd:string . | 4072 | + sp:varName "cementingFluidReturnType"^^xsd:string . |
| 3984 | 4073 | ||
| 3985 | _:b43 | 4074 | _:b43 |
| 3986 | sp:varName "classOfWellDatumObject"^^xsd:string . | 4075 | sp:varName "classOfWellDatumObject"^^xsd:string . |
| 3987 | 4076 | ||
| 3988 | -_:b42 | 4077 | +_:b44 |
| 3989 | - sp:varName "cementingFluidReturnType"^^xsd:string . | 4078 | + sp:varName "componentType"^^xsd:string . |
| 3990 | 4079 | ||
| 3991 | -_:b41 | 4080 | +_:b45 |
| 3992 | - sp:varName "casingRoleType"^^xsd:string . | 4081 | + sp:varName "dailyDrillingReportType"^^xsd:string . |
| 3993 | 4082 | ||
| 3994 | -_:b40 | 4083 | +_:b46 |
| 3995 | - sp:varName "activitySuccessType"^^xsd:string . | 4084 | + sp:varName "densityScale"^^xsd:string . |
| 3996 | 4085 | ||
| 3997 | -_:b39 | 4086 | +_:b47 |
| 3998 | - sp:varName "t4"^^xsd:string . | 4087 | + sp:varName "drillingActivityOutcomeType"^^xsd:string . |
| 3999 | 4088 | ||
| 4000 | -_:b38 | 4089 | +_:b48 |
| 4001 | - sp:varName "t3"^^xsd:string . | 4090 | + sp:varName "drillingActivityPurposeType"^^xsd:string . |
| 4002 | 4091 | ||
| 4003 | -_:b37 | 4092 | +_:b49 |
| 4004 | - sp:varName "t2"^^xsd:string . | 4093 | + sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string . |
| 4005 | 4094 | ||
| 4006 | -_:b36 | 4095 | +_:b50 |
| 4007 | - sp:varName "t1"^^xsd:string . | 4096 | + sp:varName "drillingEquipmentType"^^xsd:string . |
| 4008 | 4097 | ||
| 4009 | -_:b35 | 4098 | +_:b51 |
| 4010 | - sp:varName "t0b"^^xsd:string . | 4099 | + sp:varName "fixedOrMoveableRigType"^^xsd:string . |
| 4011 | 4100 | ||
| 4012 | -_:b34 | 4101 | +_:b52 |
| 4013 | - sp:varName "t0a"^^xsd:string . | 4102 | + sp:varName "fluidType"^^xsd:string . |
| 4014 | 4103 | ||
| 4015 | -_:b33 | 4104 | +_:b53 |
| 4016 | - sp:varName "s2"^^xsd:string . | 4105 | + sp:varName "gasReadingType"^^xsd:string . |
| 4017 | 4106 | ||
| 4018 | -_:b32 | 4107 | +_:b54 |
| 4019 | - sp:varName "s1"^^xsd:string . | 4108 | + sp:varName "innerBarrelType"^^xsd:string . |
| 4020 | 4109 | ||
| 4021 | -_:b31 | 4110 | +_:b55 |
| 4022 | - sp:varName "normalizedStr"^^xsd:string . | 4111 | + sp:varName "dailyDrillingReportType"^^xsd:string . |
| 4023 | 4112 | ||
| 4024 | -_:b30 | 4113 | +_:b56 |
| 4025 | - sp:varName "uri"^^xsd:string . | 4114 | + sp:varName "lengthScale"^^xsd:string . |
| 4026 | 4115 | ||
| 4027 | -_:b29 | 4116 | +_:b57 |
| 4028 | - sp:varName "uri"^^xsd:string . | 4117 | + sp:varName "massPerUnitLengthScale"^^xsd:string . |
| 4029 | 4118 | ||
| 4030 | -_:b28 | 4119 | +_:b58 |
| 4031 | - sp:varName "uri"^^xsd:string . | 4120 | + sp:varName "mudClass"^^xsd:string . |
| 4032 | 4121 | ||
| 4033 | -_:b27 | 4122 | +_:b59 |
| 4034 | - sp:varName "uri"^^xsd:string . | 4123 | + sp:varName "angleScale"^^xsd:string . |
| 4035 | 4124 | ||
| 4036 | -_:b26 | 4125 | +_:b60 |
| 4037 | - sp:varName "uri"^^xsd:string . | 4126 | + sp:varName "plasticViscosityScale"^^xsd:string . |
| 4038 | 4127 | ||
| 4039 | -_:b25 | 4128 | +_:b61 |
| 4040 | - sp:varName "uri"^^xsd:string . | 4129 | + sp:varName "porePressureDeterminationType"^^xsd:string . |
| 4041 | 4130 | ||
| 4042 | -_:b24 | 4131 | +_:b62 |
| 4043 | - sp:varName "uri"^^xsd:string . | 4132 | + sp:varName "pressureScale"^^xsd:string . |
| 4044 | 4133 | ||
| 4045 | -_:b23 | 4134 | +_:b63 |
| 4046 | - sp:varName "uri"^^xsd:string . | 4135 | + sp:varName "pressureTestType"^^xsd:string . |
| 4047 | 4136 | ||
| 4048 | -_:b22 | 4137 | +_:b64 |
| 4049 | - sp:varName "uri"^^xsd:string . | 4138 | + sp:varName "specificMassScale"^^xsd:string . |
| 4050 | 4139 | ||
| 4051 | -_:b21 | 4140 | +_:b65 |
| 4052 | - sp:varName "uri"^^xsd:string . | 4141 | + sp:varName "specificVolumeScale"^^xsd:string . |
| 4053 | 4142 | ||
| 4054 | -_:b20 | 4143 | +_:b66 |
| 4055 | - sp:varName "uri"^^xsd:string . | 4144 | + sp:varName "speedScale"^^xsd:string . |
| 4056 | 4145 | ||
| 4057 | -_:b19 | 4146 | +_:b67 |
| 4058 | - sp:varName "uri"^^xsd:string . | 4147 | + sp:varName "strengthScale"^^xsd:string . |
| 4059 | 4148 | ||
| 4060 | -_:b18 | 4149 | +_:b68 |
| 4061 | - sp:varName "uri"^^xsd:string . | 4150 | + sp:varName "temperatureScale"^^xsd:string . |
| 4062 | 4151 | ||
| 4063 | -_:b17 | 4152 | +_:b69 |
| 4064 | - sp:varName "uri"^^xsd:string . | 4153 | + sp:varName "durationScale"^^xsd:string . |
| 4065 | 4154 | ||
| 4066 | -_:b16 | 4155 | +_:b70 |
| 4067 | - sp:varName "uri"^^xsd:string . | 4156 | + sp:varName "volumeScale"^^xsd:string . |
| 4068 | 4157 | ||
| 4069 | -_:b15 | 4158 | +_:b71 |
| 4070 | - sp:varName "uri"^^xsd:string . | 4159 | + sp:varName "volumetricFlowRateScale"^^xsd:string . |
| 4071 | 4160 | ||
| 4072 | -_:b14 | 4161 | +_:b72 |
| 4073 | - sp:varName "uri"^^xsd:string . | 4162 | + sp:varName "wellBoreDrillingType"^^xsd:string . |
| 4074 | 4163 | ||
| 4075 | -_:b12 | 4164 | +_:b73 |
| 4076 | - sp:varName "uri"^^xsd:string . | 4165 | + sp:varName "wellBoreHphtType"^^xsd:string . |
| 4077 | 4166 | ||
| 4078 | -_:b11 | 4167 | +_:b74 |
| 4079 | - sp:varName "uri"^^xsd:string . | 4168 | + sp:varName "wellBoreTightnessType"^^xsd:string . |
| 4080 | 4169 | ||
| 4081 | -_:b10 | 4170 | +_:b75 |
| 4082 | - sp:varName "uri"^^xsd:string . | 4171 | + sp:varName "wellCementJobBottomPlugType"^^xsd:string . |
| 4083 | 4172 | ||
| 4084 | -_:b9 sp:varName "uri"^^xsd:string . | 4173 | +_:b76 |
| 4174 | + sp:varName "wellCementJobCasingReciprocationType"^^xsd:string . | ||
| 4085 | 4175 | ||
| 4086 | -_:b8 sp:varName "uri"^^xsd:string . | 4176 | +_:b77 |
| 4177 | + sp:varName "wellCementJobCasingRotationType"^^xsd:string . | ||
| 4087 | 4178 | ||
| 4088 | -_:b7 sp:varName "uri"^^xsd:string . | 4179 | +_:b78 |
| 4180 | + sp:varName "wellCementJobFloatHoldingType"^^xsd:string . | ||
| 4089 | 4181 | ||
| 4090 | -_:b6 sp:varName "uri"^^xsd:string . | 4182 | +_:b79 |
| 4183 | + sp:varName "wellCementJobPlugBumpingType"^^xsd:string . | ||
| 4091 | 4184 | ||
| 4092 | -_:b5 sp:varName "uri"^^xsd:string . | 4185 | +_:b80 |
| 4186 | + sp:varName "wellCementJobTopPlugType"^^xsd:string . | ||
| 4093 | 4187 | ||
| 4094 | -_:b4 sp:varName "uri"^^xsd:string . | 4188 | +_:b81 |
| 4189 | + sp:varName "wellCementJobType"^^xsd:string . | ||
| 4095 | 4190 | ||
| 4096 | -_:b3 sp:varName "uri"^^xsd:string . | 4191 | +_:b82 |
| 4192 | + sp:varName "wellControlIncidentType"^^xsd:string . | ||
| 4097 | 4193 | ||
| 4098 | -_:b2 sp:varName "uri"^^xsd:string . | 4194 | +_:b83 |
| 4195 | + sp:varName "wellKillingType"^^xsd:string . | ||
| 4099 | 4196 | ||
| 4100 | -_:b1 sp:varName "uri"^^xsd:string . | 4197 | +_:b84 |
| 4198 | + sp:varName "wellTestType"^^xsd:string . | ||
| 4101 | 4199 | ||
| 4102 | -_:b13 | 4200 | +_:b85 |
| 4103 | - sp:varName "uri"^^xsd:string . | 4201 | + sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string . |
| 4202 | + | ||
| 4203 | +_:b86 | ||
| 4204 | + sp:varName "yieldPointScale"^^xsd:string . | ... | ... |
| ... | @@ -17,7 +17,9 @@ | ... | @@ -17,7 +17,9 @@ |
| 17 | > | 17 | > |
| 18 | 18 | ||
| 19 | <h1>Summary report Wellbore: {= rhspin:npdName(?wb) }</h1> | 19 | <h1>Summary report Wellbore: {= rhspin:npdName(?wb) }</h1> |
| 20 | - <div>End time: {= ?activityEnd}</div> | 20 | + |
| 21 | + <div>Period: {= fn:concat(ep-spin-lib:normalizeDateTime(?activityStart), ' - ', ep-spin-lib:normalizeDateTime(?activityEnd)) } </div> | ||
| 22 | + | ||
| 21 | <hr /> | 23 | <hr /> |
| 22 | 24 | ||
| 23 | 25 | ||
| ... | @@ -30,7 +32,7 @@ | ... | @@ -30,7 +32,7 @@ |
| 30 | <rhswp:NameValuePair arg:name="Status:" arg:value="{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType a ep-report:DailyDrillingReportFinalisationType . ?repType rdfs:label ?repTypeName}}" /> | 32 | <rhswp:NameValuePair arg:name="Status:" arg:value="{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType a ep-report:DailyDrillingReportFinalisationType . ?repType rdfs:label ?repTypeName}}" /> |
| 31 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{# SELECT ?operatorName WHERE {?activity ep-activity:drillingOperator ?operator . ?operator ep-core:name ?operatorName }}" /> | 33 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{# SELECT ?operatorName WHERE {?activity ep-activity:drillingOperator ?operator . ?operator ep-core:name ?operatorName }}" /> |
| 32 | <rhswp:NameValuePair arg:name="Rig name:" arg:value="{= rhspin:npdName(?rig) }" /> | 34 | <rhswp:NameValuePair arg:name="Rig name:" arg:value="{= rhspin:npdName(?rig) }" /> |
| 33 | - <rhswp:NameValuePair arg:name="Spud date:" arg:value="{= IF(bound(?spudDate), spif:dateFormat(?spudDate, 'yyyy-MM-dd'), ?unbound) }" /> | 35 | + <rhswp:NameValuePair arg:name="Spud date:" arg:value="{= IF(bound(?spudDate), spif:dateFormat(?spudDate, 'yyyy-MMM-dd'), ?unbound) }" /> |
| 34 | <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{# SELECT ?kellyElevMeas WHERE {?activity ep-activity:onRig ?rigState . ?rigState ep-core:hasPart ?kellyBushing . ?kellyBushing a ep-eqt:KellyBushing . ?kellyBushing ep-eqt:elevationOfKellyBushing ?kellyElev . ?kellyElev ep-core:metre ?kellyElevMeas}}" /> | 36 | <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{# SELECT ?kellyElevMeas WHERE {?activity ep-activity:onRig ?rigState . ?rigState ep-core:hasPart ?kellyBushing . ?kellyBushing a ep-eqt:KellyBushing . ?kellyBushing ep-eqt:elevationOfKellyBushing ?kellyElev . ?kellyElev ep-core:metre ?kellyElevMeas}}" /> |
| 35 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?statusActivityWb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" /> | 37 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?statusActivityWb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" /> |
| 36 | <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{# SELECT ?buttHolePresVal WHERE {?statusActivityWb ep-well:averageBottomHolePressure ?buttHolePres . ?buttHolePres ep-core:psig ?buttHolePresVal}}" /> | 38 | <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{# SELECT ?buttHolePresVal WHERE {?statusActivityWb ep-well:averageBottomHolePressure ?buttHolePres . ?buttHolePres ep-core:psig ?buttHolePresVal}}" /> |
| ... | @@ -45,14 +47,12 @@ | ... | @@ -45,14 +47,12 @@ |
| 45 | </td> | 47 | </td> |
| 46 | <td class="ddrSummaryRight"> | 48 | <td class="ddrSummaryRight"> |
| 47 | 49 | ||
| 48 | - <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(?activityStart, ' - ', ?activityEnd) }" /> | ||
| 49 | - | ||
| 50 | 50 | ||
| 51 | <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= rhspin:npdId(?wb) }" /> | 51 | <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= rhspin:npdId(?wb) }" /> |
| 52 | - <rhswp:NameValuePair arg:name="Created date:" arg:value="{= ?createdAt }" /> | 52 | + <rhswp:NameValuePair arg:name="Created time:" arg:value="{= ep-spin-lib:normalizeDateTime(?createdAt) }" /> |
| 53 | <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{# SELECT ?contractorName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:name ?contractorName}}" /> | 53 | <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{# SELECT ?contractorName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:name ?contractorName}}" /> |
| 54 | <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= rhspin:npdId(?rig) }" /> | 54 | <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= rhspin:npdId(?rig) }" /> |
| 55 | - <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= IF(bound(?completeDate), spif:dateFormat(?completeDate, 'yyyy-MM-dd'), ?unbound) }" /> | 55 | + <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= IF(bound(?completeDate), spif:dateFormat(?completeDate, 'yyyy-MMM-dd'), ?unbound) }" /> |
| 56 | <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{# SELECT ?waterDepthVal WHERE {?activity ep-activity:onRig ?rigState . ?rigState a ep-fac:TemporalPartOfARig . ?rigState ep-core:hasPart ?water . ?water a ep-fac:SurroundingWater . ?water ep-fac:depthOfSurroundingWater ?waterDepth . ?waterDepth ep-core:metre ?waterDepthVal}}" /> | 56 | <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{# SELECT ?waterDepthVal WHERE {?activity ep-activity:onRig ?rigState . ?rigState a ep-fac:TemporalPartOfARig . ?rigState ep-core:hasPart ?water . ?water a ep-fac:SurroundingWater . ?water ep-fac:depthOfSurroundingWater ?waterDepth . ?waterDepth ep-core:metre ?waterDepthVal}}" /> |
| 57 | <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{# SELECT ?wbPTTypeLabel WHERE { ?statusActivityWb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }" /> | 57 | <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{# SELECT ?wbPTTypeLabel WHERE { ?statusActivityWb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }" /> |
| 58 | <rhswp:NameValuePair arg:name="Temperature degC:" arg:value="{# SELECT ?buttHoleTempVal WHERE {?statusActivityWb ep-well:averageBottomHoleTemperature ?buttHoleTemp . ?buttHoleTemp ep-core:celsius ?buttHoleTempVal}}" /> | 58 | <rhswp:NameValuePair arg:name="Temperature degC:" arg:value="{# SELECT ?buttHoleTempVal WHERE {?statusActivityWb ep-well:averageBottomHoleTemperature ?buttHoleTemp . ?buttHoleTemp ep-core:celsius ?buttHoleTempVal}}" /> | ... | ... |
-
Please register or login to post a comment