rasqal_query_results_write

Name

rasqal_query_results_write --  Write the query results to an iostream in a format

Synopsis

int rasqal_query_results_write (raptor_iostream * iostr, rasqal_query_results * results, raptor_uri * format_uri, raptor_uri * base_uri);

Arguments

iostr

raptor_iostream to write the query to

results

rasqal_query_results query results format

format_uri

raptor_uri describing the format to write

base_uri

raptor_uri base URI of the output format

Description

The only supported URI for the format_uri is

http

//www.w3.org/TR/2004/WD-rdf-sparql-XMLres-20041221/

If the writing succeeds, the query results will be exhausted.

Return value

non-0 on failure