Expand description
This crate contains the RDF Fusion model, including types for RDF terms, quads, and RDF graphs. Note that the data representation based on Arrow arrays is not part of this crate.
Large portions of the available types are re-exported from Oxigraph.
Modules§
Structs§
- Blank
Node - An owned RDF blank node.
- Blank
Node Ref - A borrowed RDF blank node.
- Boolean
- XML Schema
boolean
datatype - Compatible
String Args - Corruption
Error - An error return if some content in the database is corrupted.
- Dataset
- An in-memory RDF dataset.
- Date
- XML Schema
date
datatype - Date
Time - XML Schema
dateTime
datatype - Date
Time Overflow Error - An overflow during
DateTime
-related operations. - DayTime
Duration - XML Schema
dayTimeDuration
datatype - Decimal
- XML Schema
decimal
datatype - Double
- XML Schema
double
datatype - Duration
- XML Schema
duration
datatype - Duration
Overflow Error - An overflow during
Duration
-related operations. - Float
- XML Schema
float
datatype - GDay
- XML Schema
date
datatype - GMonth
- XML Schema
gMonth
datatype - GMonth
Day - XML Schema
gMonthDay
datatype - GYear
- XML Schema
gYear
datatype - GYear
Month - XML Schema
gYearMonth
datatype - Graph
- An in-memory RDF graph.
- Int
- XML Schema
integer
datatype - Integer
- XML Schema
integer
datatype - Invalid
Timezone Error - The value provided as timezone is not valid.
- Iri
- A RFC 3987 IRI.
- IriParse
Error - An error raised during
Iri
orIriRef
validation. - Language
String - Language
String Ref - Literal
- An owned RDF literal.
- Literal
Ref - A borrowed RDF literal.
- Named
Node - An owned RDF IRI.
- Named
Node Ref - A borrowed RDF IRI.
- Object
Id - An object id uniquely identifies an RDF Term. As a result, two object ids with a = b imply that this is the same RDF term. No further checks are necessary.
- Opposite
Sign InDuration Components Error - The year-month and the day-time components of a
Duration
have an opposite sign. - Owned
String Literal - An owned string literal in RDF, consisting of a value and an optional language tag.
- Parse
Date Time Error - A parsing error
- Parse
Decimal Error - An error when parsing a
Decimal
. - Parse
Duration Error - A parsing error
- Quad
- An owned triple in an RDF dataset.
- QuadRef
- A borrowed triple in an RDF dataset.
- Simple
Literal - Simple
Literal Ref - String
Literal Ref - A reference to a string literal in RDF, consisting of a value and an optional language tag.
- Term
Parse Error - An error raised during term serialization parsing using the
FromStr
trait. - Term
ToTyped Value Error - Time
- XML Schema
time
datatype - Timestamp
- Timezone
Offset - A timezone offset with respect to UTC.
- TooLarge
ForDecimal Error - The input is too large to fit into a
Decimal
. - TooLarge
ForInt Error - The input is too large to fit into an
Int
. - TooLarge
ForInteger Error - The input is too large to fit into an
Integer
. - Triple
- An owned RDF triple.
- Triple
Pattern - A triple pattern
- Triple
Ref - A borrowed RDF triple.
- Variable
- A SPARQL query owned variable.
- Variable
Name Parse Error - An error raised during
Variable
name validation. - Variable
Ref - A SPARQL query borrowed variable.
- Year
Month Duration - XML Schema
yearMonthDuration
datatype
Enums§
- Blank
Node Matching Mode - Specifies how blank nodes should be matched.
- Graph
Name - An owned graph name
- Graph
Name Ref - A borrowed graph name
- Ground
Term - The union of IRIs, literals and triples.
- Named
Node Pattern - The union of IRIs and variables.
- Named
OrBlank Node - The owned union of IRIs and blank nodes.
- Named
OrBlank Node Ref - The borrowed union of IRIs and blank nodes.
- Numeric
- Numeric
Pair - Property
Path Expression - A property path expression.
- Storage
Error - An error related to storage operations (reads, writes…).
- Term
- An owned RDF term
- Term
Pattern - The union of terms and variables.
- TermRef
- A borrowed RDF term
- Thin
Error - A thin error type that indicates an expected failure without any reason.
- Typed
Value - Typed
Value Ref
Functions§
- is_
numeric_ datatype - Checks if the datatype is a numeric datatype.
Type Aliases§
- AResult
- DFResult
- Thin
Result - A light-weight result, mainly used for SPARQL operations.