Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 920 Bytes

File metadata and controls

33 lines (22 loc) · 920 Bytes

Exercise 1 - Lowering

We want to lower the RDF KG contained in ./inbox/e1-input.ttl to the CSV representation in file ./outbox/e1-output.csv.

To do this, edit and complete the MTL mapping in ./lowering.vm.

Use the commands below to run the mappings and check the output obtained through the logs or in [./outbox/e1-exercise-output.csv].

How to run the mapping

Using Docker Compose

cd camel-routes-exercises/e1
docker compose up
docker compose down

Docker Command

# from root directory
docker run -v ./camel-routes-exercises/e1:/app cefriel/chimera:kg4di
# container must be explicitly killed with command [docker kill <container_id_or_name>]

JBang Command

cd camel-routes-exercises/e1
jbang camel@apache/camel run camel-routes/*.yaml --dep=mvn:com.cefriel:camel-chimera-mapping-template:4.6.0