I want to use Schema.org (with JSON-LD) to label the value in the temperature sensor / to describe the temperature attribute (unit).
I can not find an explanation of the temperature at Schema.org. I get the sensor value through MQTT, here is the data output by MQTT.
{
"@context": "http://example/temperature.jsonld",
"_UTC_timestamp": "2017-11-18 08:56:51",
"temperature": 25.12
}
<script type="application/ld+json">
"@context": {
"Thing": "@type",
"CreativeWork": "@subtype",
"Thing": [{
"name": "temperature",
"@type": "number",
"@value": "CreativeWork"
"minimum": 0,
"maximum": 80,
"description": "a physical quantity that expresses the subjective perceptions of hot and cold",
"url": "https://en.wikipedia.org/wiki/Temperature",
"unit": "Celsius",
CreativeWork[{
"name": "measure temperature",
"description": "Get the sensor temperature value" ,
"Celsius" "https://en.wikipedia.org/wiki/Celsius"
"link": [{
"href": "http://iwilr3-3.campus.fhludwigshafen.de/iotsemantic/tinkerforge/temperature.jsonld"
}
]
}
]
}
]
}
</script>