Commit graph

68 commits

Author SHA1 Message Date
Marcel Otto
f3bc0a1d84 Use base of graph or default_base_iri as default in encoder 2022-04-23 01:11:09 +02:00
Marcel Otto
363309a739 Allow RDF.Vocabulary.Namespace modules as base 2022-04-23 00:58:25 +02:00
Marcel Otto
53631c6425 Allow RDF.PropertMaps as contexts 2022-04-22 22:25:24 +02:00
Marcel Otto
ad4ad5cc9d Fix double stringification of context map keys 2022-04-22 03:28:48 +02:00
Marcel Otto
9655d63885 Allow atom keys in context maps 2022-04-22 02:47:44 +02:00
Marcel Otto
01974543a0 Fix dialyzer 2022-04-21 03:01:09 +02:00
Marcel Otto
851a1b0c19 Add :context option on JSON.LD.Encoder 2022-04-21 01:42:10 +02:00
Marcel Otto
1cb520cb67 Fix processing of remote contexts with a list
Fixes #7
2021-08-19 15:43:59 +02:00
Marcel Otto
cb25e2ce80 Drop support for OTP 20 2021-04-24 21:26:05 +02:00
Marcel Otto
aa7a8e08b2 Add missing option conversion on context creation 2021-04-24 20:51:02 +02:00
Marcel Otto
4f903a04d4 Fix dialyzer 2020-11-18 12:46:23 +01:00
Marcel Otto
6563326079 Upgrade to RDF.ex 0.9 2020-10-13 16:27:56 +02:00
rustra
40b44edb0a
Add typespecs and fix some Credo warnings (#6) 2020-06-22 01:21:33 +02:00
Marcel Otto
b06586c387 Apply mix formatter 2020-06-20 04:25:58 +02:00
Marcel Otto
426bc8f56d Cleanup of the remote context processing 2020-06-19 02:40:06 +02:00
rustra
140faf4741
Add unit tests for remote context (#4)
* Improve RemoteDocTest
* Add unit tests for remote context
* Add unit tests for default document loader
2020-06-19 01:41:34 +02:00
Marcel Otto
ae50884370 Update remote context processing code to use Jason instead of Poison 2020-06-17 02:38:29 +02:00
Marcel Otto
277fabedb4 Merge branch 'master' into remote-context-processing
Conflicts:
	mix.exs
	mix.lock
2020-06-16 22:33:04 +02:00
Marcel Otto
81a2a3f281 Adapt to rename of RDF.Literal.datatype/1 2020-05-18 02:00:43 +02:00
Marcel Otto
33946bae8f Adapt to new RDF.ex literal datatype system 2020-05-07 17:21:12 +02:00
Marcel Otto
67264807e0 Fix some warnings 2020-04-13 00:01:43 +02:00
Marcel Otto
874c71123c Add @impl annotations 2018-09-17 02:47:20 +02:00
Marcel Otto
9e9330a08b Fix warnings 2018-08-31 01:14:58 +02:00
Marcel Otto
a40e2a5026 Support for pretty printing by passing options through to Jason 1.1 2018-07-11 00:17:36 +02:00
Marcel Otto
29524560bb Switch from Poison to Jason for JSON encoding and decoding 2018-03-16 00:08:39 +01:00
Marcel Otto
b9f2205243 Add handling of RDF.Graphs and RDF.Descriptions to JSON.LD.Encoder 2018-03-13 00:56:32 +01:00
Marcel Otto
cb05fda06c Merge branch 'master' into remote-context-processing
Conflicts:
	mix.lock
2018-03-10 02:07:17 +01:00
Marcel Otto
b35a520745 Upgrade to RDF.ex 0.4.0 2018-03-10 01:58:43 +01:00
Marcel Otto
8e8af529fe Remove TODO comment 2018-03-10 01:46:21 +01:00
Koka El Kiwi
83bb50180e Add remote context processing (#2) [WIP] 2018-03-10 01:15:54 +01:00
Marcel Otto
688731cdb0 Revert "Add remote context processing (#2) [WIP]"
This reverts commit aac4127aeb.
2018-03-10 01:12:28 +01:00
Koka El Kiwi
aac4127aeb Add remote context processing (#2) [WIP] 2018-01-28 15:51:48 +01:00
Marcel Otto
d640275dfc Fix more warnings 2018-01-27 23:32:41 +01:00
Marcel Otto
f69837902b Add another "spec fixme" 2017-09-14 01:57:44 +02:00
Andrew Shu
244a4b34b2 Fix warnings (#3)
Fixes most of the warnings. Leaves some warnings on functions marked TODO.
2017-09-14 01:41:12 +02:00
Marcel Otto
038b170b5b Upgrade to RDF.ex 0.3 2017-08-24 19:10:02 +02:00
Marcel Otto
0e8c15addf core: RDF.Dataset.graphs returns a list of graphs
instead of the map from graph names to graphs
2017-06-05 02:41:44 +02:00
Marcel Otto
0f517d4195 json_ld: RDF to JSON-LD serialization 2017-05-20 16:35:56 +02:00
Marcel Otto
a22e651468 json_ld: proper JSON-LD Data Round Tripping 2017-04-28 00:04:27 +02:00
Marcel Otto
e508c6d28a json_ld: fix disabled tests with double literals 2017-04-27 23:03:10 +02:00
Marcel Otto
454ccdb313 core: more elaborated RDF.Literals (WIP) 2017-04-16 23:13:39 +02:00
Marcel Otto
d72791bcd5 json_ld: JSON-LD toRdf test suite and various fixes 2017-04-14 16:24:19 +02:00
Marcel Otto
f714a02d1d json_ld: fix bug in compact_iri_parts
binary_part can't handle the case where the length of the binary is shorter than the requested part
2017-04-13 23:17:40 +02:00
Marcel Otto
96874c3e3c core: a different approach for the serialization API 2017-04-11 00:12:29 +02:00
Marcel Otto
7d80675fa2 json_ld: JSON-LD to RDF deserialization 2017-04-09 23:10:59 +02:00
Marcel Otto
f208f2e22e json_ld: JSON-LD error test suite and some fixes 2017-03-30 22:51:44 +02:00
Marcel Otto
ea7d8b7b4e json_ld: JSON-LD flattening test suite and various flattening fixes 2017-03-30 21:33:36 +02:00
Marcel Otto
bc516bccc1 json_ld: fix remove_base 2017-03-30 01:16:35 +02:00
Marcel Otto
efcdccd735 json_ld: fix base iri handling 2017-03-29 23:32:59 +02:00
Marcel Otto
b2eb8aaa07 json_ld: fix compact-0020 and compact-0022 2017-03-28 22:45:41 +02:00