librdf_storage_get_arcs

Name

librdf_storage_get_arcs --  return the arcs (predicates) of an arc in an RDF graph given source (subject) and target (object)

Synopsis

librdf_iterator* librdf_storage_get_arcs (librdf_storage * storage, librdf_node * source, librdf_node * target);

Arguments

storage

librdf_storage object

source

librdf_node source

target

librdf_node target

Description

Searches the storage for arcs matching the given source and target and returns a list of the arc librdf_node objects as an iterator

Return value

librdf_iterator of librdf_node objects (may be empty) or NULL on failure