source · output · proof · check · playground
The question
Can measurements in different units be compared in a common unit?
Historical background
The International System of Units was adopted in 1960 to make measurements comparable across existing unit systems. QUDT makes units, quantities, and conversion data available as linked data. The examples show how measurements recorded in several conventions can be put on a common basis. BIPM, the International System of Units · QUDT overview
What we tell eyemind
The snapshot contains CDT literals, a Fahrenheit QuantityValue and metadata for a local cubit. Unit conventions follow QUDT.org and CDT.
What eyemind concludes
The car has a normalized speed of 10 m/s, the room is approximately 293.15 K, the gain is 100, and the table is 2 m long. Each generated quantity retains its source property and measurement.
One conclusion in the JavaScript check report is:
result_rdf(iri('https://example.org/measurements#car'), iri('https://eyereasoner.github.io/eyemind/qudt#normalizedCdtLiteral'), literal('10.0 m/s', datatype('https://w3id.org/cdt/speed')), 'default_graph')
What the proof establishes
The saved proof is checked against the compiled LS program. It establishes the reported conclusions from the supplied data and rules. Validation and conflict reports are conclusions too; exit code 0 means evaluation completed.
Try it
node bin/eyemind.js --qudt examples/quantities-qudt.ttl
node bin/eyemind.js --qudt --program examples/quantities-qudt.ttl > /tmp/quantities-qudt.js
node bin/eyemind.js --to turtle /tmp/quantities-qudt.js
node bin/eyemind.js --qudt --check-proof examples/proof/quantities-qudt.js examples/quantities-qudt.ttl
Change the speed literal to "72 km/h"^^cdt:speed: its normalized value becomes 20 m/s. The offline unit catalog is finite; input metadata can extend it.
