Marcel Otto
768bc9ae09
Several performance improvements
2022-05-14 23:03:14 +02:00
Marcel Otto
9e62b23a77
Replace all uses of Enum.empty? with the dedicated empty? functions
2022-04-05 22:07:38 +02:00
Marcel Otto
bf158d90ae
Add empty?/1 on Description, Graph and Dataset
2022-04-05 21:06:29 +02:00
Marcel Otto
8cfe0ee6cc
Drop support for Elixir versions < 1.10
2021-11-19 21:10:47 +01:00
Marcel Otto
5bbd1409bb
Add :filter_star opt to RDF.Dataset.statements/1
2021-11-15 22:01:22 +01:00
Marcel Otto
f9c72c1a35
Add RDF.Dataset.graph_count/1
2021-11-10 00:43:57 +01:00
Marcel Otto
84b71d2b50
Fix failing CI on Elixir 1.9
2021-03-06 02:38:20 +01:00
Marcel Otto
e1680ffa95
Improve performance of the Enumerable impls of the RDF data structures
2021-03-05 23:23:06 +01:00
Marcel Otto
15002a0bbb
Add RDF.Dataset.prefixes/1
2020-10-28 11:51:00 +01:00
Marcel Otto
352b8ef1a8
Use also the :context opt and implicit PropertyMap formats in values/2
2020-10-13 11:50:02 +02:00
Marcel Otto
a49229384e
Extract map/2 function from values/2 on all RDF data structures
...
and add support for RDF.PropertyMaps on values/2 instead
2020-10-10 15:45:25 +02:00
Marcel Otto
d0e5b625fd
Support for RDF.PropertyMaps as :context opt on functions with input data
2020-10-09 16:32:24 +02:00
Marcel Otto
71292b721c
Add :init option to RDF.Graph.new/2 and RDF.Dataset.new/2
2020-10-07 16:08:22 +02:00
Marcel Otto
51e6712d69
Stylistic cleanup of RDF data structures
2020-10-05 14:32:18 +02:00
Marcel Otto
9880fd7be3
Handle structs in the input of RDF data structure functions properly
2020-10-05 12:41:55 +02:00
Marcel Otto
1a7ffe58c4
Change behaviour of put and add put_properties on RDF.Graph and Dataset
2020-10-04 16:31:41 +02:00
Marcel Otto
4408a04103
Adapt RDF.Dataset.put/3 to new forms of input
2020-10-04 13:25:24 +02:00
Marcel Otto
6315b85edf
Add RDF.Dataset.name/1 and RDF.Dataset.change_name/2
2020-09-28 20:48:10 +02:00
Marcel Otto
8b723286c5
Limit and unify the forms of input on RDF.Dataset functions
2020-09-28 17:39:31 +02:00
Marcel Otto
a8c71df20b
Limit and unify the forms of input on RDF.Graph functions
2020-09-28 02:49:41 +02:00
Marcel Otto
0e81f4c02c
Apply mix formatter
2020-06-29 10:37:42 +02:00
Marcel Otto
c880026224
Remove references to current module names by using __MODULE__
2020-06-28 23:40:03 +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
b28e5e4744
Add RDF.Graph.base_iri field and functions to handle it
2019-08-03 00:36:25 +02:00
Marcel Otto
95d5d01217
Fix RDF.Dataset.equal?/2 to ignore prefixes
2019-04-04 21:19:33 +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
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
ad1acfffc1
Change header level of examples
2017-06-17 00:27:05 +02:00
Marcel Otto
da24657a07
Move RDF.Dataset.reduce into Enumerable implementation
2017-06-17 00:17:34 +02:00
Marcel Otto
a1e08bc831
Revise some module docs
2017-06-16 23:01:08 +02:00
Marcel Otto
38ee0ca44b
core: fix and improve behaviour of overwriting the default contexts with add, put and delete of RDF.Dataset
2017-06-07 00:48:08 +02:00
Marcel Otto
cd5636528f
core: RDF.Dataset.add, .put and .new support another dataset as input
2017-06-06 23:40:48 +02:00
Marcel Otto
9a128858b6
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
0271181bca
core: RDF.Data protocol implementation for RDF.Dataset
2017-06-04 22:19:21 +02:00
Marcel Otto
25a2d963f6
core: add RDF.Dataset.delete
2017-06-04 04:06:22 +02:00
Marcel Otto
3f403d6f64
core: add RDF.Dataset.delete_graph/2 and RDF.Dataset.delete_default_graph/1
2017-06-03 13:00:58 +02:00
Marcel Otto
e01d641290
json_ld: RDF to JSON-LD serialization
2017-05-20 16:35:56 +02:00