Marcel Otto
8106f89ca0
Optimize canonical_lexical/1 implementation on RDF.XSD.Datatypes
2020-05-29 01:33:40 +02:00
Marcel Otto
25a0f7443c
Rename RDF.Literal.datatype/1 and similar functions to datatype_id/1
2020-05-15 22:59:05 +02:00
Marcel Otto
5819eec0cf
Re-integrate XSD.ex
...
It turned out that the costs of separating the XSD datatypes are too high
and probably not worth the effort, since with its limited scope
probably nobody would want to use XSD.ex outside of the RDF.ex context
anyway.
2020-05-05 23:58:44 +02:00
Marcel Otto
f6146c51b0
Revision of the literal system with extracted XSD datatypes
2020-04-10 23:56:35 +02:00
rustra
91dc078763
Improve specs for serialization
2020-03-10 01:37:53 +01:00
rustra
8345e101d3
Add function signatures
2020-03-02 18:23:34 +01:00
Marcel Otto
5f855de58c
Use RDF.default_base_iri in Turtle encoder and decoder
2019-08-04 00:13:13 +02:00
Marcel Otto
58d21a3405
Add alias base_iri for the base option of the RDF.Turtle.Encoder
2019-08-03 01:33:47 +02:00
Marcel Otto
14b1dc5825
Let RDF.Turtle.Encoder use base IRI from the graph when none provided
2019-08-03 01:02:32 +02:00
Marcel Otto
19e12909ca
Change RDF.Turtle.Decoder to save the base IRI in the graph
2019-08-03 00:41:06 +02:00
Marcel Otto
22ec671da7
Improve error messages of Turtle, N-Triples and N-Quads decoder
2019-07-06 02:32:31 +02:00
Marcel Otto
2e49f8b73a
Let RDF.Turtle.Encoder use other prefixes when none provided
2019-04-02 00:34:19 +02:00
Marcel Otto
74490c96c9
Change RDF.Turtle.Decoder to save the prefixes in the graph
2019-03-31 05:07:34 +02:00
Marcel Otto
9c6beeac13
Add @impl annotations
2018-09-17 02:08:16 +02:00
Marcel Otto
93b932620c
Add RDF.Literal.Guards
2018-09-07 21:42:38 +02:00
Marcel Otto
d00fa6e914
Fix typos
2018-07-18 00:08:37 +02:00
Marcel Otto
6a357229b2
Enable support for decimal literals in Turtle encoder
2018-06-15 21:35:29 +02:00
Marcel Otto
b4c3dc8d98
Use function body rescue where possible
2018-05-16 01:59:46 +02:00
Marcel Otto
eb6ede55b9
Rename RDF.Serialization.Format.content_type/0 to media_type/0
2018-03-08 02:14:49 +01:00
Marcel Otto
7314f2d643
Rename RDF.Serialization behaviour to RDF.Serialization.Format
2018-03-07 10:33:09 +01:00
Marcel Otto
7753d0d6f7
Add name to RDF.Serialization formats
2018-03-07 10:16:00 +01:00
Marcel Otto
6832176904
Fix some warnings
2018-03-02 01:14:50 +01:00
Marcel Otto
57d59d9783
Make RDF.Turtle.Decoder.tokenize public
2018-02-28 01:20:18 +01:00
Marcel Otto
5c7efe4cbd
Add RDF.IRI, use it instead of URI and use the term IRI consistently
...
Closes #1
2017-08-20 22:35:14 +02:00
Marcel Otto
75b84254f4
Add ordering of descriptions to Turtle encoder
2017-08-11 18:34:26 +02:00
Marcel Otto
eeffceb16d
Fix some warnings
2017-08-11 18:33:12 +02:00
Marcel Otto
1445ea58ef
Add ordering of predications to Turtle encoder
2017-08-11 15:23:54 +02:00
Marcel Otto
de4b526e9a
Remove use Agent
from RDF.Turtle.Encoder.State
...
it's a Elixir 1.5 feature, which we actually don't require
2017-08-09 23:35:12 +02:00
Marcel Otto
1e802befca
Add Turtle encoder
2017-08-09 23:24:37 +02:00
Marcel Otto
529714ec1c
Use base URI in URIs of @prefix and @base directives
2017-07-10 01:41:36 +02:00
Marcel Otto
d1ef0d1fb3
Proper implementation of N-Triples, N-Quads and Turtle escaping rules
2017-07-09 22:22:35 +02:00
Marcel Otto
7f5012dc0e
Various fixes of the Turtle decoder
2017-07-09 19:27:21 +02:00
Marcel Otto
cbc2b0f122
Add base URI handling to Turtle decoder
2017-07-07 18:00:09 +02:00
Marcel Otto
06dbddaf3f
Add Turtle decoder
2017-07-05 23:27:55 +02:00
Marcel Otto
93a8a2c40b
Exclude NTriples and NQuads decoders and encoders from documentation
2017-06-16 18:45:30 +02:00
Marcel Otto
1fdb64c646
Add documentation to RDF.Serialization, RDF.Reader, RDF.Decoder and RDF.Encoder
2017-06-16 18:13:53 +02:00
Marcel Otto
7a2c165bbb
core: NQuads encoder
2017-05-19 18:56:40 +02:00
Marcel Otto
ec7f4b3e7e
core: NTriples encoder
2017-05-19 18:56:01 +02:00
Marcel Otto
fdead7a90f
core: N-Quads serialization decoder
2017-04-11 02:09:35 +02:00
Marcel Otto
f586acb8b5
core: a different approach for the serialization API
2017-04-11 00:12:29 +02:00