Showing
2 changed files
with
50 additions
and
9 deletions
... | @@ -881,6 +881,47 @@ ep-dpr-spin-lib:buildShipURI | ... | @@ -881,6 +881,47 @@ ep-dpr-spin-lib:buildShipURI |
881 | ]) | 881 | ]) |
882 | ] . | 882 | ] . |
883 | 883 | ||
884 | +ep-dpr-spin-lib:buildSmallFacilityURI | ||
885 | + rdf:type spin:Function ; | ||
886 | + rdfs:subClassOf ep-dpr-spin-lib:Function ; | ||
887 | + spin:body | ||
888 | + [ rdf:type sp:Select ; | ||
889 | + rdfs:comment """ar1 is the naming system | ||
890 | +arg2 is name of facility"""^^xsd:string ; | ||
891 | + sp:resultVariables ([ sp:varName "uri"^^xsd:string | ||
892 | + ]) ; | ||
893 | + sp:where ([ rdf:type sp:Bind ; | ||
894 | + sp:expression | ||
895 | + [ rdf:type sp:if ; | ||
896 | + sp:arg1 [ rdf:type sp:eq ; | ||
897 | + sp:arg1 spin:_arg1 ; | ||
898 | + sp:arg2 "" | ||
899 | + ] ; | ||
900 | + sp:arg2 [ rdf:type ep-spin-lib:buildURI ; | ||
901 | + sp:arg1 "https://www.reportinghub.no/ep/data/smallFacility/" ; | ||
902 | + sp:arg2 [ rdf:type ep-spin-lib:normalizeString ; | ||
903 | + sp:arg1 spin:_arg1 | ||
904 | + ] | ||
905 | + ] ; | ||
906 | + sp:arg3 [ rdf:type ep-spin-lib:buildURI ; | ||
907 | + sp:arg1 "https://www.reportinghub.no/ep/data/smallFacility/" ; | ||
908 | + sp:arg2 [ rdf:type fn:concat ; | ||
909 | + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ; | ||
910 | + sp:arg1 spin:_arg1 | ||
911 | + ] ; | ||
912 | + sp:arg2 "$" ; | ||
913 | + sp:arg3 [ rdf:type ep-spin-lib:normalizeString ; | ||
914 | + sp:arg1 spin:_arg2 | ||
915 | + ] | ||
916 | + ] | ||
917 | + ] | ||
918 | + ] ; | ||
919 | + sp:variable | ||
920 | + [ sp:varName "uri"^^xsd:string | ||
921 | + ] | ||
922 | + ]) | ||
923 | + ] . | ||
924 | + | ||
884 | ep-dpr-spin-lib:buildStateURI | 925 | ep-dpr-spin-lib:buildStateURI |
885 | rdf:type spin:Function ; | 926 | rdf:type spin:Function ; |
886 | rdfs:label "build State URI"^^xsd:string ; | 927 | rdfs:label "build State URI"^^xsd:string ; |
... | @@ -7532,15 +7573,6 @@ ep-dpr-spin-lib:selectWorkScale | ... | @@ -7532,15 +7573,6 @@ ep-dpr-spin-lib:selectWorkScale |
7532 | ]) | 7573 | ]) |
7533 | ] . | 7574 | ] . |
7534 | 7575 | ||
7535 | -_:b22 | ||
7536 | - sp:varName "volumeFlowRateAtStdType"^^xsd:string . | ||
7537 | - | ||
7538 | -_:b21 | ||
7539 | - sp:varName "specificVolumeScale"^^xsd:string . | ||
7540 | - | ||
7541 | -_:b20 | ||
7542 | - sp:varName "safetyActivityType"^^xsd:string . | ||
7543 | - | ||
7544 | _:b19 | 7576 | _:b19 |
7545 | sp:varName "productionFlowPurposeType"^^xsd:string . | 7577 | sp:varName "productionFlowPurposeType"^^xsd:string . |
7546 | 7578 | ||
... | @@ -7588,3 +7620,12 @@ _:b3 sp:varName "uri"^^xsd:string . | ... | @@ -7588,3 +7620,12 @@ _:b3 sp:varName "uri"^^xsd:string . |
7588 | _:b2 sp:varName "UUID"^^xsd:string . | 7620 | _:b2 sp:varName "UUID"^^xsd:string . |
7589 | 7621 | ||
7590 | _:b1 sp:varName "uri"^^xsd:string . | 7622 | _:b1 sp:varName "uri"^^xsd:string . |
7623 | + | ||
7624 | +_:b22 | ||
7625 | + sp:varName "volumeFlowRateAtStdType"^^xsd:string . | ||
7626 | + | ||
7627 | +_:b21 | ||
7628 | + sp:varName "specificVolumeScale"^^xsd:string . | ||
7629 | + | ||
7630 | +_:b20 | ||
7631 | + sp:varName "safetyActivityType"^^xsd:string . | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment