
Functions | |
| const VOLK_Codec * | VOLK_codec_from_fmt (const char *fmt) |
| Get a codec by its format string. | |
| VOLK_rc | VOLK_codec_decode_str (const char *data, const char *fmt, VOLK_Graph *gr) |
| Populate a graph from a RDF string. | |
| VOLK_rc | VOLK_codec_decode_file (FILE *fh, const char *fmt, VOLK_Graph *gr) |
| Populate a graph from a RDF file handle. | |
|
inline |
|
inline |
Populate a graph from a RDF string.
| [in] | data | RDF string. |
| [in] | fmt | RDF format string, such as nt, ttl, etc. |
| [in] | gr | Graph to populate. It MUST be initialized and it MAY be non- empty. |
|
inline |
Populate a graph from a RDF file handle.
| [in] | fh | Open RDF document file handle. The function will close the handle in all cases. |
| [in] | fmt | RDF format string, such as nt, ttl, etc. |
| [in] | gr | Graph to populate. It MUST be initialized and it MAY be non- empty. |