jsonld-java / jsonld-java-tools

Tools for using JSONLD-Java
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Example needed with --context #5

Open jmvanel opened 6 years ago

jmvanel commented 6 years ago

When I try something like :

./jsonldplayground --inputFile data.json --context context.jsonld \
                           --process tordf --format turtle

I get an empty result. But if I put the content of context.jsonld inside data.json it works.

So I need a working example with a separate JSON-LD context.

Conal-Tuohy commented 6 years ago

I have successfully used the "Linked Art" context from here: https://linked.art/ns/v1/linked-art.json

My command line:

./jsonldplayground --inputFile /tmp/45929.jsonld  --process compact --context /usr/local/NMA-API-ETL/linked-art.json