Commit graph

50 commits

Author SHA1 Message Date
Marcel Otto c2865c8b04 Add .editorconfig 2017-06-25 02:06:24 +02:00
Marcel Otto 23c725fce8 Remove umbrella settings and depend on rdf via local path until hex release 2017-06-11 17:39:51 +02:00
Marcel Otto 9c17fd1694 json_ld: some of the URI.merge problems are solved with Elixir 1.4.4
- but URI.merge still causes problems due to incomplete RFC3986 implementation
   see: https://github.com/elixir-lang/elixir/pull/6208
2017-06-09 04:14:46 +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 be144fbe68 json_ld: fix indentation 2017-05-14 23:55:20 +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 469ffa7834 use the IRI sigil 2017-04-10 03:06:20 +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
Marcel Otto 913ae1be6c json_ld: fix compact-0014 and compact-0052
by fixing yet another spec bug
2017-03-26 03:02:26 +02:00
Marcel Otto 4fed971360 json_ld: fix compact-0042
by fixing yet another spec bug
2017-03-26 01:55:12 +01:00
Marcel Otto 084506860d json_ld: compaction bugfix
damn Ruby habits ;-)
2017-03-26 00:54:15 +01:00
Marcel Otto 84fbd57e6f json_ld: JSON-LD compaction test suite and various compaction fixes
but still 13 tests failing
2017-03-25 22:16:59 +01:00
Marcel Otto f1f1f572b9 json_ld: improve some error messages 2017-03-25 22:12:58 +01:00
Marcel Otto a270fcdc04 json_ld: expand-0034, expand-0035 and expand-0038 are actually expanded to correct values, but the ordering is different 2017-03-25 22:02:04 +01:00
Marcel Otto e6a65ff56a json_ld: failing of expand-0062 and expand-0029 is caused by a bug in URI.merge and should work in Elixir 1.5 2017-03-25 22:00:47 +01:00
Marcel Otto 949a4a0f31 json_ld: JSON-LD expansions test suite and various expansion fixes
but still 5 tests failing
2017-03-24 23:25:12 +01:00
Marcel Otto 4cc0680fbf json_ld: helpers for the JSON-LD test suite 2017-03-24 23:13:05 +01:00
Marcel Otto 55aead5028 json_ld: official JSON-LD test suite files 2017-03-24 23:08:41 +01:00
Marcel Otto 4ec22b8e66 json_ld: JSON-LD API conform options 2017-03-22 00:35:05 +01:00
Marcel Otto 9be156100a json_ld: move helper functions into a dedicated JSON.LD.Utils module
and

- add some documentation
- remove top-level expand_iri delegate
2017-03-21 01:01:55 +01:00
Marcel Otto a43205deaa json_ld: solve the list reference problem with an agent 2017-03-19 14:51:28 +01:00
Marcel Otto 2405d7d32b json_ld: JSON-LD flattening algorithm
lists not working yet; requires a major modification of the specified algorithm, since we can't fill lists by reference in Elixir
2017-03-18 21:52:41 +01:00
Marcel Otto 4837169dd0 json_ld: fix compaction documentation 2017-03-17 23:46:11 +01:00
Marcel Otto 4032a12f10 core: vocabulary namespace rewrite
- ability to create vocabulary namespaces from RDF data
- XSD, RDF, RDFS, OWL and SKOS vocabulary namespaces
2017-03-12 14:30:59 +01:00
Marcel Otto 9c22a26f1f Merge branch 'json_ld' 2017-03-03 21:58:21 +01:00
Marcel Otto 61d6e2a5d0 json_ld: JSON-LD compaction algorithm 2017-03-03 21:51:16 +01:00
Marcel Otto 5824c6e870 json_ld: underscore unused variable 2017-03-03 21:49:42 +01:00
Marcel Otto 14301b9525 json_ld: implementation of auxiliary compaction algorithms
- Inverse Context Creation
- Term Selection
- IRI Compaction
- Value Compaction
2017-02-26 23:48:37 +01:00
Marcel Otto e5348bca3b json_ld: use false instead of :undefined to signify the absence of @base, @vocab and @language 2017-02-26 04:41:00 +01:00
Marcel Otto 6d8a83e7fa Merge branch 'json_ld' 2017-02-25 22:26:58 +01:00
Marcel Otto 24274e9440 json_ld: use false instead of :undefined to signify the absence of @base, @vocab and @language 2017-02-25 22:26:29 +01:00
Marcel Otto b378e6a347 json_ld: use false instead of :undefined to signify the absence of @base, @vocab and @language 2017-02-24 16:40:16 +01:00
Marcel Otto 4d06504f8d json_ld: move expansion algorithms in separate modules 2017-02-19 04:10:36 +01:00
Marcel Otto 653a8c7c34 upgrade dependencies 2017-02-12 18:55:03 +01:00
Marcel Otto 2384fdadf5 add empty parentheses to bareword function calls for Elixir 1.4 2017-02-12 15:42:27 +01:00
Marcel Otto 8a6bf65aae json_ld: initial JSON-LD context processing and expansion implementation 2017-02-10 15:16:51 +01:00
Marcel Otto 514233555c json_ld: basic mixfile and dependencies 2016-12-08 00:29:04 +01:00
Marcel Otto 1501124731 json_ld: add license 2016-12-08 00:27:54 +01:00
Marcel Otto d86a7b4f99 json_ld: mix new json_ld --module JSON.LD 2016-12-08 00:27:27 +01:00