Commit graph

59 commits

Author SHA1 Message Date
Marcel Otto 1a51aea606 Add RDF.Namespace.IRI.iri/1 macro 2022-06-06 20:49:21 +02:00
Marcel Otto bf158d90ae Add empty?/1 on Description, Graph and Dataset 2022-04-05 21:06:29 +02:00
Marcel Otto d8f436fea1 Add missing tests for statement_count functions 2022-04-05 21:04:44 +02:00
Marcel Otto ca724d0300 Fix graph addition of triples with an empty object list 2022-03-31 00:13:57 +02:00
Marcel Otto f76493403b Allow creation from and addition of datasets to RDF.Graphs 2022-03-23 22:43:10 +01:00
Marcel Otto 8cfe0ee6cc Drop support for Elixir versions < 1.10 2021-11-19 21:10:47 +01:00
Marcel Otto 36a51cc7a2 Add annotate option on RDF.Graph.add/3, put/3 and put_properties/3 2021-10-25 21:54:32 +02: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 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 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 42f787836f Improve implementation of RDF.Graph.put/3
- fixes bugs with some combinations of possible inputs
- simplify implementation
- add opts
2020-10-04 03:07:27 +02:00
Marcel Otto 9b1600c863 Fix bug in RDF.Graph.put/2 with quad input 2020-10-01 15:53:44 +02:00
Marcel Otto 96bb678ffc Fix RDF.Graph.put/2 to ignore empty RDF.Descriptions 2020-09-30 10:47:02 +02:00
Marcel Otto f83ac494fc Rename RDF.Graph.delete_subjects/2 to RDF.Graph.delete_descriptions/2 2020-09-30 10:20:13 +02:00
Marcel Otto 2a44765631 Add support for list of descriptions to RDF.Graph.put/2 2020-09-28 12:36:25 +02:00
Marcel Otto 69fbdd60b3 Add RDF.Graph.base_iri/1 and RDF.Graph.prefixes/1 2020-09-28 11:22:46 +02:00
Marcel Otto c306700991 Add RDF.Graph.name/1 and RDF.Graph.change_name/2 2020-09-28 11:09:35 +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 20a69964c7 Change RDF.Description.new/2 to take initial data via the :init option 2020-09-25 16:07:37 +02:00
Marcel Otto e9432ef556 Limit the forms of input on RDF.Description functions 2020-07-27 23:09:23 +02:00
pukkamustard 2d68a352ed
Fix non-empty RDF.Graph when adding empty RDF.Description (#8) 2020-07-03 23:49:06 +02:00
Marcel Otto 0e81f4c02c Apply mix formatter 2020-06-29 10:37:42 +02: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 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 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 c27c61b064 Don't support RDF.Graph. and RDF.Dataset.put with a list of descriptions 2017-06-16 23:19:49 +02:00
Marcel Otto 7b7c4af243 core: add RDF.Graph.delete_subjects/2 2017-06-02 18:22:58 +02:00
Marcel Otto 377707f0ef core: delete statements from a Graph 2017-06-02 16:24:15 +02:00
Marcel Otto 08f276ee41 core: graph names can be blank nodes 2017-04-11 02:05:57 +02:00
Marcel Otto 443e43da6f core: rename test groups to tested function 2017-03-31 16:27:34 +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 e5c8043cc2 core: RDF.Dataset 2017-02-18 21:35:27 +01:00