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

Add latest changes to ontology files for TD #8

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion td/v1.1/ontology/td.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h2>Terminology</h2>
<section id="hasUriTemplateSchema"><h4>hasUriTemplateSchema</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasUriTemplateSchema</code></p><span>Define URI template variables according to [[RFC6570]] as collection based on schema specifications. The individual variables DataSchema cannot be an ObjectSchema or an ArraySchema.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#InteractionAffordance">td:InteractionAffordance</a></code></td></tr></tbody></table></section></section><section><h3>Datatype Properties</h3><section id="baseURI"><h4>baseURI</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#baseURI</code></p><span>Define the base URI that is used for all relative URI references throughout a TD document. In TD instances, all relative URIs are resolved relative to the base URI using the algorithm defined in [RFC3986]. base does not affect the URIs used in @context and the IRIs used within Linked Data [LINKED-DATA] graphs that are relevant when semantic processing is applied to TD instances.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#Thing">td:Thing</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/URL">schema:URL</a></code></td></tr></tbody></table></section>
<section id="description"><h4>description</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#description</code></p><span>description of the TD element (Thing, interaction affordance, security scheme or data schema)</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="https://www.w3.org/2019/wot/json-schema#DataSchema">jsonschema:DataSchema</a></code><br><code><a href="https://www.w3.org/2019/wot/security#SecurityScheme">wotsec:SecurityScheme</a></code><br><code><a href="#InteractionAffordance">td:InteractionAffordance</a></code><br><code><a href="#Thing">td:Thing</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/Text">schema:Text</a></code></td></tr></tbody></table></section>
<section id="descriptionInLanguage"><h4>descriptionInLanguage</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#descriptionInLanguage</code></p><span>description of the TD element (Thing, interaction affordance, security scheme or data schema) with language tag. By convention, a language tag must be added to the object of 'descriptionInLanguage' triples. Otherwise, use 'description'.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="https://www.w3.org/2019/wot/json-schema#DataSchema">jsonschema:DataSchema</a></code><br><code><a href="https://www.w3.org/2019/wot/security#SecurityScheme">wotsec:SecurityScheme</a></code><br><code><a href="#InteractionAffordance">td:InteractionAffordance</a></code><br><code><a href="#Thing">td:Thing</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/Text">schema:Text</a></code></td></tr></tbody></table></section>
<section id="followsProfile"><h4>followsProfile</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#followsProfile</code></p><span>Indicates the WoT Profile mechanisms followed by this Thing Description and the corresponding Thing implementation.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#Thing">td:Thing</a></code></td></tr></tbody></table></section>
<section id="followsProfile"><h4>followsProfile</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#followsProfile</code></p><span>Indicates the WoT Profile mechanisms followed by this Thing Description and the corresponding Thing implementation.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#Thing">td:Thing</a></code></td></tr><tr><td>Range includes</td><td></td></tr></tbody></table></section>
<section id="instance"><h4>instance</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#instance</code></p><span>Provides a version identicator of this TD instance.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#Thing">td:Thing</a></code></td></tr></tbody></table></section>
<section id="isIdempotent"><h4>isIdempotent</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#isIdempotent</code></p><span>Indicates whether the action is idempotent (=true) or not. Informs whether the action can be called repeatedly with the same result, if present, based on the same input.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#ActionAffordance">td:ActionAffordance</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/Boolean">schema:Boolean</a></code></td></tr></tbody></table></section>
<section id="isObservable"><h4>isObservable</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#isObservable</code></p><span>A hint that indicates whether Servients hosting the Thing and Intermediaries should provide a Protocol Binding that supports the <code>observeproperty</code> and <code>unobserveproperty</code> operations for this Property.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#PropertyAffordance">td:PropertyAffordance</a></code></td></tr><tr><td>Range includes</td><td><code><a href="http://schema.org/Boolean">schema:Boolean</a></code></td></tr></tbody></table></section>
Expand Down
37 changes: 19 additions & 18 deletions td/v1.1/ontology/td.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
rdfs:label "followsProfile" ;
rdfs:comment "Indicates the WoT Profile mechanisms followed by this Thing Description and the corresponding Thing implementation."@en ;
schema:domainIncludes :Thing ;
schema:rangeIncludes xsd:anyURI ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:baseURI rdf:type owl:DatatypeProperty ;
Expand Down Expand Up @@ -265,90 +266,90 @@

