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
booleandatatype - 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
datedatatype - Date
Time - XML Schema
dateTimedatatype - Date
Time Overflow Error - An overflow during
DateTime-related operations. - DayTime
Duration - XML Schema
dayTimeDurationdatatype - Decimal
- XML Schema
decimaldatatype - Double
- XML Schema
doubledatatype - Duration
- XML Schema
durationdatatype - Duration
Overflow Error - An overflow during
Duration-related operations. - Float
- XML Schema
floatdatatype - GDay
- XML Schema
datedatatype - GMonth
- XML Schema
gMonthdatatype - GMonth
Day - XML Schema
gMonthDaydatatype - GYear
- XML Schema
gYeardatatype - GYear
Month - XML Schema
gYearMonthdatatype - Graph
- An in-memory RDF graph.
- Int
- XML Schema
integerdatatype - Integer
- XML Schema
integerdatatype - Invalid
Timezone Error - The value provided as timezone is not valid.
- Iri
- A RFC 3987 IRI.
- IriParse
Error - An error raised during
IriorIriRefvalidation. - 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
Durationhave 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
FromStrtrait. - Term
ToTyped Value Error - Time
- XML Schema
timedatatype - 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
Variablename validation. - Variable
Ref - A SPARQL query borrowed variable.
- Year
Month Duration - XML Schema
yearMonthDurationdatatype
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.