librdf_model_get_arcs
Name
librdf_model_get_arcs -- return the arcs (predicates) of an arc in an RDF graph given source (subject) and target (object)
Synopsis
librdf_iterator* librdf_model_get_arcs
(librdf_model * model, librdf_node * source, librdf_node * target);
Arguments
- model
librdf_model
object
- source
librdf_node
source
- target
librdf_node
target
Description
Searches the model 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