Struct chelone::Graph
[−]
[src]
pub struct Graph<'a> { /* fields omitted */ }
Graph parser.
Methods
impl<'a> Graph<'a>
[src]
pub fn new(source: &'a str) -> Result<Self, Error<Rule>>
[src]
Creates a new Graph
from the turtle source.
pub fn set_base(&mut self, url: Url)
[src]
Sets the initial base url to resolve relative urls against.
pub fn parse(self) -> Triples
[src]
Parse graph into a set of Triples.