Showing
1 changed file
with
158 additions
and
128 deletions
| ... | @@ -122,12 +122,15 @@ arg:wellName | ... | @@ -122,12 +122,15 @@ arg:wellName |
| 122 | rdfs:subClassOf spl:MiscFunctions ; | 122 | rdfs:subClassOf spl:MiscFunctions ; |
| 123 | spin:body | 123 | spin:body |
| 124 | [ rdf:type sp:Select ; | 124 | [ rdf:type sp:Select ; |
| 125 | - sp:resultVariables (_:b1) ; | 125 | + sp:resultVariables ([ sp:varName "subject"^^xsd:string |
| 126 | + ]) ; | ||
| 126 | sp:where ([ sp:object spin:_arg1 ; | 127 | sp:where ([ sp:object spin:_arg1 ; |
| 127 | sp:predicate | 128 | sp:predicate |
| 128 | [ sp:varName "predicate"^^xsd:string | 129 | [ sp:varName "predicate"^^xsd:string |
| 129 | ] ; | 130 | ] ; |
| 130 | - sp:subject _:b1 | 131 | + sp:subject |
| 132 | + [ sp:varName "subject"^^xsd:string | ||
| 133 | + ] | ||
| 131 | ]) | 134 | ]) |
| 132 | ] ; | 135 | ] ; |
| 133 | spin:constraint | 136 | spin:constraint |
| ... | @@ -494,20 +497,33 @@ rhspin:GetWellBoresOfWell | ... | @@ -494,20 +497,33 @@ rhspin:GetWellBoresOfWell |
| 494 | rdfs:subClassOf spin:SelectTemplates ; | 497 | rdfs:subClassOf spin:SelectTemplates ; |
| 495 | spin:body | 498 | spin:body |
| 496 | [ rdf:type sp:Select ; | 499 | [ rdf:type sp:Select ; |
| 497 | - sp:orderBy (_:b2) ; | 500 | + sp:orderBy ([ sp:varName "wellBoreName"^^xsd:string |
| 498 | - sp:resultVariables (_:b3 _:b2) ; | 501 | + ]) ; |
| 502 | + sp:resultVariables ([ sp:varName "wellBoreId"^^xsd:string | ||
| 503 | + ] [ sp:varName "wellBoreName"^^xsd:string | ||
| 504 | + ]) ; | ||
| 499 | sp:where ([ rdf:type sp:NamedGraph ; | 505 | sp:where ([ rdf:type sp:NamedGraph ; |
| 500 | sp:elements ([ sp:object | 506 | sp:elements ([ sp:object |
| 501 | [ sp:varName "well"^^xsd:string | 507 | [ sp:varName "well"^^xsd:string |
| 502 | ] ; | 508 | ] ; |
| 503 | sp:predicate <http://www.reportinghub.no/np/schema/npd#partOfWell> ; | 509 | sp:predicate <http://www.reportinghub.no/np/schema/npd#partOfWell> ; |
| 504 | - sp:subject _:b4 | 510 | + sp:subject |
| 505 | - ] [ sp:object _:b2 ; | 511 | + [ sp:varName "wellBore"^^xsd:string |
| 512 | + ] | ||
| 513 | + ] [ sp:object | ||
| 514 | + [ sp:varName "wellBoreName"^^xsd:string | ||
| 515 | + ] ; | ||
| 506 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 516 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 507 | - sp:subject _:b4 | 517 | + sp:subject |
| 508 | - ] [ sp:object _:b3 ; | 518 | + [ sp:varName "wellBore"^^xsd:string |
| 519 | + ] | ||
| 520 | + ] [ sp:object | ||
| 521 | + [ sp:varName "wellBoreId"^^xsd:string | ||
| 522 | + ] ; | ||
| 509 | sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; | 523 | sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; |
| 510 | - sp:subject _:b4 | 524 | + sp:subject |
| 525 | + [ sp:varName "wellBore"^^xsd:string | ||
| 526 | + ] | ||
| 511 | ]) ; | 527 | ]) ; |
| 512 | sp:graphNameNode npdata:npd | 528 | sp:graphNameNode npdata:npd |
| 513 | ]) | 529 | ]) |
| ... | @@ -527,29 +543,50 @@ rhspin:GetWellsOfCompanyName | ... | @@ -527,29 +543,50 @@ rhspin:GetWellsOfCompanyName |
| 527 | spin:body | 543 | spin:body |
| 528 | [ rdf:type sp:Select ; | 544 | [ rdf:type sp:Select ; |
| 529 | sp:distinct "true"^^xsd:boolean ; | 545 | sp:distinct "true"^^xsd:boolean ; |
| 530 | - sp:orderBy (_:b5) ; | 546 | + sp:orderBy ([ sp:varName "wellName"^^xsd:string |
| 531 | - sp:resultVariables (_:b6 _:b5) ; | 547 | + ]) ; |
| 548 | + sp:resultVariables ([ sp:varName "well"^^xsd:string | ||
| 549 | + ] [ sp:varName "wellName"^^xsd:string | ||
| 550 | + ]) ; | ||
| 532 | sp:where ([ rdf:type sp:NamedGraph ; | 551 | sp:where ([ rdf:type sp:NamedGraph ; |
| 533 | sp:elements ([ sp:object | 552 | sp:elements ([ sp:object |
| 534 | [ sp:varName "companyName"^^xsd:string | 553 | [ sp:varName "companyName"^^xsd:string |
| 535 | ] ; | 554 | ] ; |
| 536 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 555 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 537 | - sp:subject _:b7 | 556 | + sp:subject |
| 557 | + [ sp:varName "company"^^xsd:string | ||
| 558 | + ] | ||
| 538 | ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; | 559 | ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; |
| 539 | sp:predicate rdf:type ; | 560 | sp:predicate rdf:type ; |
| 540 | - sp:subject _:b7 | 561 | + sp:subject |
| 541 | - ] [ sp:object _:b8 ; | 562 | + [ sp:varName "company"^^xsd:string |
| 563 | + ] | ||
| 564 | + ] [ sp:object | ||
| 565 | + [ sp:varName "wellBore"^^xsd:string | ||
| 566 | + ] ; | ||
| 542 | sp:predicate rhspin:companyHasLicenceForWellBore ; | 567 | sp:predicate rhspin:companyHasLicenceForWellBore ; |
| 543 | - sp:subject _:b7 | 568 | + sp:subject |
| 544 | - ] [ sp:object _:b6 ; | 569 | + [ sp:varName "company"^^xsd:string |
| 570 | + ] | ||
| 571 | + ] [ sp:object | ||
| 572 | + [ sp:varName "well"^^xsd:string | ||
| 573 | + ] ; | ||
| 545 | sp:predicate <http://www.reportinghub.no/np/schema/npd#partOfWell> ; | 574 | sp:predicate <http://www.reportinghub.no/np/schema/npd#partOfWell> ; |
| 546 | - sp:subject _:b8 | 575 | + sp:subject |
| 576 | + [ sp:varName "wellBore"^^xsd:string | ||
| 577 | + ] | ||
| 547 | ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | 578 | ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; |
| 548 | sp:predicate rdf:type ; | 579 | sp:predicate rdf:type ; |
| 549 | - sp:subject _:b6 | 580 | + sp:subject |
| 550 | - ] [ sp:object _:b5 ; | 581 | + [ sp:varName "well"^^xsd:string |
| 582 | + ] | ||
| 583 | + ] [ sp:object | ||
| 584 | + [ sp:varName "wellName"^^xsd:string | ||
| 585 | + ] ; | ||
| 551 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 586 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 552 | - sp:subject _:b6 | 587 | + sp:subject |
| 588 | + [ sp:varName "well"^^xsd:string | ||
| 589 | + ] | ||
| 553 | ]) ; | 590 | ]) ; |
| 554 | sp:graphNameNode npdata:npd | 591 | sp:graphNameNode npdata:npd |
| 555 | ]) | 592 | ]) |
| ... | @@ -920,16 +957,21 @@ rhspin:companyWithName | ... | @@ -920,16 +957,21 @@ rhspin:companyWithName |
| 920 | rdfs:subClassOf spin:Functions ; | 957 | rdfs:subClassOf spin:Functions ; |
| 921 | spin:body | 958 | spin:body |
| 922 | [ rdf:type sp:Select ; | 959 | [ rdf:type sp:Select ; |
| 923 | - sp:resultVariables (_:b9) ; | 960 | + sp:resultVariables ([ sp:varName "company"^^xsd:string |
| 961 | + ]) ; | ||
| 924 | sp:where ([ rdf:type sp:NamedGraph ; | 962 | sp:where ([ rdf:type sp:NamedGraph ; |
| 925 | sp:elements ([ sp:object | 963 | sp:elements ([ sp:object |
| 926 | [ sp:varName "name"^^xsd:string | 964 | [ sp:varName "name"^^xsd:string |
| 927 | ] ; | 965 | ] ; |
| 928 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 966 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 929 | - sp:subject _:b9 | 967 | + sp:subject |
| 968 | + [ sp:varName "company"^^xsd:string | ||
| 969 | + ] | ||
| 930 | ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; | 970 | ] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; |
| 931 | sp:predicate rdf:type ; | 971 | sp:predicate rdf:type ; |
| 932 | - sp:subject _:b9 | 972 | + sp:subject |
| 973 | + [ sp:varName "company"^^xsd:string | ||
| 974 | + ] | ||
| 933 | ]) ; | 975 | ]) ; |
| 934 | sp:graphNameNode npdata:npd | 976 | sp:graphNameNode npdata:npd |
| 935 | ]) | 977 | ]) |
| ... | @@ -994,33 +1036,47 @@ rhspin:currentUserHasAccessToWellBoreWithId | ... | @@ -994,33 +1036,47 @@ rhspin:currentUserHasAccessToWellBoreWithId |
| 994 | sp:expression | 1036 | sp:expression |
| 995 | [ rdf:type rhspin:companyName | 1037 | [ rdf:type rhspin:companyName |
| 996 | ] ; | 1038 | ] ; |
| 997 | - sp:variable _:b10 | 1039 | + sp:variable |
| 1040 | + [ sp:varName "companyName"^^xsd:string | ||
| 1041 | + ] | ||
| 998 | ] [ rdf:type sp:Bind ; | 1042 | ] [ rdf:type sp:Bind ; |
| 999 | sp:expression | 1043 | sp:expression |
| 1000 | [ rdf:type rhspin:companyWithName ; | 1044 | [ rdf:type rhspin:companyWithName ; |
| 1001 | - arg:name _:b10 | 1045 | + arg:name |
| 1046 | + [ sp:varName "companyName"^^xsd:string | ||
| 1047 | + ] | ||
| 1002 | ] ; | 1048 | ] ; |
| 1003 | - sp:variable _:b11 | 1049 | + sp:variable |
| 1050 | + [ sp:varName "company"^^xsd:string | ||
| 1051 | + ] | ||
| 1004 | ] [ rdf:type sp:Bind ; | 1052 | ] [ rdf:type sp:Bind ; |
| 1005 | sp:expression | 1053 | sp:expression |
| 1006 | [ rdf:type rhspin:wellBoreById ; | 1054 | [ rdf:type rhspin:wellBoreById ; |
| 1007 | arg:id [ sp:varName "id"^^xsd:string | 1055 | arg:id [ sp:varName "id"^^xsd:string |
| 1008 | ] | 1056 | ] |
| 1009 | ] ; | 1057 | ] ; |
| 1010 | - sp:variable _:b12 | 1058 | + sp:variable |
| 1059 | + [ sp:varName "wellBore"^^xsd:string | ||
| 1060 | + ] | ||
| 1011 | ] [ rdf:type sp:Filter ; | 1061 | ] [ rdf:type sp:Filter ; |
| 1012 | sp:expression | 1062 | sp:expression |
| 1013 | [ rdf:type sp:and ; | 1063 | [ rdf:type sp:and ; |
| 1014 | sp:arg1 [ rdf:type sp:bound ; | 1064 | sp:arg1 [ rdf:type sp:bound ; |
| 1015 | - sp:arg1 _:b12 | 1065 | + sp:arg1 [ sp:varName "wellBore"^^xsd:string |
| 1066 | + ] | ||
| 1016 | ] ; | 1067 | ] ; |
| 1017 | sp:arg2 [ rdf:type sp:bound ; | 1068 | sp:arg2 [ rdf:type sp:bound ; |
| 1018 | - sp:arg1 _:b11 | 1069 | + sp:arg1 [ sp:varName "company"^^xsd:string |
| 1070 | + ] | ||
| 1019 | ] | 1071 | ] |
| 1020 | ] | 1072 | ] |
| 1021 | - ] [ sp:object _:b12 ; | 1073 | + ] [ sp:object |
| 1074 | + [ sp:varName "wellBore"^^xsd:string | ||
| 1075 | + ] ; | ||
| 1022 | sp:predicate rhspin:companyHasLicenceForWellBore ; | 1076 | sp:predicate rhspin:companyHasLicenceForWellBore ; |
| 1023 | - sp:subject _:b11 | 1077 | + sp:subject |
| 1078 | + [ sp:varName "company"^^xsd:string | ||
| 1079 | + ] | ||
| 1024 | ]) | 1080 | ]) |
| 1025 | ] ; | 1081 | ] ; |
| 1026 | spin:constraint | 1082 | spin:constraint |
| ... | @@ -1398,13 +1454,20 @@ rhspin:dtypeValue | ... | @@ -1398,13 +1454,20 @@ rhspin:dtypeValue |
| 1398 | rdfs:subClassOf spl:OntologyFunctions ; | 1454 | rdfs:subClassOf spl:OntologyFunctions ; |
| 1399 | spin:body | 1455 | spin:body |
| 1400 | [ rdf:type sp:Select ; | 1456 | [ rdf:type sp:Select ; |
| 1401 | - sp:resultVariables (_:b13) ; | 1457 | + sp:resultVariables ([ sp:varName "value"^^xsd:string |
| 1402 | - sp:where ([ sp:object _:b14 ; | 1458 | + ]) ; |
| 1459 | + sp:where ([ sp:object | ||
| 1460 | + [ sp:varName "reif"^^xsd:string | ||
| 1461 | + ] ; | ||
| 1403 | sp:predicate spin:_arg2 ; | 1462 | sp:predicate spin:_arg2 ; |
| 1404 | sp:subject spin:_arg1 | 1463 | sp:subject spin:_arg1 |
| 1405 | - ] [ sp:object _:b13 ; | 1464 | + ] [ sp:object |
| 1465 | + [ sp:varName "value"^^xsd:string | ||
| 1466 | + ] ; | ||
| 1406 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 1467 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 1407 | - sp:subject _:b14 | 1468 | + sp:subject |
| 1469 | + [ sp:varName "reif"^^xsd:string | ||
| 1470 | + ] | ||
| 1408 | ]) | 1471 | ]) |
| 1409 | ] ; | 1472 | ] ; |
| 1410 | spin:constraint | 1473 | spin:constraint |
| ... | @@ -1758,9 +1821,12 @@ rhspin:licenceForWellBore | ... | @@ -1758,9 +1821,12 @@ rhspin:licenceForWellBore |
| 1758 | rdfs:subClassOf spin:Functions ; | 1821 | rdfs:subClassOf spin:Functions ; |
| 1759 | spin:body | 1822 | spin:body |
| 1760 | [ rdf:type sp:Select ; | 1823 | [ rdf:type sp:Select ; |
| 1761 | - sp:resultVariables (_:b15) ; | 1824 | + sp:resultVariables ([ sp:varName "licence"^^xsd:string |
| 1825 | + ]) ; | ||
| 1762 | sp:where ([ rdf:type sp:NamedGraph ; | 1826 | sp:where ([ rdf:type sp:NamedGraph ; |
| 1763 | - sp:elements ([ sp:object _:b15 ; | 1827 | + sp:elements ([ sp:object |
| 1828 | + [ sp:varName "licence"^^xsd:string | ||
| 1829 | + ] ; | ||
| 1764 | sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ; | 1830 | sp:predicate <http://www.reportinghub.no/np/schema/npd#drilledInProductionLicence> ; |
| 1765 | sp:subject | 1831 | sp:subject |
| 1766 | [ sp:varName "wellBore"^^xsd:string | 1832 | [ sp:varName "wellBore"^^xsd:string |
| ... | @@ -1784,7 +1850,8 @@ rhspin:normalizeString | ... | @@ -1784,7 +1850,8 @@ rhspin:normalizeString |
| 1784 | rdfs:subClassOf spl:StringFunctions ; | 1850 | rdfs:subClassOf spl:StringFunctions ; |
| 1785 | spin:body | 1851 | spin:body |
| 1786 | [ rdf:type sp:Select ; | 1852 | [ rdf:type sp:Select ; |
| 1787 | - sp:resultVariables (_:b16) ; | 1853 | + sp:resultVariables ([ sp:varName "normalizedStr"^^xsd:string |
| 1854 | + ]) ; | ||
| 1788 | sp:where ([ rdf:type sp:Bind ; | 1855 | sp:where ([ rdf:type sp:Bind ; |
| 1789 | sp:expression | 1856 | sp:expression |
| 1790 | [ rdf:type spif:regex ; | 1857 | [ rdf:type spif:regex ; |
| ... | @@ -1792,67 +1859,93 @@ rhspin:normalizeString | ... | @@ -1792,67 +1859,93 @@ rhspin:normalizeString |
| 1792 | sp:arg2 "\\((.*)\\)" ; | 1859 | sp:arg2 "\\((.*)\\)" ; |
| 1793 | sp:arg3 "" | 1860 | sp:arg3 "" |
| 1794 | ] ; | 1861 | ] ; |
| 1795 | - sp:variable _:b17 | 1862 | + sp:variable |
| 1863 | + [ sp:varName "s1"^^xsd:string | ||
| 1864 | + ] | ||
| 1796 | ] [ rdf:type sp:Bind ; | 1865 | ] [ rdf:type sp:Bind ; |
| 1797 | sp:expression | 1866 | sp:expression |
| 1798 | [ rdf:type spif:trim ; | 1867 | [ rdf:type spif:trim ; |
| 1799 | - sp:arg1 _:b17 | 1868 | + sp:arg1 [ sp:varName "s1"^^xsd:string |
| 1869 | + ] | ||
| 1800 | ] ; | 1870 | ] ; |
| 1801 | - sp:variable _:b18 | 1871 | + sp:variable |
| 1872 | + [ sp:varName "s2"^^xsd:string | ||
| 1873 | + ] | ||
| 1802 | ] [ rdf:type sp:Bind ; | 1874 | ] [ rdf:type sp:Bind ; |
| 1803 | sp:expression | 1875 | sp:expression |
| 1804 | [ rdf:type spif:encodeURL ; | 1876 | [ rdf:type spif:encodeURL ; |
| 1805 | - sp:arg1 _:b18 | 1877 | + sp:arg1 [ sp:varName "s2"^^xsd:string |
| 1878 | + ] | ||
| 1806 | ] ; | 1879 | ] ; |
| 1807 | - sp:variable _:b19 | 1880 | + sp:variable |
| 1881 | + [ sp:varName "t0a"^^xsd:string | ||
| 1882 | + ] | ||
| 1808 | ] [ rdf:type sp:Bind ; | 1883 | ] [ rdf:type sp:Bind ; |
| 1809 | sp:expression | 1884 | sp:expression |
| 1810 | [ rdf:type spif:regex ; | 1885 | [ rdf:type spif:regex ; |
| 1811 | - sp:arg1 _:b19 ; | 1886 | + sp:arg1 [ sp:varName "t0a"^^xsd:string |
| 1887 | + ] ; | ||
| 1812 | sp:arg2 "%2F" ; | 1888 | sp:arg2 "%2F" ; |
| 1813 | sp:arg3 "_" | 1889 | sp:arg3 "_" |
| 1814 | ] ; | 1890 | ] ; |
| 1815 | - sp:variable _:b20 | 1891 | + sp:variable |
| 1892 | + [ sp:varName "t0b"^^xsd:string | ||
| 1893 | + ] | ||
| 1816 | ] [ rdf:type sp:Bind ; | 1894 | ] [ rdf:type sp:Bind ; |
| 1817 | sp:expression | 1895 | sp:expression |
| 1818 | [ rdf:type spif:regex ; | 1896 | [ rdf:type spif:regex ; |
| 1819 | - sp:arg1 _:b20 ; | 1897 | + sp:arg1 [ sp:varName "t0b"^^xsd:string |
| 1898 | + ] ; | ||
| 1820 | sp:arg2 "%[0-9A-F][0-9A-F]" ; | 1899 | sp:arg2 "%[0-9A-F][0-9A-F]" ; |
| 1821 | sp:arg3 "" | 1900 | sp:arg3 "" |
| 1822 | ] ; | 1901 | ] ; |
| 1823 | - sp:variable _:b21 | 1902 | + sp:variable |
| 1903 | + [ sp:varName "t1"^^xsd:string | ||
| 1904 | + ] | ||
| 1824 | ] [ rdf:type sp:Bind ; | 1905 | ] [ rdf:type sp:Bind ; |
| 1825 | sp:expression | 1906 | sp:expression |
| 1826 | [ rdf:type spif:regex ; | 1907 | [ rdf:type spif:regex ; |
| 1827 | - sp:arg1 _:b21 ; | 1908 | + sp:arg1 [ sp:varName "t1"^^xsd:string |
| 1909 | + ] ; | ||
| 1828 | sp:arg2 "\\+" ; | 1910 | sp:arg2 "\\+" ; |
| 1829 | sp:arg3 "_" | 1911 | sp:arg3 "_" |
| 1830 | ] ; | 1912 | ] ; |
| 1831 | - sp:variable _:b22 | 1913 | + sp:variable |
| 1914 | + [ sp:varName "t2"^^xsd:string | ||
| 1915 | + ] | ||
| 1832 | ] [ rdf:type sp:Bind ; | 1916 | ] [ rdf:type sp:Bind ; |
| 1833 | sp:expression | 1917 | sp:expression |
| 1834 | [ rdf:type spif:regex ; | 1918 | [ rdf:type spif:regex ; |
| 1835 | - sp:arg1 _:b22 ; | 1919 | + sp:arg1 [ sp:varName "t2"^^xsd:string |
| 1920 | + ] ; | ||
| 1836 | sp:arg2 "_+" ; | 1921 | sp:arg2 "_+" ; |
| 1837 | sp:arg3 "_" | 1922 | sp:arg3 "_" |
| 1838 | ] ; | 1923 | ] ; |
| 1839 | - sp:variable _:b23 | 1924 | + sp:variable |
| 1925 | + [ sp:varName "t3"^^xsd:string | ||
| 1926 | + ] | ||
| 1840 | ] [ rdf:type sp:Bind ; | 1927 | ] [ rdf:type sp:Bind ; |
| 1841 | sp:expression | 1928 | sp:expression |
| 1842 | [ rdf:type spif:regex ; | 1929 | [ rdf:type spif:regex ; |
| 1843 | - sp:arg1 _:b23 ; | 1930 | + sp:arg1 [ sp:varName "t3"^^xsd:string |
| 1931 | + ] ; | ||
| 1844 | sp:arg2 "\\*" ; | 1932 | sp:arg2 "\\*" ; |
| 1845 | sp:arg3 "" | 1933 | sp:arg3 "" |
| 1846 | ] ; | 1934 | ] ; |
| 1847 | - sp:variable _:b24 | 1935 | + sp:variable |
| 1936 | + [ sp:varName "t4"^^xsd:string | ||
| 1937 | + ] | ||
| 1848 | ] [ rdf:type sp:Bind ; | 1938 | ] [ rdf:type sp:Bind ; |
| 1849 | sp:expression | 1939 | sp:expression |
| 1850 | [ rdf:type xsd:string ; | 1940 | [ rdf:type xsd:string ; |
| 1851 | sp:arg1 [ rdf:type spif:upperCase ; | 1941 | sp:arg1 [ rdf:type spif:upperCase ; |
| 1852 | - sp:arg1 _:b24 | 1942 | + sp:arg1 [ sp:varName "t4"^^xsd:string |
| 1943 | + ] | ||
| 1853 | ] | 1944 | ] |
| 1854 | ] ; | 1945 | ] ; |
| 1855 | - sp:variable _:b16 | 1946 | + sp:variable |
| 1947 | + [ sp:varName "normalizedStr"^^xsd:string | ||
| 1948 | + ] | ||
| 1856 | ]) | 1949 | ]) |
| 1857 | ] ; | 1950 | ] ; |
| 1858 | spin:constraint | 1951 | spin:constraint |
| ... | @@ -2085,9 +2178,12 @@ rhspin:npdId | ... | @@ -2085,9 +2178,12 @@ rhspin:npdId |
| 2085 | rdfs:subClassOf spl:StringFunctions ; | 2178 | rdfs:subClassOf spl:StringFunctions ; |
| 2086 | spin:body | 2179 | spin:body |
| 2087 | [ rdf:type sp:Select ; | 2180 | [ rdf:type sp:Select ; |
| 2088 | - sp:resultVariables (_:b25) ; | 2181 | + sp:resultVariables ([ sp:varName "id"^^xsd:string |
| 2182 | + ]) ; | ||
| 2089 | sp:where ([ rdf:type sp:NamedGraph ; | 2183 | sp:where ([ rdf:type sp:NamedGraph ; |
| 2090 | - sp:elements ([ sp:object _:b25 ; | 2184 | + sp:elements ([ sp:object |
| 2185 | + [ sp:varName "id"^^xsd:string | ||
| 2186 | + ] ; | ||
| 2091 | sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; | 2187 | sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; |
| 2092 | sp:subject | 2188 | sp:subject |
| 2093 | [ sp:varName "resource"^^xsd:string | 2189 | [ sp:varName "resource"^^xsd:string |
| ... | @@ -2260,9 +2356,12 @@ rhspin:npdName | ... | @@ -2260,9 +2356,12 @@ rhspin:npdName |
| 2260 | rdfs:subClassOf spl:StringFunctions ; | 2356 | rdfs:subClassOf spl:StringFunctions ; |
| 2261 | spin:body | 2357 | spin:body |
| 2262 | [ rdf:type sp:Select ; | 2358 | [ rdf:type sp:Select ; |
| 2263 | - sp:resultVariables (_:b26) ; | 2359 | + sp:resultVariables ([ sp:varName "name"^^xsd:string |
| 2360 | + ]) ; | ||
| 2264 | sp:where ([ rdf:type sp:NamedGraph ; | 2361 | sp:where ([ rdf:type sp:NamedGraph ; |
| 2265 | - sp:elements ([ sp:object _:b26 ; | 2362 | + sp:elements ([ sp:object |
| 2363 | + [ sp:varName "name"^^xsd:string | ||
| 2364 | + ] ; | ||
| 2266 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 2365 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 2267 | sp:subject | 2366 | sp:subject |
| 2268 | [ sp:varName "resource"^^xsd:string | 2367 | [ sp:varName "resource"^^xsd:string |
| ... | @@ -2654,72 +2753,3 @@ rhspin:wellByName | ... | @@ -2654,72 +2753,3 @@ rhspin:wellByName |
| 2654 | spl:valueType xsd:string | 2753 | spl:valueType xsd:string |
| 2655 | ] ; | 2754 | ] ; |
| 2656 | spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> . | 2755 | spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> . |
| 2657 | - | ||
| 2658 | -_:b11 | ||
| 2659 | - sp:varName "company"^^xsd:string . | ||
| 2660 | - | ||
| 2661 | -_:b7 sp:varName "company"^^xsd:string . | ||
| 2662 | - | ||
| 2663 | -_:b9 sp:varName "company"^^xsd:string . | ||
| 2664 | - | ||
| 2665 | -_:b10 | ||
| 2666 | - sp:varName "companyName"^^xsd:string . | ||
| 2667 | - | ||
| 2668 | -_:b25 | ||
| 2669 | - sp:varName "id"^^xsd:string . | ||
| 2670 | - | ||
| 2671 | -_:b15 | ||
| 2672 | - sp:varName "licence"^^xsd:string . | ||
| 2673 | - | ||
| 2674 | -_:b26 | ||
| 2675 | - sp:varName "name"^^xsd:string . | ||
| 2676 | - | ||
| 2677 | -_:b16 | ||
| 2678 | - sp:varName "normalizedStr"^^xsd:string . | ||
| 2679 | - | ||
| 2680 | -_:b14 | ||
| 2681 | - sp:varName "reif"^^xsd:string . | ||
| 2682 | - | ||
| 2683 | -_:b17 | ||
| 2684 | - sp:varName "s1"^^xsd:string . | ||
| 2685 | - | ||
| 2686 | -_:b18 | ||
| 2687 | - sp:varName "s2"^^xsd:string . | ||
| 2688 | - | ||
| 2689 | -_:b1 sp:varName "subject"^^xsd:string . | ||
| 2690 | - | ||
| 2691 | -_:b19 | ||
| 2692 | - sp:varName "t0a"^^xsd:string . | ||
| 2693 | - | ||
| 2694 | -_:b20 | ||
| 2695 | - sp:varName "t0b"^^xsd:string . | ||
| 2696 | - | ||
| 2697 | -_:b21 | ||
| 2698 | - sp:varName "t1"^^xsd:string . | ||
| 2699 | - | ||
| 2700 | -_:b22 | ||
| 2701 | - sp:varName "t2"^^xsd:string . | ||
| 2702 | - | ||
| 2703 | -_:b23 | ||
| 2704 | - sp:varName "t3"^^xsd:string . | ||
| 2705 | - | ||
| 2706 | -_:b24 | ||
| 2707 | - sp:varName "t4"^^xsd:string . | ||
| 2708 | - | ||
| 2709 | -_:b13 | ||
| 2710 | - sp:varName "value"^^xsd:string . | ||
| 2711 | - | ||
| 2712 | -_:b6 sp:varName "well"^^xsd:string . | ||
| 2713 | - | ||
| 2714 | -_:b12 | ||
| 2715 | - sp:varName "wellBore"^^xsd:string . | ||
| 2716 | - | ||
| 2717 | -_:b8 sp:varName "wellBore"^^xsd:string . | ||
| 2718 | - | ||
| 2719 | -_:b4 sp:varName "wellBore"^^xsd:string . | ||
| 2720 | - | ||
| 2721 | -_:b3 sp:varName "wellBoreId"^^xsd:string . | ||
| 2722 | - | ||
| 2723 | -_:b2 sp:varName "wellBoreName"^^xsd:string . | ||
| 2724 | - | ||
| 2725 | -_:b5 sp:varName "wellName"^^xsd:string . | ... | ... |
-
Please register or login to post a comment