[−][src]Module sophia::parser
Parsers for standard RDF syntaxes, and tools for building new parsers.
Uniform interface
Each parser module defines a Config
type, that
- implements
Default
, - has three methods
parse_bufread
,parse_read
andparse_str
, acceptingio::BufRead
,io::Read
and&str
respectively, and all returning aTripleSource
orQuadSource
iterator.
Each parser module also has three functions
parse_bufread
, parse_read
and parse_str
,
calling the corresponding methods from the default Config
.
Modules
common | Reusable types, functions and macros for implementing parsers. |
nq | Parser for N-Quads, a simple line-oriented syntax for serializing RDF dataset. |
nt | Parser for N-Triples, a simple line-oriented syntax for serializing RDF graphs. |
xml | Parser for RDF XML. |