Click or drag to resize

SparqlResultSet Class

Class for representing Sparql Result Sets.
Inheritance Hierarchy
SystemObject
  VDS.RDF.QuerySparqlResultSet

Namespace:  VDS.RDF.Query
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
[SerializableAttribute]
public sealed class SparqlResultSet : IEnumerable<SparqlResult>, 
	IEnumerable, IDisposable, ISerializable, IXmlSerializable

The SparqlResultSet type exposes the following members.

Constructors
  NameDescription
Public methodSparqlResultSet
Creates an Empty Sparql Result Set.
Public methodSparqlResultSet(Boolean)
Creates a Sparql Result Set for the Results of an ASK Query with the given Result value.
Public methodSparqlResultSet(SparqlEvaluationContext)
Creates a SPARQL Result Set for the Results of a Query with the Leviathan Engine.
Public methodSparqlResultSet(IEnumerableSparqlResult)
Creates a Sparql Result Set for the collection of results.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of Results in the Result Set.
Public propertyIsEmpty
Gets whether the Result Set is empty and can have Results loaded into it.
Public propertyItem
Index directly into the Results.
Public propertyResult
Gets the Result of an ASK Query.
Public propertyResults
Gets the List of Results.
Public propertyResultsType
Gets the Type of the Results Set.
Public propertyVariables
Gets the Variables used in the Result Set.
Top
Methods
  NameDescription
Public methodDispose
Disposes of a Result Set.
Public methodEquals
Determines whether two Result Sets are equal.
(Overrides ObjectEquals(Object).)
Public methodGetEnumerator
Gets an Enumerator for the Results List.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Gets the data for serialization.
Public methodGetSchema
Gets the schema for XML serialization.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReadXml
Reads the data for XML deserialization (.Net serialization not the official SPARQL results serialization).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToTripleCollection(IGraph)
Converts a Result Set into a Triple Collection.
Public methodToTripleCollection(IGraph, String, String, String)
Converts a Result Set into a Triple Collection.
Public methodTrim
Trims the Result Set to remove unbound variables from results.
Public methodWriteXml
Writes the data for XML serialization (.Net serialization not the official SPARQL results serialization).
Top
Extension Methods
  NameDescription
Public Extension MethodAsDynamic
Dynamically wraps a SPARQL result set.
(Defined by DynamicExtensions.)
Public Extension MethodIsDisjointSparqlResult
Determines whether the contents of two enumerables are disjoint.
(Defined by Extensions.)
Top
See Also