19 #ifndef __SLV2_QUERY_H__
20 #define __SLV2_QUERY_H__
35 const char* sparql_str);
bool slv2_results_finished(SLV2Results results)
Return true iff the end of results has been reached.
SLV2Value slv2_results_get_binding_value(SLV2Results results, unsigned index)
Return a binding in results by index.
SLV2Results slv2_plugin_query_sparql(SLV2Plugin plugin, const char *sparql_str)
Query a plugin with an arbitrary SPARQL string.
SLV2Value slv2_results_get_binding_value_by_name(SLV2Results results, const char *name)
Return a binding in results by name.
void slv2_results_next(SLV2Results results)
Increment results to the next match.
const char * slv2_results_get_binding_name(SLV2Results results, unsigned index)
Return the name of a binding in results.
unsigned slv2_results_size(SLV2Results results)
Return the number of matches in results.
void slv2_results_free(SLV2Results results)
Free query results.