Skip to content

Align query result types with rdflib #230

Description

@namedgraph

This logic returns different representations based on the return format. I think this breaks the abstraction. The reasonable return type in this case would be rdflib's Result.

I think the method's return type should be the same as rdflib's Graph.query():

def convert(self) -> rdflib.query.Result:

so as to align querying in-memory and remote RDF sources. Or maybe the convert method is not required at all and query should return rdflib.query.Result.

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