On 20/12/17 16:31, Laura Morales wrote:
1. shouldn't Jena throw an exception when adding such a triple ?

Yes.

Maybe. Depends on route in.

API calls are not checked. URIs presented by the application are expected to be correct.

Parsers are expected to check. JSON-LD only prints a warning IIRC.

2. what is the best way to remove the erroneous triple ?

Validate before inserting.


The proposal using update and str() looks good to me. That, or dump the database to Q-quads and fix the text format.

    Andy

Reply via email to