#![cfg(feature = "turtle")] use objio::ObjectReader; use rdftk_core::{error::Error, model::graph::Graph}; use rdftk_io::turtle::TurtleReader; #[test] #[ignore] fn parse_simple_turtle() { let reader = TurtleReader::default(); let result: Result = reader.read_from_string( r###"@base . @prefix rdf: . @prefix rdfs: . @prefix foaf: . @prefix rel: . <#green-goblin> rel:enemyOf <#spiderman> ; a foaf:Person ; # in the context of the Marvel universe foaf:name "Green Goblin" . <#spiderman> rel:enemyOf <#green-goblin> ; a foaf:Person ; foaf:name "Spiderman", "Человек-паук"@ru ."###, ); assert!(result.is_ok()); }