librdf_model_get_targets
Name
librdf_model_get_targets -- return the targets (objects) of an arc in an RDF graph given source (subject) and arc (predicate)
Synopsis
librdf_iterator* librdf_model_get_targets
(librdf_model * model, librdf_node * source, librdf_node * arc);
Arguments
- model
librdf_model object
- source
librdf_node source
- arc
librdf_node arc
Description
Searches the model for targets matching the given source and arc
and returns a list of the source librdf_node objects as an iterator
Return value
librdf_iterator of librdf_node objects (may be empty) or NULL on failure