Click or drag to resize

SparqlRdfWriter Class

Class for saving SPARQL Result Sets in the RDF serialization in the RDF format of your choice (default Turtle).
Inheritance Hierarchy
SystemObject
  VDS.RDF.WritingSparqlRdfWriter

Namespace:  VDS.RDF.Writing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class SparqlRdfWriter : ISparqlResultsWriter

The SparqlRdfWriter type exposes the following members.

Constructors
  NameDescription
Public methodSparqlRdfWriter
Creates a new SPARQL RDF Writer which will save Result Sets in the RDF serialization using Turtle syntax.
Public methodSparqlRdfWriter(IRdfWriter)
Creates a new SPARQL RDF Writer which will save Result Sets in the RDF serialization in your chosen RDF Syntax.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGenerateOutput
Method which generates the RDF Graph of a SPARQL Result Set.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave(SparqlResultSet, TextWriter)
Saves the SPARQL Result Set to the given Stream.
Public methodSave(SparqlResultSet, String)
Saves the SPARQL Result Set to the given File.
Public methodToString
Gets the String representation of the writer which is a description of the syntax it produces.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventWarning
Event raised when a non-fatal issue with the SPARQL Results being written is detected
Top
See Also