Marcel Otto
6873ba4da1
Fix dialyzer warnings
2020-05-16 03:51:54 +02:00
Marcel Otto
5819eec0cf
Re-integrate XSD.ex
...
It turned out that the costs of separating the XSD datatypes are too high
and probably not worth the effort, since with its limited scope
probably nobody would want to use XSD.ex outside of the RDF.ex context
anyway.
2020-05-05 23:58:44 +02:00
rustra
3da72f9e6a
Specs improvements and fixes
2020-03-03 22:02:35 +01:00
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
30bde1acc2
Add RDF.Graph.clear/1
2019-11-02 01:35:09 +01:00
Marcel Otto
02131efc15
Add RDF.Graph.update/4
2019-10-24 22:03:05 +02:00
Marcel Otto
2cfa89125f
Add RDF.Graph.take/3
2019-10-15 17:29:46 +02:00
Marcel Otto
3f1afa190f
Use new RDF.IRI.coerce_base/1
for RDF.Graph.set_base_iri/2
2019-08-08 22:32:21 +02:00
Marcel Otto
65374303d4
Fix docs
2019-08-05 02:23:29 +02:00
Marcel Otto
b28e5e4744
Add RDF.Graph.base_iri field and functions to handle it
2019-08-03 00:36:25 +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
195b967b93
Add prefix management to RDF.Graph
2019-03-31 01:15:56 +01:00
Marcel Otto
1801ad186c
Change RDF.Dataset.new to take the dataset name as an option
2019-03-29 01:57:49 +01:00
Marcel Otto
1793c842bb
Change RDF.Graph.new to take the graph name as an option
2019-03-29 01:26:50 +01: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
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
49842af90f
Add RDF.Data.descriptions/1
2017-07-07 19:03:01 +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
a1e08bc831
Revise some module docs
2017-06-16 23:01:08 +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
371020360f
core: RDF.Data protocol implementation for RDF.Graph
2017-06-04 04:51:06 +02:00
Marcel Otto
7b7c4af243
core: add RDF.Graph.delete_subjects/2
2017-06-02 18:22:58 +02:00
Marcel Otto
81ffadbc53
core: add Description.new(%Description{}) which allows some simplifications
2017-06-02 17:09:10 +02:00
Marcel Otto
377707f0ef
core: delete statements from a Graph
2017-06-02 16:24:15 +02:00
Marcel Otto
5575260aee
core: remove unnecessary Graph.add function clause
2017-06-02 16:23:07 +02:00
Marcel Otto
87a3125632
core: extract general Statement module from Triple and Quad
2017-04-12 21:31:42 +02:00
Marcel Otto
08f276ee41
core: graph names can be blank nodes
2017-04-11 02:05:57 +02:00
Marcel Otto
7b659d5ddf
core: some refactorings of RDF.Graph
2017-04-01 01:13:18 +02:00
Marcel Otto
2e75b75c83
core: put statements from one graph into another
2017-03-31 16:22:16 +02:00
Marcel Otto
fd3a20116b
core: creating a new graph from another graph
2017-03-31 16:04:39 +02:00
Marcel Otto
f49828b76b
core: add statements from one graph to another
2017-03-31 15:55:56 +02:00
Marcel Otto
d2019eef58
core: RDF.Dataset.graph/2 and RDF.Graph.description/2
...
and other minor refactorings
2017-02-19 01:34:01 +01:00
Marcel Otto
e5c8043cc2
core: RDF.Dataset
2017-02-18 21:35:27 +01:00
Marcel Otto
a32ca93f4c
add more empty parentheses to bareword function calls for Elixir 1.4
2017-02-13 01:51:26 +01:00
Marcel Otto
1222a0d728
core: Graph.new, .add and .put accept Descriptions as data to be added
...
Graph.put with a list of Descriptions remains to be done
2016-12-09 14:52:21 +01:00
Marcel Otto
9764a01753
core: Description.triples and Graph.triples
2016-12-01 00:06:45 +01:00
Marcel Otto
6a9daa30e6
core: Access behaviour for Graph
2016-11-27 13:49:42 +01:00
Marcel Otto
ebd751827f
core: Description.put
2016-11-26 23:45:41 +01:00
Marcel Otto
012daff14d
core: Graph.add and .new accept triple elements directly, with possibly multiple objects
2016-11-25 01:17:07 +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