Commit graph

781 commits

Author SHA1 Message Date
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
6ad8d0da72 Extend serialization API with functions for reading from streams 2020-11-04 12:18:04 +01:00
Marcel Otto
ff40022f6d Extend serialization API with functions for writing to streams 2020-11-04 11:37:52 +01:00
Marcel Otto
3d28ec9085 Clean up serialization API, code and documentation 2020-11-04 09:56:22 +01:00
Marcel Otto
0dc8e383ce Add RDF.Data.t type for the RDF data structures 2020-11-03 11:53:03 +01:00
Marcel Otto
1cf84a0e84 Remove unused RDF.Serialization.Format.options/0 callback 2020-11-03 11:15:45 +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
27a4c177e2 Change RDF.BlankNode.new/0 to create integer-based blank nodes 2020-11-01 13:48:17 +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
3041204ff7 Add RDF.BlankNode.value/1 2020-11-01 02:26:18 +01:00
Marcel Otto
ddb3d365bc Add tests for RDF.BlankNode.new/1 2020-11-01 02:25:25 +01:00
Marcel Otto
c17cf8297c Improve performance of RDF.PrefixMap.prefixed_name_to_iri/2 2020-10-30 11:42:07 +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
9d2e25eb49 Add Elixir 1.11.1 to CI 2020-10-18 21:46:08 +02:00
Marcel Otto
217139deae Shorten the Inspect form of RDF.PrefixMap 2020-10-15 09:05:43 +02:00
Marcel Otto
36ab48c0e7 Prepare release 0.9.0 2020-10-13 16:09:43 +02:00
Marcel Otto
f4c15d6930 Add missing typespec 2020-10-13 15:54:43 +02:00
Marcel Otto
00655077d3 Update dependencies 2020-10-13 15:40:17 +02:00
Marcel Otto
692aeed834 Update API documentation 2020-10-13 15:28:40 +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
9ecc59b542 Change naming of statement count functions to be consistent
Previous names are provided as delegation functions.
2020-10-11 13:11:18 +02:00
Marcel Otto
072d4a0c01 Change style of CI badge 2020-10-11 11:43:03 +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
Marcel Otto
95a69d9007 Add Enumerable protocol implementation for RDF.PropertyMap 2020-10-11 01:07:53 +02:00
Marcel Otto
c1495a5f39 Add Inspect protocol implementation for RDF.PropertyMap 2020-10-11 00:57:29 +02:00
Marcel Otto
3e111ff22b Add some aliases to RDF.Data 2020-10-10 22:23:01 +02:00
Marcel Otto
e99ff455ae Add opts for contexts on RDF.Data functions 2020-10-10 22:09:29 +02:00
Marcel Otto
a49229384e Extract map/2 function from values/2 on all RDF data structures
and add support for RDF.PropertyMaps on values/2 instead
2020-10-10 15:45:25 +02:00
Marcel Otto
2fbf57a172 Fix Dialyzer step in GitHub Actions workflow 2020-10-09 22:43:44 +02:00
Marcel Otto
e7ad3231a8 Replace Travis with GitHub Actions CI badge 2020-10-09 22:41:17 +02:00
Marcel Otto
ba627f33b0 Remove Travis config 2020-10-09 22:33:45 +02:00
Marcel Otto
1befb382da Fix dialyzer fail 2020-10-09 22:20:52 +02:00
Marcel Otto
3c10b1eb03 Fix Dialyzer in GitHub Actions workflow 2020-10-09 22:08:12 +02:00
Marcel Otto
196971f1c0 Fix Coveralls setup in GitHub Actions workflow 2020-10-09 22:00:43 +02:00
Marcel Otto
ab6aadfe03 Setup Dialyzer in GitHub Actions workflow 2020-10-09 21:54:01 +02:00
Marcel Otto
1c11b63e58 Setup Coveralls reporting in GitHub Actions workflow 2020-10-09 21:53:07 +02:00
Marcel Otto
1adfb697b1 Add missing PropertyMap alias 2020-10-09 21:37:28 +02:00