Open mchlrch opened 4 years ago
For how to use carm-cli
with streamName "stdin":
https://zulip.zazuko.com/#narrow/stream/34-rdf-workbench/topic/carml/near/176562
You can use the carml-cli to convert XML https://github.com/netage/carml-cli/releases/ And run it like this: java -jar lib/cli-1.0.1-SNAPSHOT-jar-with-dependencies.jar -m src-gen/mapping.carml.ttl < input/foo.xml
This reads the XML from stdin. For this to work, you need to have source "stdin" in the xrm logical source. Something like this:
logical-source mysource { type xml source "stdin"
There is now a template pipeline repo for XML
https://github.com/zazuko/xrm-xml-workflow/issues/1
Once the repo naming is settled, links to the template repo should be added to the READMEs in:
Add a CARML XML mapping sample to rdf-mapping-dsl-user repository. Including the plumbing for processing with carml-cli.
This sample mapping should include the following constructs:
rr:parentTriplesMap
#31rml:iterator