Started adding new select functions…then got moved onto DDR work.
Checking this in - all working, but lots more select functions to add
Showing
3 changed files
with
71 additions
and
7 deletions
This diff is collapsed. Click to expand it.
1 | -# Saved by TopBraid on Fri Oct 28 15:14:15 BST 2011 | ||
2 | # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib | 1 | # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib |
3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/production | ||
4 | # imports: http://spinrdf.org/spin | 2 | # imports: http://spinrdf.org/spin |
3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production | ||
5 | # imports: http://www.witsml.org/schemas/131/addendum/combo | 4 | # imports: http://www.witsml.org/schemas/131/addendum/combo |
6 | 5 | ||
7 | @prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> . | 6 | @prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> . |
... | @@ -20,7 +19,7 @@ | ... | @@ -20,7 +19,7 @@ |
20 | 19 | ||
21 | <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> | 20 | <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> |
22 | rdf:type owl:Ontology ; | 21 | rdf:type owl:Ontology ; |
23 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.witsml.org/schemas/131/addendum/combo> ; | 22 | + owl:imports <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ; |
24 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
25 | 24 | ||
26 | ep-dpr-spin-lib:BuildDailyProductionReportURI | 25 | ep-dpr-spin-lib:BuildDailyProductionReportURI |
... | @@ -734,6 +733,72 @@ ep-dpr-spin-lib:selectLengthScale | ... | @@ -734,6 +733,72 @@ ep-dpr-spin-lib:selectLengthScale |
734 | ]) | 733 | ]) |
735 | ] . | 734 | ] . |
736 | 735 | ||
736 | +ep-dpr-spin-lib:selectLinearAccelerationScale | ||
737 | + rdf:type spin:Function ; | ||
738 | + rdfs:label "select Linear Acceleration scale"^^xsd:string ; | ||
739 | + rdfs:subClassOf ep-dpr-spin-lib:Function ; | ||
740 | + spin:body | ||
741 | + [ rdf:type sp:Select ; | ||
742 | + sp:resultVariables ([ sp:varName "myVar"^^xsd:string | ||
743 | + ]) ; | ||
744 | + sp:where ([ rdf:type sp:Bind ; | ||
745 | + sp:expression | ||
746 | + [ rdf:type sp:if ; | ||
747 | + sp:arg1 [ rdf:type sp:eq ; | ||
748 | + sp:arg1 spin:_arg1 ; | ||
749 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#ALU_cms2> | ||
750 | + ] ; | ||
751 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#cm_s-2> ; | ||
752 | + sp:arg3 [ rdf:type sp:if ; | ||
753 | + sp:arg1 [ rdf:type sp:eq ; | ||
754 | + sp:arg1 spin:_arg1 ; | ||
755 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#ALU_fts2> | ||
756 | + ] ; | ||
757 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#foot_s-2> ; | ||
758 | + sp:arg3 [ rdf:type sp:if ; | ||
759 | + sp:arg1 [ rdf:type sp:eq ; | ||
760 | + sp:arg1 spin:_arg1 ; | ||
761 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#ALU_Gal> | ||
762 | + ] ; | ||
763 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#galileo> ; | ||
764 | + sp:arg3 [ rdf:type sp:if ; | ||
765 | + sp:arg1 [ rdf:type sp:eq ; | ||
766 | + sp:arg1 spin:_arg1 ; | ||
767 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#ALU_gn> | ||
768 | + ] ; | ||
769 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#gn> ; | ||
770 | + sp:arg3 [ rdf:type sp:if ; | ||
771 | + sp:arg1 [ rdf:type sp:eq ; | ||
772 | + sp:arg1 spin:_arg1 ; | ||
773 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#ALU_mGal> | ||
774 | + ] ; | ||
775 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#milligalileo> ; | ||
776 | + sp:arg3 [ rdf:type sp:if ; | ||
777 | + sp:arg1 [ rdf:type sp:eq ; | ||
778 | + sp:arg1 spin:_arg1 ; | ||
779 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#ALU_mgn> | ||
780 | + ] ; | ||
781 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#mgn> ; | ||
782 | + sp:arg3 [ rdf:type sp:if ; | ||
783 | + sp:arg1 [ rdf:type sp:eq ; | ||
784 | + sp:arg1 spin:_arg1 ; | ||
785 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#ALU_ms2> | ||
786 | + ] ; | ||
787 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre_s-2> ; | ||
788 | + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | ||
789 | + ] | ||
790 | + ] | ||
791 | + ] | ||
792 | + ] | ||
793 | + ] | ||
794 | + ] | ||
795 | + ] ; | ||
796 | + sp:variable | ||
797 | + [ sp:varName "myVar"^^xsd:string | ||
798 | + ] | ||
799 | + ]) | ||
800 | + ] . | ||
801 | + | ||
737 | ep-dpr-spin-lib:selectMassConcentrationScale | 802 | ep-dpr-spin-lib:selectMassConcentrationScale |
738 | rdf:type spin:Function ; | 803 | rdf:type spin:Function ; |
739 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 804 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
... | @@ -2452,6 +2517,9 @@ _:b22 | ... | @@ -2452,6 +2517,9 @@ _:b22 |
2452 | _:b21 | 2517 | _:b21 |
2453 | sp:varName "durationScale"^^xsd:string . | 2518 | sp:varName "durationScale"^^xsd:string . |
2454 | 2519 | ||
2520 | +_:b20 | ||
2521 | + sp:varName "densityScale"^^xsd:string . | ||
2522 | + | ||
2455 | _:b19 | 2523 | _:b19 |
2456 | sp:varName "uri"^^xsd:string . | 2524 | sp:varName "uri"^^xsd:string . |
2457 | 2525 | ||
... | @@ -2499,6 +2567,3 @@ _:b3 sp:varName "UUID"^^xsd:string . | ... | @@ -2499,6 +2567,3 @@ _:b3 sp:varName "UUID"^^xsd:string . |
2499 | _:b2 sp:varName "uri"^^xsd:string . | 2567 | _:b2 sp:varName "uri"^^xsd:string . |
2500 | 2568 | ||
2501 | _:b1 sp:varName "uri"^^xsd:string . | 2569 | _:b1 sp:varName "uri"^^xsd:string . |
2502 | - | ||
2503 | -_:b20 | ||
2504 | - sp:varName "densityScale"^^xsd:string . | ... | ... |
-
Please register or login to post a comment