David Leal

Added status for volume values, and fixed a welltest report bug.

This diff could not be displayed because it is too large.
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 23
24 <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> 24 <http://www.reportinghub.no/ep/mpr/spin/1.1/lib>
25 rdf:type owl:Ontology ; 25 rdf:type owl:Ontology ;
26 - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; 26 + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
27 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 27 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
28 28
29 ep-mpr-spin-lib:Function 29 ep-mpr-spin-lib:Function
...@@ -2826,6 +2826,79 @@ ep-mpr-spin-lib:selectMassScale ...@@ -2826,6 +2826,79 @@ ep-mpr-spin-lib:selectMassScale
2826 ]) 2826 ])
2827 ] . 2827 ] .
2828 2828
2829 +ep-mpr-spin-lib:selectMeasuredQualityType
2830 + rdf:type spin:Function ;
2831 + rdfs:label "select MeasuredQualityType"^^xsd:string ;
2832 + rdfs:subClassOf ep-mpr-spin-lib:Function ;
2833 + spin:body
2834 + [ rdf:type sp:Select ;
2835 + sp:resultVariables ([ sp:varName "measuredQualityType"^^xsd:string
2836 + ]) ;
2837 + sp:where ([ rdf:type sp:Bind ;
2838 + sp:expression
2839 + [ rdf:type sp:if ;
2840 + sp:arg1 [ rdf:type sp:eq ;
2841 + sp:arg1 spin:_arg1 ;
2842 + sp:arg2 <http://www.epim.no/schemas/mprml/1#VS_badcalibration>
2843 + ] ;
2844 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#MeasuredWithABadlyCalibratedSensor> ;
2845 + sp:arg3 [ rdf:type sp:if ;
2846 + sp:arg1 [ rdf:type sp:eq ;
2847 + sp:arg1 spin:_arg1 ;
2848 + sp:arg2 <http://www.epim.no/schemas/mprml/1#VS_rangelimit>
2849 + ] ;
2850 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#MeasuredWithASensorThatIsNearTheLimitOfItsRange> ;
2851 + sp:arg3 [ rdf:type sp:if ;
2852 + sp:arg1 [ rdf:type sp:eq ;
2853 + sp:arg1 spin:_arg1 ;
2854 + sp:arg2 <http://www.epim.no/schemas/mprml/1#VS_questionable>
2855 + ] ;
2856 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#QuestionablyMeasured> ;
2857 + sp:arg3 [ rdf:type sp:if ;
2858 + sp:arg1 [ rdf:type sp:eq ;
2859 + sp:arg1 spin:_arg1 ;
2860 + sp:arg2 <http://www.epim.no/schemas/mprml/1#VS_devicefailure>
2861 + ] ;
2862 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#InvalidlyMeasuredBecauseOfDeviceFailure> ;
2863 + sp:arg3 [ rdf:type sp:if ;
2864 + sp:arg1 [ rdf:type sp:eq ;
2865 + sp:arg1 spin:_arg1 ;
2866 + sp:arg2 <http://www.epim.no/schemas/mprml/1#VS_sensorfailure>
2867 + ] ;
2868 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#InvalidlyMeasuredBecauseOfSensorFailure> ;
2869 + sp:arg3 [ rdf:type sp:if ;
2870 + sp:arg1 [ rdf:type sp:eq ;
2871 + sp:arg1 spin:_arg1 ;
2872 + sp:arg2 <http://www.epim.no/schemas/mprml/1#VS_commfailure>
2873 + ] ;
2874 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#InvalidlyMeasuredBecauseOfCommunicationsFailure> ;
2875 + sp:arg3 [ rdf:type sp:if ;
2876 + sp:arg1 [ rdf:type sp:eq ;
2877 + sp:arg1 spin:_arg1 ;
2878 + sp:arg2 <http://www.epim.no/schemas/mprml/1#VS_timeout>
2879 + ] ;
2880 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#InvalidlyMeasuredBecauseTheSensorHasNotReturnedDataInTime> ;
2881 + sp:arg3 [ rdf:type sp:if ;
2882 + sp:arg1 [ rdf:type sp:eq ;
2883 + sp:arg1 spin:_arg1 ;
2884 + sp:arg2 <http://www.epim.no/schemas/mprml/1#VS_unknown>
2885 + ] ;
2886 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#InvalidlyMeasured> ;
2887 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#PhysicalThing>
2888 + ]
2889 + ]
2890 + ]
2891 + ]
2892 + ]
2893 + ]
2894 + ]
2895 + ] ;
2896 + sp:variable
2897 + [ sp:varName "measuredQualityType"^^xsd:string
2898 + ]
2899 + ])
2900 + ] .
2901 +
2829 ep-mpr-spin-lib:selectMolarVolumeScale 2902 ep-mpr-spin-lib:selectMolarVolumeScale
2830 rdf:type spin:Function ; 2903 rdf:type spin:Function ;
2831 rdfs:subClassOf ep-mpr-spin-lib:Function ; 2904 rdfs:subClassOf ep-mpr-spin-lib:Function ;
......