Require an VocBench account
Export vocbench SKOSXL file of all Ontologies
exportFile.ttl or exportfile.rdf
Used for VBOntoCleaner program
exportFile.ttl or exportfile.rdf
Remove the all deprecated concepts and theirs relations( children or related links)
For this program, you can use the following options:
By default the input format is RDF∕XML and outPut format is TURTLE.
If you don't sepecify the output file the response will be displayed on the console.
To run all commands, we essentially need the input file.
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner inputFile.rdf
When you want to retrieve the output file, you add the option --out nameOfFile.extension or --o nameOfFile.extension
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --out outputFile.ttl inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --o outputFile.ttl inputFile.rdf
When you want to specify the input format, you add the option --input format or --i format
There is the different types of format( No distinction is made between upper and lower case letters):
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --input rdf/xml --out outputFile.ttl inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --i rdf/xml --o outputFile.ttl inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --input turtle --out outputFile.ttl inputFile.ttl
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --i turtle --o outputFile.ttl inputFile.ttl
When you want to specify the output format, you add the option --formatted format or --f format
The different types of format
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --formatted turtle --out outputFile.ttl inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --f turtle --o outputFile.ttl inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --formatted rdf/xml --out outputFile.rdf inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --f rdf/xml --o outputFile.rdf inputFile.rdf
When you want to know which command can be used for a given program, you can run one of the following commands.
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --help
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --h
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --?
You can also combine several options like the following command:
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --input turtle --formatted rdf/xml --out outputFile.rdf inputFile.ttl
java -cp MICAOntologyUtils.jar org.mica.skos.VBOntoCleaner --i turtle --f rdf/xml --o outputFile.rdf inputFile.ttl
cleanedSkosXL.ttl or cleanedSkosXL.rdf
Used to create a new project cleaned in VocBench or for SkosXL2Skos program
cleanedSkosXL.ttl or cleanedSkosXL.rdf
Transform SkosXL vocabulary to Skos vocabulary
For this program, you can use the following options:
You can combine several options:
java -cp MICAOntologyUtils.jar org.mica.skos.SkosXL2Skos --input turtle --formatted rdf/xml --out outputFile.rdf inputFile.ttl
cleanedSkos.ttl or cleanedSkos.rdf
Used for the following programs :
cleanedSkosXL.ttl or cleanedSkosXL.rdf
Transform SkosXL to Skos and add all inferences
For this program, you can use the following options:
For SkosXL2Skos program, when you want to add inferences on ontology, you can add an option --inferences or --if
java -cp MICAOntologyUtils.jar org.mica.skos.SkosXL2Skos --inferences --out outputFile.rdf inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.SkosXL2Skos --if --o --out outputFile.rdf inputFile.rdf
You can combine several options:
java -cp MICAOntologyUtils.jar org.mica.skos.SkosXL2Skos --inferences --input turtle --formatted rdf/xml --out outputFile.rdf inputFile.ttl
cleanedSkosInferred.ttl or cleanedSkosInferred.rdf
Used for UpdateMicaTripleStore program or MicaTripleStore
cleanedSkosInferred.ttl or cleanedSkosInferred.rdf
Update the Mica Triple store automatically
For this program, you can use the following options:
For UpdateMicaTripleStore program, you must add an option of URL of dataset to update such --dataset urldataset or --d urldataset
java -cp MICAOntologyUtils.jar org.mica.skos.UpdateMicaTripleStore --dataset http://lig-coin.imag.fr/fuseki/mica --out outputFile.ttl inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.UpdateMicaTripleStore --d http://lig-coin.imag.fr/fuseki/mica --o outputFile.ttl inputFile.rdf
You can combine several options:
java -cp MICAOntologyUtils.jar org.mica.skos.UpdateMicaTripleStore --dataset http://lig-coin.imag.fr/fuseki/mica --input turtle --formatted rdf/xml --out outputFile.rdf inputFile.ttl
updateMicaTripleStore.ttl or updateMicaTripleStore.rdf
Used for MicaTripleStore ( change the program to add triple store URI as input )
cleanedSkos.ttl or cleanedSkos.rdf
Create a csv file which contains all concepts and theirs relations
For this program, you can use the following options:
Some program must define the conceptScheme on which we want to extract the data, you add the option --scheme conceptSheme or --s conceptSheme
There is the different types of ConceptScheme:
java -cp MICAOntologyUtils.jar org.mica.skos.SkosRelatedCsv --scheme DomainScheme --out outputFile.csv inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.SkosRelatedCsv --s DomainScheme--o outputFile.csv inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.SkosRelatedCsv --scheme DataScheme --out outputFile.csv inputFile.rdf
java -cp MICAOntologyUtils.jar org.mica.skos.SkosRelatedCsv --s DataScheme --o outputFile.csv inputFile.rdf
You can combine several options:
java -cp MICAOntologyUtils.jar org.mica.skos.SkosRelatedCsv --scheme DataScheme --input turtle --out outputFile.csv inputFile.ttl
skosRelated.csv
Used to visualize the relations between the concepts
cleanedSkos.ttl or cleanedSkos.rdf
Create a HTML file which contains all concepts and theirs relations
For this program, you can use the following options:
You can combine several options:
java -cp MICAOntologyUtils.jar org.mica.skos.SkosRelatedHTML --scheme DataScheme --input turtle --out outputFile.html inputFile.ttl
skosRelated.html
Used to visualize the relations between the concepts
cleanedSkos.ttl or cleanedSkos.rdf
Update the Mica Triple Store
For this program, you can use the following options:
You can combine several options:
java -cp MICAOntologyUtils.jar org.mica.skos.Skos2JsonFancyTree --scheme DataScheme --input turtle --out outputFile.json inputFile.ttl
ConceptScheme.json
Used to MICASheetEditor API
cleanedSkos.ttl or cleanedSkos.rdf
Create a file format for GeoNetwork
For this program, you can use the following options:
You can combine several options:
java -cp MICAOntologyUtils.jar org.mica.skos.Skos2BGSFile --input turtle --formatted rdf/xml --out outputFile.rdf inputFile.ttl
skosBGS.rdf or skosBGS.ttl
Used for GeoNetwork by BGS