Linked Open Data is a method of publishing machine-readable structured data on the web, using resolveable URIs as the means of identifying the entities described and referred to by the data.
liblod is a library for consuming published Linked Open Data, providing a simple interface for resolving a URI and interrogating the data which is retrieved.
liblod provides the public interfaces listed below.
|Create a new context|
|Attempt to resolve a Linked Open Data URI|
|Locate triples about a subject already present in a context's model|
|Resolve a Linked Open Data URI, fetching the data irrespective of whether the subject exists in the context's model|
|Destroy a previously-created context|
|Obtain the librdf world used by a context|
|Set the librdf world used by a context|
|Obtain the librdf storage used by a context|
|Set the librdf storage used by a context|
|Obtain the librdf model used by a context|
|Set the librdf model used by a context|
|Obtain the libcurl handle used by a context|
|Set the libcurl handle used by a context|
|lod_subject||Retrieve the most recently-resolved subject URI|
|lod_document||Retrieve the URL of the most recently parsed document|
|lod_status||Obtain the HTTP status of the most recent request|
|Determine whether an error has occurred|
|Obtain a description of a context's error condition|
|lod_librdf_logger||Default logging function for librdf world objects.|
|lod_useragent||Obtain the User-Agent HTTP header string for a context|
|lod_accept||Obtain the Accept HTTP header string for a context|
|Free resources allocated to an instance|
|Obtain a librdf stream for an instance|
|Obtain a librdf URI for an instance|
|Determine whether the subject of an instance exists within the context's model|
|Attempt to follow a foaf:primaryTopic relationship|
liblod depends upon libcurl, librdf, libxml2 and liburi.
A copy of liburi is included in the source distribution.
libcurl, librdf, libxml2.