Andy Seaborne created JENA-794:
----------------------------------
Summary: Writing JSON-LD causes a graph name of
"urn:x-arq:DefaultGraphNode"
Key: JENA-794
URL: https://issues.apache.org/jira/browse/JENA-794
Project: Apache Jena
Issue Type: Bug
Components: RIOT
Affects Versions: Jena 2.12.0
Reporter: Andy Seaborne
{noformat}
Graph g = GraphFactory.createGraphMem() ;
g.add(SSE.parseTriple("(:s :p :o)")) ;
RDFDataMgr.write(System.out, g, Lang.JSONLD) ;
{noformat}
outputs
{noformat}
{
"@graph" : [ {
"@id" : "http://example/s",
"p" : "http://example/o"
} ],
"@id" : "urn:x-arq:DefaultGraphNode",
"@context" : {
"p" : {
"@id" : "http://example/p",
"@type" : "@id"
}
}
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)