librdf_new_query

Name

librdf_new_query --  Constructor - create a new librdf_query object

Synopsis

librdf_query* librdf_new_query (librdf_world * world, const char * name, librdf_uri * uri, const unsigned char * query_string, librdf_uri* base_uri);

Arguments

world

redland world object

name

the name identifying the query language

uri

the URI identifying the query language (or NULL)

query_string

the query string

base_uri

the base URI of the query string (or NULL)

Return value

a new librdf_query object or NULL on failure