Python RDFLib plugin printed unread json
问题 I am trying to reproduce the example code from https://github.com/RDFLib/rdflib-jsonld as below: from rdflib import Graph, plugin from rdflib.serializer import Serializer testrdf = ''' @prefix dc: <http://purl.org/dc/terms/> . <http://example.org/about> dc:title "Someone's Homepage"@en . ''' g = Graph().parse(data=testrdf, format='n3') print(g.serialize(format='json-ld', indent=4)) However, it seems my python output was not printed as same as the expected result. The result should be: { "@id"