Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

SPARQLQueryResults

Efimster edited this page May 5, 2014 · 2 revisions

SPARQLQueryResults represents the result of Querying function. Query functions are already implemented for dotNetRDF by dotNetRDF connector and for BrightstarDB by Brightstar connector.

In order to create your own Querying function, read the following description:

SPARQLQueryResults class represents SPARQL Query result sets. It encapsulates collection of SPARQLQueryResult objects. Members:

  • HashSet Variables {get;} - variables of result set
  • void AddResult(SPARQLQueryResult result) - Adds result row to result set

> **SPARQLQueryResult** class represents row of a SPARQL Query result set. It encapsulates collection of ResultBinding objects. > _**Members:**_ > * _void AddBinding(ResultBinding binding)_ - Adds result binding to result row;

> **ResultBinding** abstract class represents result binding. Currently there are two result binding types: Literal and IRI.

> **IriBinding** represents IRI result binding.
> _**Members:**_ > * _string Name { get; set; }_ - result set variable name binding to > * _Uri Iri { get; set; }_ - IRI binding value

> **LiteralBinding** represents Literal result binding.
> _**Members:**_ > * _string Name { get; set; }_ - result set variable name binding to > * _Uri DataType { get; set; }_ - IRI of binding value type > * _string Language { get; set; }_ - Language of binding value type > * _string Literal { get; set; }_ - Literal binding value

Clone this wiki locally