Skip to content

[Query interface] Number of query methods #6

Closed
@rubensworks

Description

@rubensworks

This issue branches of from the discussion in #5 (comment)

In essence, the question is to either expose a single query methods such as

      query(query: string): Promise<SomeUnionType>

or expose multiple methods such as

      select(query: string): Promise<Array<Record<string, import('rdf-js').Term>>>
      construct(query: string): Promise<import('rdf-js').Dataset>
      ask(query: string): Promise<boolean>
      update(query: string): Promise<void>

(I will add my own thoughts as a comment in a bit...)

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