librdf_storage_find_statements_in_context

Name

librdf_storage_find_statements_in_context --  search the storage for matching statements in a given context

Synopsis

librdf_stream* librdf_storage_find_statements_in_context (librdf_storage* storage, librdf_statement* statement, librdf_node* context_node);

Arguments

storage

librdf_storage object

statement

librdf_statement partial statement to find

context_node

context librdf_node (or NULL)

Description

Searches the storage for a (partial) statement as described in librdf_statement_match in the given context and returns a librdf_stream of matching librdf_statement objects. If context is NULL, this is equivalent to librdf_storage_find_statements.

Return value

librdf_stream of matching statements (may be empty) or NULL on failure