All fluid sample components found, and no ratios without values.
Showing
3 changed files
with
23 additions
and
1 deletions
This diff is collapsed. Click to expand it.
... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
22 | 22 | ||
23 | <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> | 23 | <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> |
24 | rdf:type owl:Ontology ; | 24 | rdf:type owl:Ontology ; |
25 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> ; | 25 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://spinrdf.org/spin> ; |
26 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 26 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
27 | 27 | ||
28 | ep-mpr-spin-lib:Function | 28 | ep-mpr-spin-lib:Function |
... | @@ -139,6 +139,28 @@ arg3 is the name of the sample"""^^xsd:string ; | ... | @@ -139,6 +139,28 @@ arg3 is the name of the sample"""^^xsd:string ; |
139 | ]) | 139 | ]) |
140 | ] . | 140 | ] . |
141 | 141 | ||
142 | +ep-mpr-spin-lib:buildSubstanceTypeURI | ||
143 | + rdf:type spin:Function ; | ||
144 | + rdfs:label "build SubstanceType URI"^^xsd:string ; | ||
145 | + rdfs:subClassOf ep-mpr-spin-lib:Function ; | ||
146 | + spin:body | ||
147 | + [ rdf:type sp:Select ; | ||
148 | + sp:resultVariables ([ sp:varName "uri"^^xsd:string | ||
149 | + ]) ; | ||
150 | + sp:where ([ rdf:type sp:Bind ; | ||
151 | + sp:expression | ||
152 | + [ rdf:type ep-spin-lib:buildURI ; | ||
153 | + sp:arg1 "https://www.reportinghub.no/ep/data/substanceType/" ; | ||
154 | + sp:arg2 [ rdf:type ep-spin-lib:normalizeString ; | ||
155 | + sp:arg1 spin:_arg1 | ||
156 | + ] | ||
157 | + ] ; | ||
158 | + sp:variable | ||
159 | + [ sp:varName "uri"^^xsd:string | ||
160 | + ] | ||
161 | + ]) | ||
162 | + ] . | ||
163 | + | ||
142 | ep-mpr-spin-lib:selectAverageAmountOfMaterialFlag | 164 | ep-mpr-spin-lib:selectAverageAmountOfMaterialFlag |
143 | rdf:type spin:Function ; | 165 | rdf:type spin:Function ; |
144 | rdfs:label "select AverageAmountOfMaterialFlag"^^xsd:string ; | 166 | rdfs:label "select AverageAmountOfMaterialFlag"^^xsd:string ; | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment