Skip to content

Commit

Permalink
Merge pull request #19 from w3c/ege-td-update
Browse files Browse the repository at this point in the history
Carry over changes from the TD repo
  • Loading branch information
egekorkan authored Jan 24, 2024
2 parents 8516b01 + 1997b27 commit 1cc3d84
Show file tree
Hide file tree
Showing 7 changed files with 11,073 additions and 1,251 deletions.
2,116 changes: 1,879 additions & 237 deletions td/v1.1/ontology/hctl.html

Large diffs are not rendered by default.

3,047 changes: 2,607 additions & 440 deletions td/v1.1/ontology/jsonschema.html

Large diffs are not rendered by default.

3,589 changes: 3,120 additions & 469 deletions td/v1.1/ontology/td.html

Large diffs are not rendered by default.

1,208 changes: 1,208 additions & 0 deletions td/v1.1/ontology/tm.html

Large diffs are not rendered by default.

145 changes: 122 additions & 23 deletions td/v1.1/ontology/tm.ttl
Original file line number Diff line number Diff line change
@@ -1,39 +1,138 @@
@prefix : <https://www.w3.org/2019/wot/tm#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix td: <https://www.w3.org/2019/wot/td#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix hctl: <https://www.w3.org/2019/wot/hypermedia#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix schema: <http://schema.org/> .
@prefix hctl: <https://www.w3.org/2019/wot/hypermedia#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix tm: <https://www.w3.org/2019/wot/tm#> .
@base <https://www.w3.org/2019/wot/tm#> .


: rdf:type owl:Ontology ;
<https://www.w3.org/2019/wot/tm> rdf:type owl:Ontology ;
dc:title "Thing Model Ontology"@en ;
vann:preferredNamespacePrefix "tm" ;
vann:preferredNamespaceUri "https://www.w3.org/2019/wot/tm#" ;
owl:versionInfo "0.1.0" ;
dc:title "Thing Model Ontology"@en ;
rdfs:comment "This ontology aims to model the Web of Things domain according to the W3C Working Group (https://www.w3.org/WoT/)"@en ;
owl:versionInfo "1.1.0" ;
rdfs:comment "This ontology aims to model the Web of Things Thing Model according to the W3C Working Group (https://www.w3.org/wot/)"@en ;
dcterms:license <http://purl.org/NET/rdflicense/cc-by4.0> ;
dcterms:contributor <https://vcharpenay.link/#me> ;
dcterms:author "Mahda Noura (Siemens)" ;
dcterms:author "Sebastian Kaebisch (Siemens)" ;
dc:publisher [ a schema:Organization ; schema:name "W3C Web of Things Working Group" ; schema:url <https://www.w3.org/WoT/> ] .

:ThingModel rdf:type rdfs:Class, owl:Class ;
rdfs:label "ThingModel"@en ;
rdfs:comment "A Thing Model is a description for a class of Things that have the same capabilities. It describes the Properties, Actions, and Events and common metadata that are shared for an entire group of Things. Compared to a Thing Description, a Thing Model does not contain enough information to identify or interact with a Thing instance."@en ;
rdfs:isDefinedBy : .

:ref rdf:type owl:AnnotationProperty ;
rdfs:label "ref" ;
rdfs:comment "Provides a reference to an existing (external or local) definition that is copied into a newly defined definition. The reference value is based on three parts: an (optional) URI-reference (used for external reference), '#' sign, and JSON Pointer [RFC6901] value."@en ;
rdfs:seeAlso schema:contactPoint ;
rdfs:isDefinedBy : .

:required rdf:type owl:AnnotationProperty ;
rdfs:label "required" ;
rdfs:comment "Constraint that provides references to declarations in the Thing Model that are mandatory and must be present when Thing Description instances are derived from this Thing Model. The reference value is a JSON Pointer [RFC6901]."@en ;
rdfs:isDefinedBy : .
dcterms:description "This ontology describes Thing Model concepts"@en ;
dc:publisher [ a schema:Organization ; schema:name "W3C Web of Things Working Group"@en ;
schema:url <https://www.w3.org/WoT/WG/> ] .


dc:title rdf:type owl:AnnotationProperty .
vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty .
vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
dcterms:description rdf:type owl:AnnotationProperty .
dcterms:license rdf:type owl:AnnotationProperty .
dcterms:contributor rdf:type owl:AnnotationProperty .
dcterms:author rdf:type owl:AnnotationProperty .
dcterms:license rdf:type owl:AnnotationProperty .
dc:publisher rdf:type owl:AnnotationProperty .
schema:name rdf:type owl:AnnotationProperty .
schema:url rdf:type owl:AnnotationProperty .


:versionInfo rdf:type owl:AnnotationProperty ;
rdfs:comment "Provides version information of the TM ontology."@en ;
rdfs:isDefinedBy tm: ;
rdfs:label "versionInfo"@en ;
rdfs:seeAlso schema:version .


td:hasInteractionAffordance rdf:type owl:ObjectProperty ;
rdfs:domain :ThingModel ;
rdfs:range td:InteractionAffordance ;
rdfs:comment "Offers an affordance to interact with the Thing"@en ;
rdfs:isDefinedBy td: ;
rdfs:label "hasInteractionAffordance"@en .


td:hasLink rdf:type owl:ObjectProperty ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes hctl:Link ;
rdfs:comment "Provides links to existing resources specified in a Thing Model to extend another Thing Model ."@en ;
rdfs:isDefinedBy td: ;
rdfs:label "hasLink"@en .


:hasVersion rdf:type owl:ObjectProperty ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes :Version ;
rdfs:comment "Provides the relation between a Thing Model and its version."@en ;
rdfs:isDefinedBy tm: ;
rdfs:label "hasVersion"@en .



td:description rdf:type owl:DatatypeProperty ;
rdfs:comment "Provides description of the Thing Model element."@en ;
rdfs:label "description"@en ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes schema:Text ;
rdfs:isDefinedBy td: .


:model rdf:type owl:DatatypeProperty ;
rdfs:label "model"@en ;
schema:domainIncludes :Version ;
schema:rangeIncludes schema:Text ;
rdfs:comment "Provides a version indicator of the underlying TM."@en ;
rdfs:isDefinedBy tm: .


:optional rdf:type owl:DatatypeProperty ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes schema:Text ;
rdfs:comment "Constraint that provides references to declarations in the Thing Model that are optional and do not necessarily need to be implemented when Thing Description instances are derived from this Thing Model. The value of tm:optional MUST provide JSON Pointer [RFC6901] references to the required interaction model definitions."@en ;
rdfs:label "optional"@en ;
rdfs:isDefinedBy tm: .


:ref rdf:type owl:DatatypeProperty ;
schema:domainIncludes td:InteractionAffordance ;
schema:rangeIncludes schema:Text ;
rdfs:comment "Provides a reference to an existing (external or local) definition that is copied into a newly defined definition. The reference value is based on three parts: an (optional) URI-reference (used for external reference), '#' sign, and JSON Pointer [RFC6901] value."@en ;
rdfs:label "ref"@en ;
rdfs:seeAlso schema:contactPoint ;
rdfs:isDefinedBy tm: .


:required rdf:type owl:DatatypeProperty ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes schema:Text ;
rdfs:comment "Constraint that provides references to declarations in the Thing Model that are mandatory and must be present when Thing Description instances are derived from this Thing Model. The reference value is a JSON Pointer [RFC6901]."@en ;
rdfs:label "required"@en ;
rdfs:isDefinedBy tm: .


td:title rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf dcterms:title ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes schema:Text ;
rdfs:comment "Provide the title of the Thing Model"@en ;
rdfs:isDefinedBy td: ;
rdfs:label "title"@en .


:ThingModel rdf:type owl:Class ;
rdfs:comment "A Thing Model is a description for a class of Things that have the same capabilities. It describes the Properties, Actions, and Events and common metadata that are shared for an entire group of Things. Compared to a Thing Description, a Thing Model does not contain enough information to identify or interact with a Thing instance."@en ;
rdfs:isDefinedBy tm: ;
rdfs:label "ThingModel"@en .


:Version rdf:type owl:Class ;
rdfs:comment "The Version is a container that provides versioning information for the Thing Model definition."@en ;
rdfs:isDefinedBy tm: ;
rdfs:label "Version"@en .

Loading

0 comments on commit 1cc3d84

Please sign in to comment.