Skip to content

Commit

Permalink
Merge pull request #19 from AndreaCimminoArriaga/master
Browse files Browse the repository at this point in the history
Update version 0.2.2
  • Loading branch information
AndreaCimminoArriaga authored Jun 9, 2021
2 parents 25a3e44 + ad58dcc commit 7014ec9
Show file tree
Hide file tree
Showing 40 changed files with 31 additions and 3,867 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Java API for Thing Descriptions of WoT (JDTs)
[![Version](https://img.shields.io/badge/Version-0.2.1-orange)](https://github.com/oeg-upm/wot-jtd/releases)] [![Maven Central](https://img.shields.io/badge/Maven%20Central-v0.2.1-green)](https://search.maven.org/search?q=g:%22es.upm.fi.oeg%22%20AND%20a:%22wot-jtd%22) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GitHub stars](https://img.shields.io/github/stars/Naereen/StrapDown.js.svg?style=social&label=Star&maxAge=2592000)](https://github.com/oeg-upm/wot-jtd/stargazers)
[![Version](https://img.shields.io/badge/Version-0.2.2-orange)](https://github.com/oeg-upm/wot-jtd/releases)] [![Maven Central](https://img.shields.io/badge/Maven%20Central-v0.2.2-green)](https://search.maven.org/search?q=g:%22es.upm.fi.oeg%22%20AND%20a:%22wot-jtd%22) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GitHub stars](https://img.shields.io/github/stars/Naereen/StrapDown.js.svg?style=social&label=Star&maxAge=2592000)](https://github.com/oeg-upm/wot-jtd/stargazers)

The JDT is an ORM implementation of the current [Thing Description](https://www.w3.org/TR/wot-thing-description/) model standardised by the [W3C Web of Things group](https://www.w3.org/WoT/). The current features are:
* Serialise:
Expand All @@ -11,8 +11,9 @@ The JDT is an ORM implementation of the current [Thing Description](https://www.
* Translate a set of RDF triples into its equivalent JSON-LD framed document
* Validation
* Validate a JTD using [SHACL shapes](https://www.w3.org/TR/shacl/)
* Validate a JTD using [JSON schema](https://json-schema.org/) **(coming soon)**
* Validate a JTD according to the [restrictions specified in the standard](https://www.w3.org/TR/wot-thing-description/) **(coming soon)**
* Validate a JTD using [JSON schema](https://json-schema.org/) **(coming soon)**
* Validate a JTD according to the [restrictions specified in the standard](https://www.w3.org/TR/wot-thing-description/) **(coming soon)**


If you have any feedback or feature suggestion, please let us know posting an issue with the label <span style="color:#EFA914">**feedback**</span>

Expand Down Expand Up @@ -41,16 +42,16 @@ Import the JDTs library as a maven dependency, **be sure to specify the latest v
<dependency>
<groupId>es.upm.fi.oeg</groupId>
<artifactId>wot-jtd</artifactId>
<version>0.2.1</version>
<version>0.2.2</version>
</dependency>
```

Alternatively, the dependency can be installed manually. First, download the latest jar from the [releases section](), and then install the dependency as follows (**be sure to specify the latest version**):
````
mvn install:install-file -Dfile=wot-jtd.jar -DgroupId=es.upm.fi.oeg -DartifactId=wot-jtd -Dversion=0.2.1 -Dpackaging=jar
mvn install:install-file -Dfile=wot-jtd.jar -DgroupId=es.upm.fi.oeg -DartifactId=wot-jtd -Dversion=0.2.2 -Dpackaging=jar
````

Check our [Maven Central Repository page](https://search.maven.org/artifact/es.upm.fi.oeg/wot-jtd/0.2.1/jar) to discover other installation options like Gradle Groovy or Kotlin, Scala, and others.
Check our [Maven Central Repository page](https://search.maven.org/artifact/es.upm.fi.oeg/wot-jtd/0.2.2/jar) to discover other installation options like Gradle Groovy or Kotlin, Scala, and others.

## Model

Expand Down Expand Up @@ -158,6 +159,7 @@ ValidationReport shapeReport = JTD.validateWithShape(thing, shapesGraph);
##### Using JSON schema (*comming soon*)
##### Using restrictions in the model (*comming soon*)


### Support or Contact
WoT-JTD was created by [Andrea Cimmino](https://scholar.google.es/citations?user=_6U9WMcAAAAJ&hl=es&oi=ao) ([email protected]) and [Raúl García Castro](http://garcia-castro.com/) ([email protected]) at the [Universidad Politécnica de Madrid](https://www.upm.es/) in the research group [Ontology Engineering Group](https://oeg.fi.upm.es/).

9 changes: 7 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>es.upm.fi.oeg</groupId>
<artifactId>wot-jtd</artifactId>
<version>0.2.1</version>
<version>0.2.2</version>
<url>https://oeg-upm.github.io/wot-jtd</url>
<name>Java Thing Description API</name>
<description>This API aims at assisting developers for handling WoT Thing Descriptions, providing special support for RDF</description>
Expand All @@ -14,7 +14,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<licenses>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
Expand Down Expand Up @@ -212,6 +212,11 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>es.upm.fi.oeg</groupId>
<artifactId>kehio</artifactId>
<version>0.1.0</version>
</dependency>

</dependencies>

Expand Down
17 changes: 0 additions & 17 deletions src/main/java/kehio/annotations/RdfContainer.java

This file was deleted.

19 changes: 0 additions & 19 deletions src/main/java/kehio/annotations/RdfDatatype.java

This file was deleted.

16 changes: 0 additions & 16 deletions src/main/java/kehio/annotations/RdfDatatypeGroup.java

This file was deleted.

14 changes: 0 additions & 14 deletions src/main/java/kehio/annotations/RdfId.java

This file was deleted.

17 changes: 0 additions & 17 deletions src/main/java/kehio/annotations/RdfObject.java

This file was deleted.

18 changes: 0 additions & 18 deletions src/main/java/kehio/annotations/RdfObjectGroup.java

This file was deleted.

16 changes: 0 additions & 16 deletions src/main/java/kehio/annotations/RdfPropertiesContainer.java

This file was deleted.

15 changes: 0 additions & 15 deletions src/main/java/kehio/annotations/RdfUrlMap.java

This file was deleted.

Loading

0 comments on commit 7014ec9

Please sign in to comment.