Skip to content

Commit

Permalink
Merge pull request #1999 from mahdanoura/term-fixup
Browse files Browse the repository at this point in the history
Term inconsistency among the ontology and context file
  • Loading branch information
egekorkan authored Apr 24, 2024
2 parents 1e16b24 + 64def55 commit 44e7423
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/prettify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
# This is important to fetch the changes to the previous commit
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion ontology/td.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ <h2>Terminology</h2>
<section id="Thing"><h4>Thing</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#Thing</code></p><span>An abstraction of a physical or a virtual entity whose metadata and interfaces are described by a WoT Thing Description, whereas a virtual entity is the composition of one or more Things.</span><table class="def numbered"><tbody><tr><td>In the domain of</td><td><code><a href="#baseURI">td:baseURI</a></code><br><code><a href="#definesSecurityScheme">td:definesSecurityScheme</a></code><br><code><a href="#descriptionInLanguage">td:descriptionInLanguage</a></code><br><code><a href="#followsProfile">td:followsProfile</a></code><br><code><a href="#hasForm">td:hasForm</a></code><br><code><a href="#hasInteractionAffordance">td:hasInteractionAffordance</a></code><br><code><a href="#hasSecurityConfiguration">td:hasSecurityConfiguration</a></code><br><code><a href="#instance">td:instance</a></code><br><code><a href="#model">td:model</a></code><br><code><a href="#titleInLanguage">td:titleInLanguage</a></code></td></tr></tbody></table></section></section><section><h3>Object Properties</h3><section id="definesSecurityScheme"><h4>definesSecurityScheme</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#definesSecurityScheme</code></p><span>A Thing may define abstract security schemes, used to configure the secure access of (a set of) affordance(s).</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="hasActionAffordance"><h4>hasActionAffordance</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasActionAffordance</code></p><span>All Action-based interaction affordance of the Thing.</span><table class="def numbered"><tbody><tr><td>Range includes</td><td><code><a href="#ActionAffordance">td:ActionAffordance</a></code></td></tr></tbody></table></section>
<section id="hasCancellationSchema"><h4>hasCancellationSchema</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasCancellationSchema</code></p><span>Defines any data that needs to be passed to cancel a subscription, e.g., a specific message to remove a Webhook</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#EventAffordance">td:EventAffordance</a></code></td></tr></tbody></table></section>
<section id="hasConfigurationInstance"><h4>hasConfigurationInstance</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasConfigurationInstance</code></p><span>Instantiation, as used here, is a form of non-symmetric equivalence between a scheme and a configuration: whatever statement on the scheme is also true of the configuration but not vice-versa.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="https://www.w3.org/2019/wot/security#SecurityScheme">wotsec:SecurityScheme</a></code></td></tr></tbody></table></section>
<section id="hasEventAffordance"><h4>hasEventAffordance</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasEventAffordance</code></p><span>All Event-based interaction affordance of the Thing.</span><table class="def numbered"><tbody><tr><td>Range includes</td><td><code><a href="#EventAffordance">td:EventAffordance</a></code></td></tr></tbody></table></section>
<section id="hasForm"><h4>hasForm</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasForm</code></p><span>Set of form hypermedia controls that describe how an operation can be performed. Forms are serializations of Protocol Bindings. The array cannot be empty</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><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="https://www.w3.org/2019/wot/hypermedia#Form">hctl:Form</a></code></td></tr></tbody></table></section>
<section id="hasInputSchema"><h4>hasInputSchema</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasInputSchema</code></p><span>Used to define the input data schema of the action.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#ActionAffordance">td:ActionAffordance</a></code></td></tr></tbody></table></section>
<section id="hasInstanceConfiguration"><h4>hasInstanceConfiguration</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasInstanceConfiguration</code></p><span>Instantiation, as used here, is a form of non-symmetric equivalence between a scheme and a configuration: whatever statement on the scheme is also true of the configuration but not vice-versa.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="https://www.w3.org/2019/wot/security#SecurityScheme">wotsec:SecurityScheme</a></code></td></tr></tbody></table></section>
<section id="hasInteractionAffordance"><h4>hasInteractionAffordance</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasInteractionAffordance</code></p><span>Offers an affordance to interact with the Thing</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#Thing">td:Thing</a></code><br><code><a href="https://www.w3.org/2019/wot/tm#ThingModel">tm:ThingModel</a></code></td></tr><tr><td>Range includes</td><td><code><a href="#InteractionAffordance">td:InteractionAffordance</a></code></td></tr></tbody></table></section>
<section id="hasLink"><h4>hasLink</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasLink</code></p><span>Provides links to existing resources specified in a Thing Model to extend another Thing Model .</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="https://www.w3.org/2019/wot/tm#ThingModel">tm:ThingModel</a></code></td></tr><tr><td>Range includes</td><td><code><a href="https://www.w3.org/2019/wot/hypermedia#Link">hctl:Link</a></code></td></tr></tbody></table></section>
<section id="hasNotificationResponseSchema"><h4>hasNotificationResponseSchema</h4><p>IRI: <code>https://www.w3.org/2019/wot/td#hasNotificationResponseSchema</code></p><span>Defines the data schema of the Event response messages sent by the consumer in a response to a data message.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#EventAffordance">td:EventAffordance</a></code></td></tr></tbody></table></section>
Expand Down
4 changes: 2 additions & 2 deletions ontology/td.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@
schema:domainIncludes :Thing ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .

:hasConfigurationInstance rdf:type owl:ObjectProperty ;
rdfs:label "hasConfigurationInstance" ;
:hasInstanceConfiguration rdf:type owl:ObjectProperty ;
rdfs:label "hasInstanceConfiguration" ;
rdfs:comment "Instantiation, as used here, is a form of non-symmetric equivalence between a scheme and a configuration: whatever statement on the scheme is also true of the configuration but not vice-versa." ;
schema:domainIncludes wotsec:SecurityScheme ;
rdfs:isDefinedBy <https://www.w3.org/2019/wot/td> .
Expand Down
Loading

0 comments on commit 44e7423

Please sign in to comment.