C# Class RDFSharp.Query.RDFAskQueryResult

RDFAskResult is a container for SPARQL "ASK" query results.
Datei anzeigen Open project: mdesalvo/RDFSharp Class Usage Examples

Public Methods

Method Description
FromSparqlXmlResult ( Stream inputStream ) : RDFAskQueryResult

Reads the given "SPARQL Query Results XML Format" stream into an ASK query result

FromSparqlXmlResult ( String filepath ) : RDFAskQueryResult

Reads the given "SPARQL Query Results XML Format" file into an ASK query result

ToSparqlXmlResult ( Stream outputStream ) : void

Writes the "SPARQL Query Results XML Format" stream corresponding to the ASK query result

ToSparqlXmlResult ( String filepath ) : void

Writes the "SPARQL Query Results XML Format" file corresponding to the ASK query result

Private Methods

Method Description
RDFAskQueryResult ( ) : System

Default-ctor to build an empty ASK result

Method Details

FromSparqlXmlResult() public static method

Reads the given "SPARQL Query Results XML Format" stream into an ASK query result
public static FromSparqlXmlResult ( Stream inputStream ) : RDFAskQueryResult
inputStream Stream
return RDFAskQueryResult

FromSparqlXmlResult() public static method

Reads the given "SPARQL Query Results XML Format" file into an ASK query result
public static FromSparqlXmlResult ( String filepath ) : RDFAskQueryResult
filepath String
return RDFAskQueryResult

ToSparqlXmlResult() public method

Writes the "SPARQL Query Results XML Format" stream corresponding to the ASK query result
public ToSparqlXmlResult ( Stream outputStream ) : void
outputStream Stream
return void

ToSparqlXmlResult() public method

Writes the "SPARQL Query Results XML Format" file corresponding to the ASK query result
public ToSparqlXmlResult ( String filepath ) : void
filepath String
return void