Skip to content

Question: convert Jelly-with-quads to Turtle? #253

@persona0591

Description

@persona0591

Hi all!

Thanks for all your good work!

I have an N-Quads file, test.nq:

<https://example.org/> <http://www.w3.org/2000/01/rdf-schema#label> "Test"@en <https://example.org/my-graph> .

I have converted it to Jelly:

java -jar jelly-cli.jar rdf to-jelly test.nq > test.jelly

I'm now trying to convert the Jelly file to Turtle:

java -jar jelly-cli.jar rdf from-jelly --out-format ttl test.jelly > test.ttl

But I'm getting this error in return:

Jena RDF I/O exception: Quad in Triple output (...)

Is there a way to tell the Jelly CLI to convert only the triples?

This is how I do it in combination with Jena's Riot (--merge):

riot --merge --stream ttl test.jelly > test.ttl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions