Set of Thing Description documents and OWL axioms to illustrate semantic interoperability among WoT 'things'.
Source: W3C WoT implementers report (May 2019).
Dataset:
Example queries:
PREFIX td: <https://www.w3.org/2019/wot/td#>
SELECT DISTINCT ?thing WHERE {
{ ?thing td:hasPropertyAffordance ?aff }
UNION
{ ?thing td:hasActionAffordance ?aff }
UNION
{ ?thing td:hasEventAffordance ?aff }
} ORDER BY ?thing
PREFIX td: <https://www.w3.org/2019/wot/td#>
SELECT ?thing ?type ?name WHERE {
{ ?thing td:hasPropertyAffordance ?aff . bind ("property" as ?type) }
UNION
{ ?thing td:hasActionAffordance ?aff . bind ("action" as ?type) }
UNION
{ ?thing td:hasEventAffordance ?aff . bind ("event" as ?type) }
?aff td:name ?name
} ORDER BY ?thing
PREFIX td: <https://www.w3.org/2019/wot/td#>
SELECT ?thing ?type ?name WHERE {
{ ?uri1 td:hasPropertyAffordance ?uri2 . bind ("property" as ?type) }
UNION
{ ?uri1 td:hasActionAffordance ?uri2 . bind ("action" as ?type) }
UNION
{ ?uri1 td:hasEventAffordance ?uri2 . bind ("event" as ?type) }
optional {
?uri1 a ?class1
bind (strafter(str(?class1), "#") as ?thing)
}
optional {
?uri2 a ?class2
bind (strafter(str(?class2), "#") as ?name)
}
} ORDER BY ?uri1
This document is supplementary material to the paper "On Modeling the Physical World as a Collection of Things: the W3C Thing Description Ontology", published at ESWC 2020.