
Functions | |
| VOLK_rc | nt_parse_doc (FILE *fh, const char *sh, VOLK_Graph *gr) |
| Parse an RDF document in N-Triples format. | |
| VOLK_rc | nt_parse_term (const char *rep, VOLK_Term **term) |
| Parse a single term. | |
| VOLK_rc nt_parse_doc | ( | FILE * | fh, |
| const char * | sh, | ||
| VOLK_Graph * | gr ) |
Parse an RDF document in N-Triples format.
Either an open file handle or an in-memory string can be passed for parsing.
| [in] | fh | N-Triples doc file handle. Exclusive with sh. |
| [in] | sh | N-Triples doc string handle. Exclusive with fh. |
| [out] | gr | Graph handle to be populated. The graph MUST be initialized and MAY be not empty. |
Definition at line 1779 of file parser_nt.c.
Parse a single term.
| [in] | rep | N-Triples representation as a character string. |
| [out] | term | Term to be created from the string. |
Definition at line 1757 of file parser_nt.c.