Expand description
rudof_lib presents the public API to interact with rudof programmatically
Re-exports§
pub use oxrdf;pub use rudof_rdf;pub use shacl_ir;pub use shacl_validation;pub use input_spec::*;pub use rudof::*;pub use rudof_config::*;pub use rudof_error::*;pub use selector::*;pub use shapes_graph_source::*;
Modules§
- ast
- compact
- ShEx compact syntax parser
- data
- data_
format - error
- input_
spec - ir
- node
- node_
info - pred
- query
- query_
result_ format - query_
type - resolve_
method - result_
shacl_ validation_ format - result_
shex_ validation_ format - rudof
- rudof_
config - rudof_
error - selector
- shacl
- shacl_
format - shapemap
- This module defines ShapeMaps
- shapemap_
format - shapes_
graph_ source - shex
- shex_
format - shexr
- sort_
by_ result_ shape_ map - terminal_
width
Macros§
- iri
- Generates an
IriSfrom a string literal. - iri_
once - This macro creates a static
IriSvariable that is initialized once and can be accessed globally. - static_
once - This macro creates a static variable that is initialized once andm can be accessed globally.
Structs§
- Annotation
- BNode
- From
StrRef Error - IriS
- Located
Parse Error - A
ShExParseErrorat a certain location - Node
- Node
Constraint - Pattern
- Pred
- Schema
- SemAct
- ShEx
Formatter - Struct that can be used to pretty print ShEx schemas
- ShEx
Parser - ShExR
Vocab - Shape
- Shape
Decl - Shape
Expr Wrapper - Shape
Label Idx - Shape
MapParser - Shapemap
Formatter - Struct that can be used to pretty print Shapemaps
- Simple
Repr Schema - Simple
Repr Shape - Start
Action - String
OrIri Stem Wrapper - String
OrLiteral Stem Wrapper - Triple
Expr Wrapper
Enums§
- Iri
- An IRI that can be either a raw
Stringor a parsedIriS - IriOr
Str - IriOrStr represents either an IRI or a String. This enum is used mainly for parsing ShEx schemas which contain an import declaration The value of the import declaration can be a well formed IRI or a relative IRI which is kept as a string
- IriRef
OrWildcard - Lang
OrWildcard - Lang
OrWildcard Parse Error - Node
Kind - Numeric
Facet - Object
Value - An object value can be either an IRI reference or a literal It is used in various places in ShEx, for example in ValueSetValue, or as focus node in ShapeMap It is similar to srdf::Object but does not include blank nodes
- Parse
Error - Pattern
Error - RefError
- Resolve
Method - Method employed to resolve imports when ghessing the format of an import
- SchemaIR
Error - Schema
Json Error - ShEx
Format - Contains possible ShEx formats
- Shape
Expr - Shape
Expr Label - String
Facet - String
OrIri Stem - String
OrIri Stem Error - String
OrLiteral Stem - String
OrLiteral Stem Error - String
OrWildcard - String
OrWildcard Error - Triple
Expr - Triple
Expr Label - Value
SetValue - XsFacet
Constants§
- SX
- SX_
ABSTRACT - SX_
ANNOTATION - SX_
ANNOTATION_ PROP - SX_
BNODE - SX_
CLOSED - SX_CODE
- SX_
DATATYPE - SX_
EACHOF - SX_
EXCLUSION - SX_
EXPRESION - SX_
EXPRESIONS - SX_
EXTRA - SX_
FLAGS - SX_
FRACTIONDIGITS - SX_INF
- SX_
INVERSE - SX_IRI
- SX_
IRISTEM - SX_
IRISTEMRANGE - SX_
LANGUAGESTEM - SX_
LANGUAGESTEMRANGE - SX_
LENGTH - SX_
LITERAL - SX_
LITERALSTEM - SX_
LITERALSTEMRANGE - SX_MAX
- SX_
MAXEXCLUSIVE - SX_
MAXINCLUSIVE - SX_
MAXLENGTH - SX_MIN
- SX_
MINEXCLUSIVE - SX_
MININCLUSIVE - SX_
MINLENGTH - SX_NAME
- SX_
NEGATED - SX_
NODECONSTRAINT - SX_
NODEKIND - SX_
NONLITERAL - SX_
OBJECT - SX_
ONEOF - SX_
PATTERN - SX_
PREDICATE - SX_
SCHEMA - SX_
SEMACT - SX_
SEMACTS - SX_
SHAPE - SX_
SHAPES - SX_
SHAPE_ AND - SX_
SHAPE_ DECL - SX_
SHAPE_ EXPR - SX_
SHAPE_ EXPRS - SX_
SHAPE_ EXTERNAL - SX_
SHAPE_ NOT - SX_
SHAPE_ OR - SX_
START - SX_
STARTACTS - SX_STEM
- SX_
STEMRANGE - SX_
TOTALDIGITS - SX_
TRIPLECONSTRAINT - SX_
VALUEEXPR - SX_
VALUES - SX_
WILDCARD
Statics§
Traits§
- Mime
Type - Types that implement this trait can inform about their MIME-TYPE More information about MIME types: https://www.iana.org/assignments/media-types/media-types.xhtml
Functions§
- hex
- hex_
refactor - literal
[13t] literal ::= rdfLiteral | numericLiteral | booleanLiteral- re_find
- string
[135s] string ::= STRING_LITERAL1 | STRING_LITERAL_LONG1| STRING_LITERAL2 | STRING_LITERAL_LONG2