Create home authored by Sebastien's avatar Sebastien
# Rdf-vocabulary.
Java library of rdfunl schema
It includes rdf schema and the schemagen jena tool to generate java file associated to the rdf schema.
# requirements.
- Maven 3+
# How to update unl java class from the schema
1. Install maven 3 or higher (see wiki of your OS)
2. Clone the repository : ```git clone https://gitlab.tetras-libre.fr/unl/rdf-vocabulary.git```
3. Modify the file "rdf-vocabulary/src/main/vocabs/unlVocabulary.ttl"
4. Run command ```mvn package``` to compile and create package
5. Run command ```mvn install``` to install to your local maven repository the package.
# Use the generated jar with maven based project
Insert in the `pom.xml` the following lines
```xml
<dependencies>
...
<dependency>
<groupId>fr.tetras_libre.rdf.vocabulary</groupId>
<artifactId>rdf-vocabulary</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
...
</dependencies>
```