IDLabResearch / RMLProcessor

http://rml.io/
11 stars 10 forks source link

Add an example #1

Closed pietercolpaert closed 10 years ago

pietercolpaert commented 10 years ago

Please add an example to the README.md that "just works". That will speed up getting the hang of RML a lot (understatement).

andimou commented 10 years ago

Considering example 3 https://github.com/mmlab/RMLProcessor/tree/master/src/test/resources/example3 then you need the following command: mvn exec:java -Dexec.args="sources.properties https://raw.github.com/mmlab/RMLProcessor/master/src/test/resources/example3/example3.rml.ttl https://raw.github.com/mmlab/RMLProcessor/master/src/test/resources/example3/example3.output.ttl" being at the root folder of the processor and having sources.properties as follows:

Airport.csv=https://raw.github.com/mmlab/RMLProcessor/master/src/test/resources/example3/Airport.csv 
Venue.json=https://raw.github.com/mmlab/RMLProcessor/master/src/test/resources/example3/Venue.json