Commit graph

350 commits

Author SHA1 Message Date
Marcel Otto
afd44088c0 Add more complete and uniform API for RDF-star annotations on RDF.Graph 2021-10-31 22:02:02 +01:00
Marcel Otto
d0a1106b5d Add RDF.Graph.annotations/1 2021-10-28 21:29:25 +02:00
Marcel Otto
8469be877d Add RDF.Graph.delete_annotations/3 and delete_annotations opts 2021-10-27 13:11:53 +02:00
Marcel Otto
36a51cc7a2 Add annotate option on RDF.Graph.add/3, put/3 and put_properties/3 2021-10-25 21:54:32 +02:00
Marcel Otto
e9102252ae Add support for Turtle-star encoding 2021-10-09 16:40:07 +02:00
Marcel Otto
c3556bf79e Add tests for nested quoted triples in N-Triples-star 2021-10-05 01:09:29 +02:00
Marcel Otto
e95c5c685d Add support for Turtle-star decoding 2021-10-01 23:33:00 +02:00
Marcel Otto
8b609233fa Add support for N-Triples-star encoding 2021-09-29 22:43:01 +02:00
Marcel Otto
2819092586 Add RDF-star support on RDF.Description and RDF.Graph 2021-09-27 20:57:17 +02:00
Marcel Otto
4f57fda00f Add RDF.Star.Triple, RDF.Star.Quad and RDF.Star.Statement 2021-09-04 19:12:00 +02:00
Marcel Otto
7645ce5fc6 Fix conditional in check for new -0.0 behaviour 2021-05-23 00:29:41 +02:00
Marcel Otto
3b16a76ccd Format code with Elixir 1.12 2021-05-22 16:08:19 +02:00
Marcel Otto
fc6ee4555f Fix wrong tests regarding handling of -0.0 floats, doubles and decimals
The old tests were just mirroring the wrong behaviour in Elixir, which
was fixed in Elixir 1.12.
2021-05-22 16:04:29 +02:00
Marcel Otto
2afc2edda8 Add missing escaping of literals in N-Triples and N-Quads encoder 2021-05-09 21:43:10 +02:00
Marcel Otto
3480c254c3 Add missing escaping of language-tagged literals in Turtle encoder 2021-05-09 11:58:36 +02:00
Marcel Otto
967f81ad5a Don't Turtle-encode IRIs as prefixed names when they will be non-conform 2021-05-09 03:06:20 +02:00
Marcel Otto
589d2939b5 Fix bug in Inspect protocol implementation of RDF.Diff 2021-03-15 20:06:02 +01:00
Marcel Otto
84b71d2b50 Fix failing CI on Elixir 1.9 2021-03-06 02:38:20 +01:00
Marcel Otto
e1680ffa95 Improve performance of the Enumerable impls of the RDF data structures 2021-03-05 23:23:06 +01:00
Marcel Otto
f9bd3b9476 Handle base URIs without trailing slash or hash in Turtle encoder properly 2021-03-04 15:07:28 +01:00
Marcel Otto
b86392763e Improvements of the Inspect form of the RDF data structures 2021-02-28 13:29:10 +01:00
Marcel Otto
32a59916f6 Add :indent option on RDF.Turtle.Encoder 2021-02-28 13:02:05 +01:00
Marcel Otto
ed403d9175 Allow initialization of dates and times with timezones from tuples 2020-12-20 02:55:24 +01:00
pukkamustard
e143a960e0 Add XSD.Base64Binary 2020-12-06 18:07:57 +01:00
Marcel Otto
96f3e46638 Handle conflicts of RDF.Vocabulary.Namespace terms with Kernel functions 2020-11-13 22:51:41 +01:00
Marcel Otto
42d5dfc5a6 Add RDF.IRI.in_namespace?/2 2020-11-10 10:56:38 +01:00
Marcel Otto
3806269d3e Add read_stream!/2 functions 2020-11-06 13:03:01 +01:00
Marcel Otto
8b8c3feef7 Allow setting the stream mode via the new :stream opt on file writers 2020-11-05 22:06:10 +01:00
Marcel Otto
41a299e122 Add :gzip opt on all read and write file serialization functions 2020-11-05 21:09:36 +01:00
Marcel Otto
d3f66bd5d9 Support for streaming on file read and write serialization functions 2020-11-05 15:41:06 +01:00
Marcel Otto
2bff651276 Add RDF.Serialization tests for new stream functions 2020-11-05 11:53:35 +01:00
Marcel Otto
a361a018a0 Add RDF.NQuads.Encoder.stream/2 2020-11-04 21:21:08 +01:00
Marcel Otto
426b6d832c Add RDF.NTriples.Encoder.stream/2 2020-11-04 20:43:19 +01:00
Marcel Otto
25b7239843 Add RDF.NQuads.Decoder.decode_from_stream/2 2020-11-04 16:51:24 +01:00
Marcel Otto
b4f0ae074c Add RDF.NTriples.Decoder.decode_from_stream/2 2020-11-04 16:32:17 +01:00
Marcel Otto
e3454f73ce Fix dialyzer warning 2020-11-02 15:59:14 +01:00
Marcel Otto
8d98461e0b Change Inspect form for RDF data structures to be Turtle-based 2020-11-02 15:17:18 +01:00
Marcel Otto
929e2a8c81 Use RDF.PrefixMap.prefixed_name/2 in Turtle encoder 2020-11-02 02:05:23 +01:00
Marcel Otto
8e74e9a9d2 Fix some of the BlankNode representations to be Turtle-serializable 2020-11-01 04:14:30 +01:00
Marcel Otto
3ca4207a14 Add test of RDF.IRI.merge/2 with fragments 2020-11-01 04:03:02 +01:00
Marcel Otto
ddb3d365bc Add tests for RDF.BlankNode.new/1 2020-11-01 02:25:25 +01:00
Marcel Otto
15002a0bbb Add RDF.Dataset.prefixes/1 2020-10-28 11:51:00 +01:00
Marcel Otto
29a860d969 Allow vocabulary namespace modules as base for Turtle encoder 2020-10-28 11:36:43 +01:00
Marcel Otto
4f095b8d47 Add RDF.PrefixMap.put/3 2020-10-21 12:59:20 +02:00
Marcel Otto
352b8ef1a8 Use also the :context opt and implicit PropertyMap formats in values/2 2020-10-13 11:50:02 +02:00
Marcel Otto
cafba9f61f Add support for RDF.PropertyMaps in BGP and path queries 2020-10-13 10:43:05 +02:00
Marcel Otto
d3c6336782 Fix bug with BGP queries provided as maps 2020-10-12 23:02:56 +02:00
Marcel Otto
eef64b9253 Add support for adding terms of a vocab namespace to RDF.PropertyMap
For now only with RDF.PropertyMap.add/2 on purpose, since we want to
enforce a conscious usage of this feature, as put/2 would silently
overwrite terms.
2020-10-11 11:42:30 +02:00
Marcel Otto
5d9ddeb7fe Add tests for merging RDF.PropertyMaps
Implementation wasn't needed, since the merge already works via the
Enumerable protocol implementation.
2020-10-11 02:48:35 +02:00
Marcel Otto
875908eb39 Handle conflicting terms for the same IRI in a PropertyMap 2020-10-11 02:35:58 +02:00