lod_instance_uri

Return a librdf_uri for the subject of an instance

Synopsis

#include <liblod.h>

librdf_uri *lod_instance_uri(LODINSTANCE *instance);

Description

lod_instance_uri returns a new librdf URI containing the subject URI of the instance.

The resulting URI should be freed with librdf_free_uri once it is no longer required.

Return value

Upon success, lod_instance_uri returns a new librdf URI.

If an error occurs, lod_instance_uri returns NULL. A description of the error condition can be obtained using lod_errmsg.

See also

liblod, lod_resolve, lod_errmsg, lod_instance_exists, lod_instance_stream, librdf_free_uri.