stardog-admin db create -n testquads -t D \
-o strict.parsing=false \
-o query.all.graphs=true \
-o reasoning.type=none \
~Desktop/quad.nq \
(that's the encoded string for "CONSTRUCT {?s ?p ?o} WHERE {?s ?p ?o}" )
...then you get back null characters in the response (having trouble pasting it, also see attached screenshot!):
<http://example.com/subject> <http://example.com/predicate> "Experimental." .
...Or as n-triples (with Accept:text/plain):
<http://example.com/subject> <http://example.com/predicate> "\uFFFD\uFFFD\uFFFDExperimental\uFFFD\uFFFD\uFFFD." .
I believe turtle should be in UTF8. And while n-triples (as text/plain MIME type at least) could escape them with \u, why is it repeated 3 times?
What are we doing wrong? Is this a bug in stardog?
Thanks!
Ric
Also, is there a reason Stardog doesn't support application/n-triples to request n-triples? (Stardog returns a 406 when you use that as an Accept header).
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en