Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relationship to the Web of Things #51

Open
draggett opened this issue Dec 21, 2018 · 1 comment
Open

Relationship to the Web of Things #51

draggett opened this issue Dec 21, 2018 · 1 comment
Labels
Category: language features For language features of RDF itself -- model and syntax standards Standardization should address this

Comments

@draggett
Copy link
Member

draggett commented Dec 21, 2018

The Web of Thinks seeks to overcome the fragmentation of the IoT through an abstraction layer that sits well above the details of the myriad IoT technologies and standards.
wot-layers

The Web of Things associates URIs with things that stand for sensors, actuators or related information services. These URIs can be used for RDF/Linked Data descriptions of the kinds of things, their relationships and the context in which they reside. Things are exposed to applications as software objects with properties, actions and events, described in a platform neutral way using JSON-LD and JSON Schema. This decouples developers from the details of the underlying networking technologies.

This points to an opportunity to more closely connect RDF with object oriented descriptions, n-ary terms, and Property Graphs

Some observations:

  • Many developers are familiar with JSON but not with RDF and Linked Data
  • Property names are locally scoped to the thing as you would expect in object oriented programming languages
  • In the Web of Things, properties can have sub-properties and so forth, just as in Property Graphs
  • You can associate metadata with things, properties, actions and events, e.g. data types, data constraints, units of measure and so forth
  • You can distinguish between properties and other kinds of metadata
  • You can describe how to interact with things via updating property values, invoking actions and listening for events
  • JSON Schema isn't ideal, e.g. it doesn't directly allow you to specify things as first class types that can be used for property values, passed to and from actions, or passed with events, and there isn't a direct way to distinguish a value as a link except as a property that has a string value and is typed as a link.
  • Likewise, there isn't a direct way to annotate the link except as an annotation on the property rather than the value
  • As yet there are no proposals for rule languages for the Web of Things, although it is possible to use RDF shape rules in SHACL etc. to express constraints on things.

Further work could address these limitations in a way that is easy to use by the vast majority of developers without the need to be aware of the details of the RDF core that underpins it.

@draggett draggett added the Category: language features For language features of RDF itself -- model and syntax label Dec 21, 2018
@VladimirAlexiev
Copy link

@draggett you won me at the diagram :-) I wish there was some way for me to work on WoT

@dbooth-boston dbooth-boston added standards Standardization should address this and removed standards Standardization should address this labels Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: language features For language features of RDF itself -- model and syntax standards Standardization should address this
Projects
None yet
Development

No branches or pull requests

3 participants