Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
  • Loading branch information
pasqLisena committed Mar 17, 2018
2 parents 16d62e2 + a3f3879 commit 0913b77
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ String2Vocabulary

[![](https://jitpack.io/v/DOREMUS-ANR/string2vocabulary.svg)](https://jitpack.io/#DOREMUS-ANR/string2vocabulary)


Look for literal in the RDF and substitute with URIs from controlled vocabularies.
Look for literals in an RDF graph and substitute them with URIs from controlled vocabularies.
Built with Gradle and Apache Jena.

It uses the name of the vocabularies files for grouping them in **families**. I.e. `city-italy.ttl` and `city-france.ttl` are part of the family `city`.
It uses the the vocabulary filenames for grouping them in **families**. For example, `city-italy.ttl` and `city-france.ttl` are part of the family `city`.

## Input

Expand All @@ -28,7 +27,7 @@ ns:myMusicWork mus:U11_has_key [
mus:U2_foresees_use_of_medium_of_performance "mezzosoprano" .
```

this produce as output.
this produces as output.

```turtle
ns:myMusicWork mus:U11_has_key <http://data.doremus.org/vocabulary/key/d> ;
Expand All @@ -51,7 +50,7 @@ ns:myMusicWork mus:U11_has_key <http://data.doremus.org/vocabulary/key/d> ;

```
dependencies {
compile 'com.github.DOREMUS-ANR:string2vocabulary:0.1'
compile 'com.github.DOREMUS-ANR:string2vocabulary:0.2'
}
```

Expand Down Expand Up @@ -116,4 +115,4 @@ See the [test](src/test) folder for another example of usage.
| vocabularies | `/location/to/vocabularyFolder` | Folder containing the vocabularies in turtle format |
| input | `/location/to/input.ttl` | The input turtle file |
| output _(Optional)_ | `/location/to/output.ttl` | The output turtle file. Default: `inputPath/inputName_output.ttl` |
| lang _(Optional)_ | `fr` | Language to be used for singularising the words. Default: `en`. |
| lang _(Optional)_ | `fr` | Language to be used for singularising the words. Default: `en`. |

0 comments on commit 0913b77

Please sign in to comment.