Replies: 1 comment 1 reply
-
The rules can be also specified using POPCORN-LD: These rules can then be directly translated to their RDF representation like in this example: Vocabulary from openmath-cds.ttl is not really required. This file is just an RDF translation of the existing OpenMath CDs to RDF. But it can serve as a source for example formulas. If you are looking for examples on how to use the numerateweb Java Implementation you could take a look at the following project: |
Beta Was this translation helpful? Give feedback.
-
Thanks for the serialization of OpenMath, I find this project interesting and I am trying to find how to use it.
My application consists of describing how to interpret formulas described in sensor specifications. To be specific field devices have parameters which can be obtained at runtime. The user needs to get the data from these parameters to calculate scaling, offset or a vendor specific calculation. The typical workflow is that the software developer reads the spec and then manually programs the formulas (PLC, microcontroller,etc).
With OpenMath I plan to describe these formulas, e.g., if you multiply parameter 1 and parameter 2 from sensor A you can get temperature in celsius degrees (using qudt unit ontology for that).
As far as I understand to declare these formulas you can use
openmath-cds.ttl
vocabulary and assert amath:Application
. Then You need to assert Object properties of typemath:argument
with owl:range of typerdf:list
or subclasses such asmath:VariableList
. Then you declarerdf:first
andrdf:rest
.math:applications
. I found the project https://github.com/numerateweb/numerateweb but it would nice if I could get pointed where exactly could I look in the source code :)Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions