Tpt
1c2bf8f995
Adds missing URIs to vocab::xsd
4 years ago
Tpt
f9d97a2296
Adds native support for all time related XSD literals
4 years ago
Tpt
a0c5cf7286
Adds links to the code documentation
4 years ago
Tpt
8bc84b2820
Adds borrowed data structures for RDF terms
4 years ago
Tpt
d3d78b9713
Adds a test for xsd:string and plain literal equality
4 years ago
Tpt
9038ab3921
Converts oxigraph::Error into oxigraph::sparql::EvaluationError
4 years ago
Tpt
974e5d1e1a
Breaking: Adds a new enumeration for graph names
5 years ago
Tpt
79038afe44
Introduces native support for xsd:dayTimeDuration and xsd:yearMonthDuration
5 years ago
Tpt
2d80960e79
Deprecates Triple and Quad methods
...
It's much simpler to expose the inner fields
5 years ago
Tpt
71aa5a6c79
Allows BlankNode struct to store any valid blank node identifier
...
Closes #34
5 years ago
Tpt
827667e495
Removes global ordering of blank node and literals
...
It does not corresponds to anything meaningful
5 years ago
Tpt
c3ae01e701
Implements a crate for the testsuite, adds parser tests and a better isomorphism algorithm
5 years ago
Tpt
69f94777b6
Adds isomorphism computation to MemoryDataset and drops SimpleGraph
5 years ago
Tpt
5039da163b
Small code cleanup
5 years ago
Tpt
cc7c92092f
Provides a nice API for SPARQL SELECT solutions handling
5 years ago
Tpt
febaad9bdb
Adds new easy equality method to NamedNode
5 years ago
Tpt
42fafbe57f
Avoids using the big oxigraph::Error in model structures
5 years ago
Tpt
480d3a0077
Small documentation improvements
5 years ago
Tpt
e8648ffc76
Adds the StrHash structure
...
Allows to distinguish string hashes from other u128
5 years ago
Tpt
2b85a06487
Migrates to oxiri and oxilangtag
5 years ago
Tpt
2bbe29c31a
Upgrades RocksDB to 0.14
5 years ago
Pierre-Antoine Champin
5022a09573
add destruct method to Literal and Quad
...
This is (again) useful for building bridges to other APIs.
Note that NamedNode already has this (into_string),
that BlankNode kind of has it (id)
and that Quad has incomplete versions of it (subject_owned, predicate_owned...).
So I don't think those are too disruptive.
5 years ago
Pierre-Antoine Champin
b93c6e0ae6
fix BlankNode::as_str
...
Before that patch, it would return a string padded with null characters,
which is not a valid BLANK_NODE_IDENTIFIER in RDF syntaxes.
5 years ago
Pierre-Antoine Champin
2352fc2384
complete documentation
5 years ago
Pierre-Antoine Champin
cc6ca5fe1e
making unchecked constructor of Literal public
...
for the same reason as before: bindings to other languages/APIs can benefit from this
5 years ago
Tpt
4c9bd52614
Validates language tags
...
Makes also sure their are all lowercase
Closes #24
5 years ago
Tpt
beb7192e22
Removes ModelError
...
We could keep one error class and avoid allocation for common errors by adding variants to the main ErrorKind enumeration
5 years ago
Tpt
23f5ac78ed
Drops dependency on anyhow to get something implementing std::error::Error
...
Closes #25
5 years ago
Pierre-Antoine Champin
053335b431
open API for creating unchecked NamedNode
...
Again, this will be useful for bindings to other languages and APIs,
where IRIs have been checked elsewhere, and hence do not need another parsing.
Renamed new_from_string to new_unchecked, to make explicit the unchecked
nature of this method (now that it is public).
5 years ago
Pierre-Antoine Champin
816798d006
open blank_node inners
...
This is required by libraries binding Oxigraph to other languages or other APIs.
5 years ago
Tpt
0265adbafc
Avoids unwrap() in From implementations
5 years ago
Tpt
329a80bc8c
Makes new Clippy lints pass
5 years ago
Tpt
b530af153f
Adds WebAssembly support to Oxigraph lib
5 years ago
Tpt
8c4c273edf
[Breaking] Uses big endian encoding
...
Allows to do range search based on byte representation
5 years ago
Tpt
7cd5558d2b
Adds extra compiler and Clippy lints
5 years ago
Tpt
603b58c856
Drops the dependency on num_traits
5 years ago
Tpt
10b1fa68f3
Adds native xsd:duration xsd:dateTime xsd:date and xsd:time structures
5 years ago
Tpt
4a2daeb739
Adds back float to decimal casts
5 years ago
Tpt
e0bbe29dc2
Use our own xsd:decimal implementation and restrict xsd:integer precision to 64bits
5 years ago
Tpt
05a32f7d7a
Improves slightly code style
5 years ago
Tpt
85bc596cc0
Renames Rudf to Oxigraph
5 years ago
Tpt
4bbd2ce204
Uses u128 instead of UUID inside of BlankNode
...
Makes code slightly simpler
5 years ago
Tpt
3beecdff76
Implements SPARQL 1.1 functions
5 years ago
Tpt
25b5e20c2b
Migrates to Rio 0.3
5 years ago
Tpt
06c0773e5a
Makes most open-word SPARQL tests pass
...
Do not make pass the one that distinguish simple literals and xsd:string
5 years ago
Tpt
9cc96a5155
Enables link time optimizations
5 years ago
Tpt
2f706a777f
Adds our own IRI normalization instead of relying on Url crate
5 years ago
Tpt
cac68a4473
Drops LanguageTag and normalizes all tags to lowercase
...
Makes code simpler
LanguageTag code has been pushed upstream to the `language-tags` crate
5 years ago
Tpt
d617e72550
Cleanup SPARQL module public API
5 years ago
Tpt
9ccc079b4c
Adds Repository::load_graph to load graph files
5 years ago