Skip to content

Consistent return value of Triplestore.query() #444

@jesper-friis

Description

@jesper-friis

Ensure that Triplestore.query() returns the same type for all backends.

For queries returning literals, it seems that the rdflib backend in current implementation returns a list of tuples of strings while the sparqlwrapper backend returns a list of tuples of literals objects.

According to the interface file strings should be returned, but it seems that it is more sensible to return literals.

Update the documentation and ensure that the backends respects it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions