extern crate chelone; use chelone::Graph; const TURTLE: &str = r##" @base . @prefix foaf: . @prefix rel: . <#Mozilla> a foaf:Organization ; foaf:name "Mozilla" . <#Rust> rel:childOf <#Mozilla> ; a foaf:Project ; foaf:name "Rust" . "##; fn main() { let graph = Graph::new(TURTLE).unwrap_or_else(|e| panic!("{}", e)); let triples = graph.parse(); println!("{}", triples); }