Showing
1 changed file
with
54 additions
and
40 deletions
... | @@ -116,14 +116,14 @@ arg:wellName | ... | @@ -116,14 +116,14 @@ arg:wellName |
116 | ] ; | 116 | ] ; |
117 | spin:constraint | 117 | spin:constraint |
118 | [ rdf:type spl:Argument ; | 118 | [ rdf:type spl:Argument ; |
119 | - rdfs:comment "The property that must be used in the result resource."^^xsd:string ; | 119 | + rdfs:comment "The value to match against."^^xsd:string ; |
120 | - spl:predicate <http://topbraid.org/spin/spinmapl#predicate> ; | 120 | + spl:predicate sp:arg1 |
121 | - spl:valueType rdf:Property | ||
122 | ] ; | 121 | ] ; |
123 | spin:constraint | 122 | spin:constraint |
124 | [ rdf:type spl:Argument ; | 123 | [ rdf:type spl:Argument ; |
125 | - rdfs:comment "The value to match against."^^xsd:string ; | 124 | + rdfs:comment "The property that must be used in the result resource."^^xsd:string ; |
126 | - spl:predicate sp:arg1 | 125 | + spl:predicate <http://topbraid.org/spin/spinmapl#predicate> ; |
126 | + spl:valueType rdf:Property | ||
127 | ] ; | 127 | ] ; |
128 | spin:returnType rdfs:Resource . | 128 | spin:returnType rdfs:Resource . |
129 | 129 | ||
... | @@ -418,15 +418,15 @@ rhspin:WDRTableTemplates | ... | @@ -418,15 +418,15 @@ rhspin:WDRTableTemplates |
418 | spin:abstract "true"^^xsd:boolean ; | 418 | spin:abstract "true"^^xsd:boolean ; |
419 | spin:constraint | 419 | spin:constraint |
420 | [ rdf:type spl:Argument ; | 420 | [ rdf:type spl:Argument ; |
421 | - rdfs:comment "The DDR that serves as root of the query."^^xsd:string ; | ||
422 | - spl:predicate arg:wellBore ; | ||
423 | - spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore> | ||
424 | - ] ; | ||
425 | - spin:constraint | ||
426 | - [ rdf:type spl:Argument ; | ||
427 | rdfs:comment "The start date of the reporting week."^^xsd:string ; | 421 | rdfs:comment "The start date of the reporting week."^^xsd:string ; |
428 | spl:predicate arg:startDate ; | 422 | spl:predicate arg:startDate ; |
429 | spl:valueType xsd:date | 423 | spl:valueType xsd:date |
424 | + ] ; | ||
425 | + spin:constraint | ||
426 | + [ rdf:type spl:Argument ; | ||
427 | + rdfs:comment "The DDR that serves as root of the query."^^xsd:string ; | ||
428 | + spl:predicate arg:wellBore ; | ||
429 | + spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore> | ||
430 | ] . | 430 | ] . |
431 | 431 | ||
432 | rhspin:baaById | 432 | rhspin:baaById |
... | @@ -876,16 +876,16 @@ rhspin:ddrOfWeek | ... | @@ -876,16 +876,16 @@ rhspin:ddrOfWeek |
876 | ] ; | 876 | ] ; |
877 | spin:constraint | 877 | spin:constraint |
878 | [ rdf:type spl:Argument ; | 878 | [ rdf:type spl:Argument ; |
879 | - rdfs:comment "The well bore that the DDR must be about."^^xsd:string ; | ||
880 | - spl:predicate sp:arg2 ; | ||
881 | - spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore> | ||
882 | - ] ; | ||
883 | - spin:constraint | ||
884 | - [ rdf:type spl:Argument ; | ||
885 | rdfs:comment "The first day of the week."^^xsd:string ; | 879 | rdfs:comment "The first day of the week."^^xsd:string ; |
886 | spl:predicate sp:arg1 ; | 880 | spl:predicate sp:arg1 ; |
887 | spl:valueType xsd:date | 881 | spl:valueType xsd:date |
888 | ] ; | 882 | ] ; |
883 | + spin:constraint | ||
884 | + [ rdf:type spl:Argument ; | ||
885 | + rdfs:comment "The well bore that the DDR must be about."^^xsd:string ; | ||
886 | + spl:predicate sp:arg2 ; | ||
887 | + spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore> | ||
888 | + ] ; | ||
889 | spin:returnType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> . | 889 | spin:returnType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> . |
890 | 890 | ||
891 | rhspin:ddrWellBoreId | 891 | rhspin:ddrWellBoreId |
... | @@ -972,15 +972,15 @@ rhspin:dtypeValue | ... | @@ -972,15 +972,15 @@ rhspin:dtypeValue |
972 | ] ; | 972 | ] ; |
973 | spin:constraint | 973 | spin:constraint |
974 | [ rdf:type spl:Argument ; | 974 | [ rdf:type spl:Argument ; |
975 | - rdfs:comment "The subject of the value."^^xsd:string ; | ||
976 | - spl:predicate sp:arg1 ; | ||
977 | - spl:valueType rdfs:Resource | ||
978 | - ] ; | ||
979 | - spin:constraint | ||
980 | - [ rdf:type spl:Argument ; | ||
981 | rdfs:comment "The predicate that points to the reified value."^^xsd:string ; | 975 | rdfs:comment "The predicate that points to the reified value."^^xsd:string ; |
982 | spl:predicate sp:arg2 ; | 976 | spl:predicate sp:arg2 ; |
983 | spl:valueType rdf:Property | 977 | spl:valueType rdf:Property |
978 | + ] ; | ||
979 | + spin:constraint | ||
980 | + [ rdf:type spl:Argument ; | ||
981 | + rdfs:comment "The subject of the value."^^xsd:string ; | ||
982 | + spl:predicate sp:arg1 ; | ||
983 | + spl:valueType rdfs:Resource | ||
984 | ] . | 984 | ] . |
985 | 985 | ||
986 | rhspin:facilityById | 986 | rhspin:facilityById |
... | @@ -1623,17 +1623,17 @@ rhspin:npdIndividualById | ... | @@ -1623,17 +1623,17 @@ rhspin:npdIndividualById |
1623 | ] ; | 1623 | ] ; |
1624 | spin:constraint | 1624 | spin:constraint |
1625 | [ rdf:type spl:Argument ; | 1625 | [ rdf:type spl:Argument ; |
1626 | + rdfs:comment "The NPD id to match."^^xsd:string ; | ||
1627 | + spl:predicate arg:id ; | ||
1628 | + spl:valueType xsd:string | ||
1629 | + ] ; | ||
1630 | + spin:constraint | ||
1631 | + [ rdf:type spl:Argument ; | ||
1626 | rdfs:comment "The rdf:type that the result must have."^^xsd:string ; | 1632 | rdfs:comment "The rdf:type that the result must have."^^xsd:string ; |
1627 | spl:optional "true"^^xsd:boolean ; | 1633 | spl:optional "true"^^xsd:boolean ; |
1628 | spl:predicate arg:type ; | 1634 | spl:predicate arg:type ; |
1629 | spl:valueType rdfs:Class | 1635 | spl:valueType rdfs:Class |
1630 | ] ; | 1636 | ] ; |
1631 | - spin:constraint | ||
1632 | - [ rdf:type spl:Argument ; | ||
1633 | - rdfs:comment "The NPD id to match."^^xsd:string ; | ||
1634 | - spl:predicate arg:id ; | ||
1635 | - spl:valueType xsd:string | ||
1636 | - ] ; | ||
1637 | spin:returnType <http://www.reportinghub.no/np/schema/npd#Individual> . | 1637 | spin:returnType <http://www.reportinghub.no/np/schema/npd#Individual> . |
1638 | 1638 | ||
1639 | rhspin:npdIndividualByName | 1639 | rhspin:npdIndividualByName |
... | @@ -1698,17 +1698,17 @@ rhspin:npdIndividualByName | ... | @@ -1698,17 +1698,17 @@ rhspin:npdIndividualByName |
1698 | ] ; | 1698 | ] ; |
1699 | spin:constraint | 1699 | spin:constraint |
1700 | [ rdf:type spl:Argument ; | 1700 | [ rdf:type spl:Argument ; |
1701 | + rdfs:comment "The NPD name to match."^^xsd:string ; | ||
1702 | + spl:predicate arg:name ; | ||
1703 | + spl:valueType xsd:string | ||
1704 | + ] ; | ||
1705 | + spin:constraint | ||
1706 | + [ rdf:type spl:Argument ; | ||
1701 | rdfs:comment "The rdf:type that the result must have."^^xsd:string ; | 1707 | rdfs:comment "The rdf:type that the result must have."^^xsd:string ; |
1702 | spl:optional "true"^^xsd:boolean ; | 1708 | spl:optional "true"^^xsd:boolean ; |
1703 | spl:predicate arg:type ; | 1709 | spl:predicate arg:type ; |
1704 | spl:valueType rdfs:Class | 1710 | spl:valueType rdfs:Class |
1705 | ] ; | 1711 | ] ; |
1706 | - spin:constraint | ||
1707 | - [ rdf:type spl:Argument ; | ||
1708 | - rdfs:comment "The NPD name to match."^^xsd:string ; | ||
1709 | - spl:predicate arg:name ; | ||
1710 | - spl:valueType xsd:string | ||
1711 | - ] ; | ||
1712 | spin:returnType <http://www.reportinghub.no/np/schema/npd#Individual> . | 1712 | spin:returnType <http://www.reportinghub.no/np/schema/npd#Individual> . |
1713 | 1713 | ||
1714 | rhspin:npdName | 1714 | rhspin:npdName |
... | @@ -1754,9 +1754,8 @@ rhspin:npdTripleExists | ... | @@ -1754,9 +1754,8 @@ rhspin:npdTripleExists |
1754 | ] ; | 1754 | ] ; |
1755 | spin:constraint | 1755 | spin:constraint |
1756 | [ rdf:type spl:Argument ; | 1756 | [ rdf:type spl:Argument ; |
1757 | - rdfs:comment "The subject to find"^^xsd:string ; | 1757 | + rdfs:comment "The object to match."^^xsd:string ; |
1758 | - spl:predicate sp:arg1 ; | 1758 | + spl:predicate sp:arg3 |
1759 | - spl:valueType rdfs:Resource | ||
1760 | ] ; | 1759 | ] ; |
1761 | spin:constraint | 1760 | spin:constraint |
1762 | [ rdf:type spl:Argument ; | 1761 | [ rdf:type spl:Argument ; |
... | @@ -1766,8 +1765,9 @@ rhspin:npdTripleExists | ... | @@ -1766,8 +1765,9 @@ rhspin:npdTripleExists |
1766 | ] ; | 1765 | ] ; |
1767 | spin:constraint | 1766 | spin:constraint |
1768 | [ rdf:type spl:Argument ; | 1767 | [ rdf:type spl:Argument ; |
1769 | - rdfs:comment "The object to match."^^xsd:string ; | 1768 | + rdfs:comment "The subject to find"^^xsd:string ; |
1770 | - spl:predicate sp:arg3 | 1769 | + spl:predicate sp:arg1 ; |
1770 | + spl:valueType rdfs:Resource | ||
1771 | ] ; | 1771 | ] ; |
1772 | spin:returnType xsd:boolean . | 1772 | spin:returnType xsd:boolean . |
1773 | 1773 | ||
... | @@ -1833,6 +1833,20 @@ rhspin:userCanUpload | ... | @@ -1833,6 +1833,20 @@ rhspin:userCanUpload |
1833 | rdfs:subClassOf spin:Functions ; | 1833 | rdfs:subClassOf spin:Functions ; |
1834 | spin:returnType xsd:boolean . | 1834 | spin:returnType xsd:boolean . |
1835 | 1835 | ||
1836 | +rhspin:userIsAppAdmin | ||
1837 | + rdf:type spin:Function ; | ||
1838 | + rdfs:comment "Checks whether the current user has the privilege to be application admin. This is used to control which parts of the UI are visible, depending on who is logged in. The implementation of this function is Java only."^^xsd:string ; | ||
1839 | + rdfs:label "user is app admin"^^xsd:string ; | ||
1840 | + rdfs:subClassOf spin:Functions ; | ||
1841 | + spin:returnType xsd:boolean . | ||
1842 | + | ||
1843 | +rhspin:userIsSysAdmin | ||
1844 | + rdf:type spin:Function ; | ||
1845 | + rdfs:comment "Checks whether the current user has the privilege to be system admin. This is used to control which parts of the UI are visible, depending on who is logged in. The implementation of this function is Java only."^^xsd:string ; | ||
1846 | + rdfs:label "user is sys admin"^^xsd:string ; | ||
1847 | + rdfs:subClassOf spin:Functions ; | ||
1848 | + spin:returnType xsd:boolean . | ||
1849 | + | ||
1836 | rhspin:userName | 1850 | rhspin:userName |
1837 | rdf:type spin:Function ; | 1851 | rdf:type spin:Function ; |
1838 | rdfs:comment "Gets the name of the currently logged in user."^^xsd:string ; | 1852 | rdfs:comment "Gets the name of the currently logged in user."^^xsd:string ; | ... | ... |
-
Please register or login to post a comment