Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.57 KB

File metadata and controls

34 lines (29 loc) · 1.57 KB

Linked Data Documents

This folder contains the vocabulary and a JSON-LD context to help interpreting Binary Data schemata as RDF.

The files are only stored here to record their history. For better interaction with Linked Data tools they are hosted on the SoLID POD of the Chair of Technical Information Systems at the Friedrich-Alexander-University Erlangen-Nuremberg.

File Hosted as
bds.ttl https://solid.ti.rw.fau.de/public/ns/bds.ttl
context.jsonld https://solid.ti.rw.fau.de/public/ns/bds/context.jsonld

As the context is publicly hosted you can simply add https://solid.ti.rw.fau.de/public/ns/bds/context.jsonld to the context of your Binary Data Schema description to make it machine-readable. For example:

{
    "@context": [
        "https://www.w3.org/2019/wot/td/v1",
        "https://solid.ti.rw.fau.de/public/ns/bds/context.jsonld"
    ],
    "title": "Some Thing Description.",
    "properties": {
        "temperature": {
            "type": "number",
            "length": 2,
            "scale": 0.025,
            "unit": "degree celcius",
            "description": "Some temperature that is encoded as 2-byte integer and a scale of 0.025 °C but thanks to BDS the decoded value is a floating-point number in °C.",
            "forms": [{ "href": "http://example.org/temp" }]
        }
    }
}