Skip to content

Commit

Permalink
first release with documentation
Browse files Browse the repository at this point in the history
Ready to be published.
  • Loading branch information
mariapoveda committed Jan 12, 2017
1 parent bdd915e commit 0a2a25c
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 19 deletions.
27 changes: 17 additions & 10 deletions OnToology/ontology/wot.ttl/documentation/index-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,38 @@
</script>
</head>

<body resource="[Ontology URI]" typeOf="owl:Ontology schema:TechArticle">
<body resource="http://iot.linkeddata.es/def/wot#" typeOf="owl:Ontology schema:TechArticle">
<span resource="" typeOf="foaf:Document schema:WebPage">
<span property="dc:contributor prov:wasAttributedTo schema:contributor" resource="http://purl.org/net/dgarijo"></span>
</span>
<div class="container"><div class="head">
<div style="float:right">language <a href="index-en.html"><b>en</b></a> </div>
<dl><dt>Download serialization:</dt><dd><span><a href="ontology.n3" target="_blank"><img src="https://img.shields.io/badge/Format-N_Triples-blue.svg"</img></a> </span><span><a href="ontology.xml" target="_blank"><img src="https://img.shields.io/badge/Format-RDF/XML-blue.svg"</img></a> </span><span><a href="ontology.ttl" target="_blank"><img src="https://img.shields.io/badge/Format-TTL-blue.svg"</img></a> </span></dd></dl><dl><dt>License: </dt><dd><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/" target="_blank"><img src ="https://img.shields.io/badge/License-License name. E.g.: Creative Commons Attribution_NonCommercial_ShareAlike 2.0 Generic License-blue.svg"</img></a>
<span property="dc:license" resource="http://creativecommons.org/licenses/by-nc-sa/2.0/"></span>
<a property="dc:rights" href="http://creativecommons.org/licenses/by-nc-sa/2.0/" rel="license" target="_blank">
<img src="http://i.creativecommons.org/l/by-nc-sa/2.0/88x31.png" style="border-width:0" alt="License"></img>
</a>

<h1 property="dc:title schema:name">SAREF extension for building devices</h1>
<dl>
<dt>This version:</dt>
<dd><a href="http://iot.linkeddata.es/def/wot">http://iot.linkeddata.es/def/wot</a></dd>
</dl><dt>Revision:</dt>
<dd property="schema:version">0.0.1</dd>
<dl><dt>Authors:</dt>
<dd><a property="dc:creator schema:author prov:wasAttributedTo" resource="http://purl.org/net/mpoveda" href="http://purl.org/net/mpoveda">María Poveda Villalón</a></dd><dd><a property="dc:creator schema:author prov:wasAttributedTo" resource="http://www.garcia-castro.com/foaf.rdf#me" href="http://www.garcia-castro.com/foaf.rdf#me">Raúl García Castro</a></dd></dl>

<dl><dt>Download serialization:</dt><dd><span><a href="ontology.n3" target="_blank"><img src="https://img.shields.io/badge/Format-N_Triples-blue.svg"</img></a> </span><span><a href="ontology.xml" target="_blank"><img src="https://img.shields.io/badge/Format-RDF/XML-blue.svg"</img></a> </span><span><a href="ontology.ttl" target="_blank"><img src="https://img.shields.io/badge/Format-TTL-blue.svg"</img></a> </span></dd></dl><dl><dt>
License: </dt><dd><a rel="license" href="http://purl.org/NET/rdflicense/cc-by4.0" target="_blank"><img src ="https://img.shields.io/badge/License-Creative Commons CC_BY-blue.svg"</img></a>
<br/></dd></dl><dl><a href="provenance/provenance-en.html" target="_blank">Provenance of this page</a></dl><hr/>
</div>
<div class="status">
<div>
<span>Specification Draft</span>
<span>Ontology draft</span>
</div>
</div> <div id="abstract"></div>
<div id="toc"><h2>Table of contents</h2>
<ul>
<li><a href="#introduction">1. Introduction</a></li>
<ul><li><a href="#namespacedeclarations">1.1 Namespace declarations</a></li></ul>
<li><a href="#overview">2. [Ontology Name]: Overview</a></li>
<li><a href="#description">3. [Ontology Name]: Description</a></li>
<li><a href="#crossref">4. Cross reference for [Ontology Name] classes, properties and dataproperties</a></li>
<li><a href="#overview">2. WoT: Overview</a></li>
<li><a href="#description">3. WoT: Description</a></li>
<li><a href="#crossref">4. Cross reference for WoT classes, properties and dataproperties</a></li>
<ul>
<li><a href="#classes">4.1 Classes</a></li>
<li><a href="#objectproperties">4.2 Object Properties</a></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<h2>Abstract</h2><p>Here goes the abstract. A couple of sentences summarizing the ontology and its prupose.</p>
<h2>Abstract</h2><p>This ontology aims to model the Web of Things domain according to the w3c Interest Group (http://w3c.github.io/wot/)</p>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h2>4. Cross reference for [Ontology Name] classes, properties and dataproperties</h2>
This section provides details for each class and property defined by [Ontology Name].
<h2>4. Cross reference for WoT classes, properties and dataproperties</h2>
This section provides details for each class and property defined by WoT.
<div id="classes">
<h2>Classes</h2>
<ul class="hlist">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
<h2>3. [Ontology Name]: Description <span class="backlink"> back to <a href="#toc">ToC</a></span></h2>
<p>Complete description of the ontology: a diagram explaining how the classes are related, examples of usage, etc.</p>
<h2>3. WoT: Description <span class="backlink"> back to <a href="#toc">ToC</a></span></h2>

<p>Figure 1 provides a general overview of the current status of the WoT ontology. It is worth noting that some elements might be deleted and the model is not final as some aspects of the WoT current practices have not been addressed yet, like the security aspects. </p>
<center><img src="resources/images/WoTOntology.png" alt="General overview of the WoT ontology."> <figcaption>Figure 1. - General overview of the WoT ontology main classes and properties.</figcaption></center>

<p>Figure 2 provides an example of population of the WoT ontology for the "" example provided at <a href="http://w3c.github.io/wot/current-practices/wot-practices.html#quick-start-td-samples">WoT Current Practices (Unofficial Draft 22 December 2016)</a>
.</p>

<center><img src="resources/images/WOTexample1.png" alt="Example of a Thing interaction patterns."> <figcaption>Figure 2. - Example of a Thing interaction patterns.</figcaption></center>

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h2>1. Introduction <span class="backlink"> back to <a href="#toc">ToC</a></span></h2>
<p>This should talk a bit about your ontology, its motivation, soa and goals</p>
<p>TThis ontology aims to model the Web of Things domain according to the w3c Interest Group (http://w3c.github.io/wot/). More details to come.</p>
<div id="namespacedeclarations">
<h2>1.1. Namespace declarations<span class="backlink"> back to <a href="#toc">ToC</a></span></h2>
</p><div id="ns" align="center">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<h2>2. [Ontology Name]: Overview <span class="backlink"> back to <a href="#toc">ToC</a></span></h2>
<p>Overview of the ontology goes here: a few sentences explaining the main concepts of the ontology</p>
<h2>2. WoT: Overview <span class="backlink"> back to <a href="#toc">ToC</a></span></h2>
<h4>Classes</h4>
<ul class="hlist">
<li>
Expand Down
2 changes: 1 addition & 1 deletion ontology/wot.ttl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@prefix : <http://iot.linkeddata.es/def/wot##> .
@prefix : <http://iot.linkeddata.es/def/wot#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
Expand Down

0 comments on commit 0a2a25c

Please sign in to comment.