rasqal_query_set_default_generate_bnodeid_parameters

Name

rasqal_query_set_default_generate_bnodeid_parameters --  Set default bnodeid generation parameters

Synopsis

void rasqal_query_set_default_generate_bnodeid_parameters (rasqal_query* rdf_query, char * prefix, int base);

Arguments

rdf_query

rasqal_parse object

prefix

prefix string

base

integer base identifier

Description

Sets the parameters for the default algorithm used to generate blank node IDs. The default algorithm uses both prefix and base to generate a new identifier. The exact identifier generated is not guaranteed to be a strict concatenation of prefix and base but will use both parts.

For finer control of the generated identifiers, use rasqal_set_default_generate_bnodeid_handler.

If prefix is NULL, the default prefix is used (currently "bnodeid") If base is less than 1, it is initialised to 1.