Hi DanQuick response for now.Have you seen the latest at www.qudt.org? Some ontologies are there now and there is ucum code support.One possibility is to have access to QUDT Git REPO. Is that of interest?More later.Regards,
Jason,We have moved forward on publishing a number of graphs, This week we should make more progress.Your GitHub ID jbkoh (https://github.com/jbkoh) now has read-only access to QUDT r2.0Regards, Ralph
I prefer Simon's first example. Regarding the schema.org example, it doesn't seem very semantic to lump values and units together because you then have the same value for every possible unit. Also, they must then have some software that parses the value from the unit instead of having the semantics clearly defined in the model. Sloppy. Is this model complying with any quantity/unit standards? What is its provenance? Is the interest in matching up QUDT to [whatever] simply the fact that [whatever] exists and not the quality of [whatever], because I have a hard time putting cycles into that kind of effort.
Jack
Sent from my iPadJason –
You are not using the ‘QuantityKind’ apparatus.
This is where the semantics (and dimensionality) of a Quantity are usually provided.
Re-writing your example below to leverage this might be done in a couple of ways, both using a qudt:QuantityKind to provide the semantics of ‘Height’:
## QUDT – Option 1 – no subclass
```
Turtle
example:person1 qudt:hasQuantity example:height1 .
example:HeightKind a qudt:QuantityKind ;
qudt:applicableSIUnit unit:M ;
qudt:generalization quantitykind:Length ;
qudt:hasDimension qudt:DIM_SI-m ;
rdfs:label "Height" ;
.
example:height1 a qudt:Quantity;
qudt:quantityValue qudt:height_value1 ;
qudt:quantiyKind example:HeightKind .
example:height_value1 a qudt:QuantityValue;
qudt:unit unit:CM;
qudt:numericValue "180"^^dtype:numericUnion .
```
## QUDT – Option 2 – using a subclass
```
Turtle
# as above plus this sub-class definition
example:HeightQuantity
rdfs:subClassOf qudt:Quantity ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:hasValue example:HeightKind ;
owl:onProperty qudt:hasQuantityKind ;
] ;
.
example:height1 a qudt:Quantity , example:HeightQuantity ;
qudt:quantityValue qudt:height_value1 .
```
Simon
Jason,You asked about the separation between qudt's notion of Quantity and QuantityKind. Your example confuses those concepts a bit.Quantity is used to capture the context of the measurement, such as a person's height. The QuantityKind identifies the dimension, which in your example would be length (not a person's height, which is contextual).Steven R. Ray, Ph.D.
Email: st...@steveray.com
Phone: (650) 587-3780 (CA)
(202) 362-5059 (DC)
Cell: (202) 316-6481
Jason,My mistake, I had mis-remembered your question.Regarding Quantity and QuantityValue, I understand your point, but of course they really are distinct concepts. You are really just asking about the practicality of making QuantityValue a property of Quantity, rather than an object in its own right, correct?
Steven R. Ray, Ph.D.
Email: st...@steveray.com
Phone: (650) 587-3780 (CA)
(202) 362-5059 (DC)
Cell: (202) 316-6481
On 2 Apr 2017, at 07:28, Jack Hodges <jhodg...@gmail.com> wrote:Dave,I do not think that we know each other. I am reading your note to Ralph and wondering what the question is that you would like answered. QUDT has a rigorous Unit model that does what you are looking for. At the same time, I am curious about the TD model because, having looked at the documentation and the ontology, I do not see any content (as in a structured information model) in it at all. I have no personal issue with breaking up the world into Actions, Events, Properties, and Things for the purposes of servients conveying information to and for humans, human-interpreted content, or human-written code that will impart meaning to those descriptions. But if these terms are to have meaning, they must have dependencies on each other that make it clear what they mean (and by clear here I mean precise for machine understanding). Minimally, an Action would have to be defined as producing an Event, which will need to be defined as a change in Property, all associated with a Thing. At least, that is how these concepts are associated in natural language and even in existing knowledge representation models. I went looking for these in the TD ontology and found nothing, no content model whatsoever beyond inheriting from DUL:Entity or owl:Thing.So I fully accept the interest and need to have a common baseline model for servients, but it needs to be a real model and not just a placeholder. It is my understanding that actual integration with the semantic world is not of interest or even on the plate for the TD group.To return to your example, you ask about units models such as MilliAmp. QUDT has a common name model for units that includes a possible multiplier attached to the unit name, so there is no incompatibility with the approach and need you describe. But where do units fall into the TD Actions, Events, Properties, and Things grouping? Properties could have a type, a dimension (there, after all, different standards), a quantity of that property that has a value that, itself, would have a dimensionless value and possibly a unit. But I do not see any of these concepts in The TD Property model.I certainly agree that the IoT needs a Lingua Franca, but going back to the same old structure less approach doesn't bring clarity to system interactions. So once again I am confused about what question you were trying to ask or what point you were trying to make.Jack Hodges
Sent from my iPad
<units.png>
On 2 Apr 2017, at 07:28, Jack Hodges <jhodg...@gmail.com> wrote:Minimally, an Action would have to be defined as producing an Event, which will need to be defined as a change in Property, all associated with a Thing. At least, that is how these concepts are associated in natural language and even in existing knowledge representation models. I went looking for these in the TD ontology and found nothing, no content model whatsoever beyond inheriting from DUL:Entity or owl:Thing.
On 5 Apr 2017, at 14:05, Ralph TQ [Gmail] <rhod...@topquadrant.com> wrote:Some responses inline below to your email.I will catch up and respond to other messages in due course.One other consideration that I don’t think has been discussed is how data, particularly for IoT, needs to express encoding such as bit and byte order (big Endian and little Endian). Also the representation of bit fields. The telemetry work we did at NASA used the datatype ontologies of QUDT to represent these needs (see the DTYPE ontology at www.linked models.org for a subset of this work).
Regards,Ralph
On Apr 5, 2017, at 5:16 AM, Dave Raggett <d...@w3.org> wrote:Hi Dan,I think we should distinguish the serialisation syntax from the semantics. Thus, whether you include the units as a suffix of the value or as a separate field is really a matter for the serialisation format. For the semantics we need an unambiguous mapping to an agreed Linked Data vocabulary.Your examples use both MTR and m for metres. I see advantages for having standards for the names and abbreviations of units of measure as this will reduce the burden on everyone. This includes the scale factor, e.g. “mm” and “millimetres” as metres multiplied by a thousand. This also implies the need for a means to disambiguate abbreviations that have different interpretations in different contexts.
QUDT uses well-known (if not standard) abbreviations for units. There are cases where this becomes counter-intuitive. For example “S” for siemens (https://en.wikipedia.org/wiki/Siemens_(unit)) and “SEC” for second.At NASA we used the an encoded QName. For example, unit:KM.
So I see value in having three categories of standards:1. Names and abbreviations for units + scale factors, e.g. “mm” and “millimetres”, and broad groupings as a basis for disambiguation across different contexts.
agreed
2. The corresponding RDF URIs for the combination of units + scale factors.
agrees - QUDT has a grammar for how to form the local names of URIs. The grammar includes prefixes.
3. An ontology that makes the scale factors explicit and relates different systems of measure, e.g. metric and imperial, to facilitate automatic conversions and enable semantic interoperability.
QUDT covers this