[
https://issues.apache.org/jira/browse/JENA-794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne closed JENA-794.
------------------------------
Resolution: Fixed
Fix Version/s: Jena 2.12.2
Assignee: Andy Seaborne
> 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
> Assignee: Andy Seaborne
> Fix For: Jena 2.12.2
>
>
> {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)