Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 2.12.0
-
None
Description
Graph g = GraphFactory.createGraphMem() ; g.add(SSE.parseTriple("(:s :p :o)")) ; RDFDataMgr.write(System.out, g, Lang.JSONLD) ;
outputs
{ "@graph" : [ { "@id" : "http://example/s", "p" : "http://example/o" } ], "@id" : "urn:x-arq:DefaultGraphNode", "@context" : { "p" : { "@id" : "http://example/p", "@type" : "@id" } } }