Commit graph

35 commits

Author SHA1 Message Date
Marcel Otto
9880fd7be3 Handle structs in the input of RDF data structure functions properly 2020-10-05 12:41:55 +02:00
Marcel Otto
08a97ff2dc Add support for quads in input data of RDF.Description functions 2020-10-05 01:28:24 +02:00
Marcel Otto
4dfc16a55a Improve tests of RDF.Description.put/3 2020-10-04 02:52:56 +02:00
Marcel Otto
20a69964c7 Change RDF.Description.new/2 to take initial data via the :init option 2020-09-25 16:07:37 +02:00
Marcel Otto
58c5772011 Add RDF.Description.subject/1 and RDF.Description.change_subject/2 2020-07-28 14:45:12 +02:00
Marcel Otto
e9432ef556 Limit the forms of input on RDF.Description functions 2020-07-27 23:09:23 +02:00
Marcel Otto
0e81f4c02c Apply mix formatter 2020-06-29 10:37:42 +02:00
Marcel Otto
623577b35e Add RDF.Description.update/4 2019-10-23 17:31:21 +02:00
Marcel Otto
2cfa89125f Add RDF.Graph.take/3 2019-10-15 17:29:46 +02:00
Marcel Otto
cf568dd06e Add RDF.Description.take/2 2019-10-14 09:13:56 +02:00
Marcel Otto
158decc16b Add equal?/2 on RDF.Description, RDF.Graph and RDF.Dataset 2019-04-03 00:15:25 +02:00
Marcel Otto
4336602dcc Add a values/2 variant with a custom mapping function 2018-11-04 22:27:25 +01:00
Marcel Otto
defd1857e5 Add values/1 on RDF.Description, RDF.Graph and RDF.Dataset 2018-10-27 16:30:19 +02:00
Marcel Otto
b445f2e31c Add Collectable implementations for all RDF data structures 2017-10-30 12:15:16 +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
89d75270aa Rename RDF.Statement.convert* functions to RDF.Statement.coerce* 2017-08-11 22:22:27 +02:00
Marcel Otto
306b2013d5 Recognize booleans as convertible literals on object position 2017-07-02 19:48:38 +02:00
Marcel Otto
5805cfe34f Add and revise documentation of RDF.Description 2017-06-16 23:03:44 +02:00
Marcel Otto
70e78ee326 core: move RDF.Data implementation 2017-06-04 04:20:08 +02:00
Marcel Otto
6fe4867e18 core: add RDF.Description.delete_predicates/2 2017-06-02 18:06:22 +02:00
Marcel Otto
460d4eef17 core: remove add and put from RDF.Data protocol
We will introduce RDF.Data.merge instead, which can be implemented more consistently
over all structures.
2017-06-02 17:35:34 +02:00
Marcel Otto
e666d9d143 core: RDF.Data.deleting a Description with a different subject does nothing 2017-06-02 17:27:03 +02:00
Marcel Otto
88900b0966 core: Description.delete with another, possibly not matching subject description 2017-06-02 16:18:37 +02:00
Marcel Otto
c82e76cb9e core: simplify implementation of Description DSL by supporting descriptions as subject in Description.new 2017-05-25 15:29:39 +02:00
Marcel Otto
9105ef3a49 core: RDF.Data protocol implementation for RDF.Description 2017-05-24 23:38:46 +02:00
Marcel Otto
5a911a9cce core: delete statements from a Description 2017-05-23 02:03:41 +02:00
Marcel Otto
443e43da6f core: rename test groups to tested function 2017-03-31 16:27:34 +02:00
Marcel Otto
f35086cd7b core: RDF.Test.Case with shared test helper functions 2017-02-13 01:21:32 +01:00
Marcel Otto
7304037d47 add empty parentheses to bareword function calls for Elixir 1.4 2017-02-12 15:42:27 +01:00
Marcel Otto
0644711a31 core: Description.new, .add and .put accept a Map with convertible RDF terms 2016-11-24 08:44:07 +01:00
Marcel Otto
33feb647ff core: Description.new, .add and .put accept another Description as data to be added 2016-11-15 01:26:57 +01:00
Marcel Otto
6da502edf4 core: Access behaviour and put function for Description 2016-11-11 16:42:10 +01:00
Marcel Otto
4ebc3e63c4 core: collect all exceptions in a dedicated file 2016-11-04 22:13:06 +01:00
Marcel Otto
c192b49bfd core: functions to get the sets of all subjects, predicates, objects and resources of Descriptions and Graphs 2016-11-02 03:19:19 +01:00
Marcel Otto
499714285b core: basics of the RDF model 2016-10-16 21:42:03 +02:00