//! Implements data structures for [RDF 1.1 Concepts](https://www.w3.org/TR/rdf11-concepts/) using [OxRDF](https://crates.io/crates/oxrdf). use crate::xsd::*; use oxrdf::vocab::xsd; pub use oxrdf::{ dataset, graph, vocab, BlankNode, BlankNodeIdParseError, BlankNodeRef, Dataset, Graph, GraphName, GraphNameRef, IriParseError, LanguageTagParseError, Literal, LiteralRef, NamedNode, NamedNodeRef, NamedOrBlankNode, NamedOrBlankNodeRef, Quad, QuadRef, Subject, SubjectRef, Term, TermParseError, TermRef, Triple, TripleRef, }; impl From for Literal { #[inline] fn from(value: Float) -> Self { Self::new_typed_literal(value.to_string(), xsd::FLOAT) } } impl From for Literal { #[inline] fn from(value: Double) -> Self { Self::new_typed_literal(value.to_string(), xsd::DOUBLE) } } impl From for Literal { #[inline] fn from(value: Decimal) -> Self { Self::new_typed_literal(value.to_string(), xsd::DECIMAL) } } impl From for Literal { #[inline] fn from(value: DateTime) -> Self { Self::new_typed_literal(value.to_string(), xsd::DATE_TIME) } } impl From