:readProperty rdf:type :OperationType ;
rdfs:label "readProperty" ;
rdfs:comment """Operation type of forms used to read a property value"""@en ;
rdfs:comment "Operation type of forms used to read a property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:writeProperty rdf:type :OperationType ;
rdfs:label "writeProperty" ;
rdfs:comment """Operation type of forms used to write a property value"""@en ;
rdfs:comment "Operation type of forms used to write a property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:observeProperty rdf:type :OperationType ;
rdfs:label "observeProperty" ;
rdfs:comment """Operation type of forms used to observe a property value"""@en ;
rdfs:comment "Operation type of forms used to observe a property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:unobserveProperty rdf:type :OperationType ;
rdfs:label "unobserveProperty" ;
rdfs:comment """Operation type of forms used to unobserve a property value"""@en ;
rdfs:comment "Operation type of forms used to unobserve a property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:readMultipleProperties rdf:type :OperationType ;
rdfs:label "readMultipleProperties" ;
rdfs:comment """Operation type of forms used to read a property value"""@en ;
rdfs:comment "Operation type of forms used to read a property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:writeMultipleProperties rdf:type :OperationType ;
rdfs:label "writeMultipleProperties" ;
rdfs:comment """Operation type of forms used to write a property value"""@en ;
rdfs:comment "Operation type of forms used to write a property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:readAllProperties rdf:type :OperationType ;
rdfs:label "readAllProperties" ;
rdfs:comment """Operation type of forms used to read all property values"""@en ;
rdfs:comment "Operation type of forms used to read all property values"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:writeAllProperties rdf:type :OperationType ;
rdfs:label "writeAllProperties" ;
rdfs:comment """Operation type of forms used to read a property value"""@en ;
rdfs:comment "Operation type of forms used to read a property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:observeAllProperties rdf:type :OperationType ;
rdfs:label "observeAllProperties" ;
rdfs:comment """Operation type of forms used to observe all property values"""@en ;
rdfs:comment "Operation type of forms used to observe all property values"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:unobserveAllProperties rdf:type :OperationType ;
rdfs:label "unobserveAllProperties" ;
rdfs:comment """Operation type of forms used to unobserve all property value"""@en ;
rdfs:comment "Operation type of forms used to unobserve all property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:invokeAction rdf:type :OperationType ;
rdfs:label "invokeAction" ;
rdfs:comment """Operation type of forms used to read a property value"""@en ;
rdfs:comment "Operation type of forms used to read a property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:queryAction rdf:type :OperationType ;
rdfs:label "queryAction" ;
rdfs:comment """Operation type of forms used to query the status of an action"""@en ;
rdfs:comment "Operation type of forms used to query the status of an action"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:cancelAction rdf:type :OperationType ;
rdfs:label "cancelAction" ;
rdfs:comment """Operation type of forms used to cancel an action"""@en ;
rdfs:comment "Operation type of forms used to cancel an action"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:queryAllActions rdf:type :OperationType ;
rdfs:label "queryAllActions" ;
rdfs:comment """Operation type of forms used to query the status of all actions"""@en ;
rdfs:comment "Operation type of forms used to query the status of all actions"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:subscribeEvent rdf:type :OperationType ;
rdfs:label "subscribeEvent" ;
rdfs:comment """Operation type of forms used to read a property value"""@en ;
rdfs:comment "Operation type of forms used to read a property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:unsubscribeEvent rdf:type :OperationType ;
rdfs:label "unsubscribeEvent" ;
rdfs:comment """Operation type of forms used to read a property value"""@en ;
rdfs:comment "Operation type of forms used to read a property value"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:subscribeAllEvents rdf:type :OperationType ;
rdfs:label "subscribeAllEvents" ;
rdfs:comment """Operation type of forms used to subscribe to all event types"""@en ;
rdfs:comment "Operation type of forms used to subscribe to all event types"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:unsubscribeAllEvents rdf:type :OperationType ;
rdfs:label "unsubscribeAllEvents" ;
rdfs:comment """Operation type of forms used to unsubscribe from all event types"""@en ;
rdfs:comment "Operation type of forms used to unsubscribe from all event types"@en ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .