Interface SPARQLEndpoint

Hierarchy

  • SPARQLEndpoint

Implemented by

Methods

Methods

  • Run a SPARQL select query and return a list of matches in the form of binding objects indexed by the variables in the select clause.

    Returns

    An array of bindings, i.e. objects with properties the SPARQL select variables. For example [ {"sub":"http://dbpedia.org/resource/New_York_City", "label": "Mew York" } ]

    Parameters

    • query: {
          queryString: string;
      }

      A valid SPARQL select query. For example select ?sub ?label where { ?sub rdfs:label ?label }

      • queryString: string

    Returns Promise<object[]>

Generated using TypeDoc