-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Is g.serialize() supposed to produce a compacted jsonld document? If I have this graph [node_a]->knows->[blank_node], when I retrieve node_a with rdflib and then serialize with rdflib-jsonld, I obtain this document
{
"@context": [...],
"@graph": [
{
"name": "Alice"
"knows": { "id": "_:xxxxx" }
},
{
"id": "_:xxxxx"
}
]
}
whereas I would expect this
{
"@context": [...],
"name": "Alice"
"knows": "_:xxxxx"
}
Am I doing something wrong?
Metadata
Metadata
Assignees
Labels
No labels