Commit graph

44 commits

Author SHA1 Message Date
rustra
8345e101d3 Add function signatures 2020-03-02 18:23:34 +01:00
rustra
83f62335b3 Fix type specs for structs 2020-02-28 18:51:48 +01:00
Marcel Otto
02131efc15 Add RDF.Graph.update/4 2019-10-24 22:03:05 +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
9c6beeac13 Add @impl annotations 2018-09-17 02:08:16 +02:00
Marcel Otto
b0bfd7fe62 Specify enforced keys for structs 2018-09-10 00:27:40 +02:00
Marcel Otto
0e913fce81 Fix some typos in the documentation 2018-03-19 01:50:05 +01:00
Marcel Otto
56436f85af Provide fallback implementations for Enumerable.slice/1 2018-03-09 23:18:08 +01: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
dc7dce7dbc Add describes?/1 to RDF.Data protocol and all RDF data structures 2017-07-24 03:14:31 +02:00
Marcel Otto
df766972c2 Add RDF.Description.objects/2 with custom filter function 2017-07-22 00:18:22 +02:00
Marcel Otto
b27db58856 Add RDF.Description.first/2 2017-07-08 20:55:34 +02:00
Marcel Otto
ad1acfffc1 Change header level of examples 2017-06-17 00:27:05 +02:00
Marcel Otto
28e84b1432 Add and revise documentation of RDF.Graph 2017-06-16 23:42:32 +02:00
Marcel Otto
5805cfe34f Add and revise documentation of RDF.Description 2017-06-16 23:03:44 +02:00
Marcel Otto
a1e08bc831 Revise some module docs 2017-06-16 23:01:08 +02:00
Marcel Otto
f62316d833 RDF.Description.new can handle a property-value tuple when subject is given separately 2017-06-15 17:51:55 +02:00
Marcel Otto
232e2ac765 core: add, put and delete of Description and Graph can handle quads
by just ignoring the graph context
2017-06-05 15:50:31 +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
81ffadbc53 core: add Description.new(%Description{}) which allows some simplifications 2017-06-02 17:09:10 +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
87a3125632 core: extract general Statement module from Triple and Quad 2017-04-12 21:31:42 +02:00
Marcel Otto
a28f27133e core: creating a description from another description just copies the predications 2017-03-31 16:08:06 +02:00
Marcel Otto
9764a01753 core: Description.triples and Graph.triples 2016-12-01 00:06:45 +01:00
Marcel Otto
ebd751827f core: Description.put 2016-11-26 23:45:41 +01:00
Marcel Otto
838fdf4b9e core: add and fix documentation 2016-11-24 21:36:13 +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
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