-
Notifications
You must be signed in to change notification settings - Fork 5
Command line Excel to RDF conversion
Thomas Francart edited this page Sep 28, 2021
·
2 revisions
- Download the file xls2rdf-app-x.y.z-onejar.jar from the download section;
- Make sure you have Java >= 8 installed and available;
- Open a terminal/prompt where you downloaded the command-line application, and run :
java -jar xls2rdf-app-x.y.z-onejar.jar
You should see the help message given below, with all the options documented.
- Create an Excel file from the formatting instructions in the documentation.
- Run a command similar to this one to generate a SKOS or RDF file from the Excel file
java -jar xls2rdf-app-x.y.z-onejar.jar convert -i path_to_excel_file.xlsx -o output_rdf.ttl -l en
- Adjust the parameters as appropriate (you can output multiple files in a directory for example).
Usage: <main class> [options] [command] [command options]
Options:
-h, --help
Prints the help message
Default: false
-l, --log
Reference to a log4j configuration file
Commands:
convert Usage: convert [options]
Options:
-def, --definitions
XLify definitions
Default: false
-d, --directory
Consider output like a directory, and generate separate files in it
for each graph.
Default: false
-xd, --externalData
External support data for reconcile
-f, --format
Output RDF format mime type.
-g, --generateGraphs
Generate Virtuoso graph files
Default: false
* -i, --input
Input Excel file
* -l, --lang
Default language to use.
-np, --noPostProcessings
Ignore post processings on sheet data
Default: false
* -o, --output
Output RDF or ZIP file name
-xl, --skosxl
XLify labels
Default: false