Skip to content

Make serialize() on a CONSTRUCT result act like normal g.serialize() #1834

@aucampia

Description

@aucampia

Discussed in #1612

Originally posted by nicholascar June 11, 2021
Currently (RDFlib 6.0.0a0 AKA master), g.serialize() defaults to turtle format and is decoded, however calling serialize() on a SPARQL CONSTRUCT result (i.e. on a Result object) returns the RDFlib 5.0.0 form of an RDF/XML, UTF-8-encoded result.

The old style serialize() in Result should be updated to match the main Graph() serialize().

Metadata

Metadata

Assignees

Labels

breaking changeThis involves or proposes breaking RDFLib's public API.enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions