Marcel Otto
0b0b42e2a1
Add :auto_fix for :case_validation option on defvocab
2022-06-27 00:21:03 +02:00
Marcel Otto
370a3a3568
Support for custom case-failure-handling functions on defvocab
2022-06-26 23:22:59 +02:00
Marcel Otto
3f0c6635c1
Allow to pass bindings to RDF.Graph.build blocks
2022-06-19 19:55:10 +02:00
Marcel Otto
65bb0831b8
Wrap the build block definition in a function
...
This also fixes the undefined-function-warnings raised in the previous
version when using terms from non-strict vocabulary namespaces (incl.
the auto-generated ad-hoc vocabulary namespaces).
2022-06-19 00:10:08 +02:00
Marcel Otto
eac696114f
Creation of ad-hoc namespaces in RDF.Graph.build/2
2022-06-13 03:02:21 +02:00
Marcel Otto
e9fd42430b
Allow use of aliases in @prefix declarations in graph builder blocks
2022-06-07 00:18:11 +02:00
Marcel Otto
1a51aea606
Add RDF.Namespace.IRI.iri/1 macro
2022-06-06 20:49:21 +02:00
Marcel Otto
f8517de119
Support more values for the :base_iri in defvocab
2022-06-05 03:09:10 +02:00
Marcel Otto
9449fce988
Rewrite RDF.Vocabulary.Namespace
2022-06-05 01:20:27 +02:00
Marcel Otto
52369c289c
Add RDF.IRI.starts_with?/2 and RDF.IRI.ends_with?/2
2022-06-04 22:02:28 +02:00
Marcel Otto
5919a9c93e
Add RDF.Namespace builder
2022-06-03 22:19:16 +02:00
Marcel Otto
706de8b954
Make RDF.Data.equal?/2 implementations commutative
2022-05-17 00:34:26 +02:00
Marcel Otto
af5cc26d7f
Make RDF.Data.merge/3 implementations commutative
2022-05-16 22:58:03 +02:00
Marcel Otto
768bc9ae09
Several performance improvements
2022-05-14 23:03:14 +02:00
Marcel Otto
9dc16f794d
Prepare release 0.12.0
2022-04-11 09:25:49 +02:00
Marcel Otto
3cba749945
Add ~i, ~b and ~l sigils
2022-04-09 21:15:34 +02:00
Marcel Otto
d056d33b21
Change RDF.Graph.description/2 fallback value
2022-04-09 01:13:23 +02:00
Marcel Otto
8ef6de926e
Fix version in CHANGELOG and add link to new guide
2022-04-09 01:01:09 +02:00
Marcel Otto
c143272f50
Fix handling of empty descriptions in Turtle encoder
2022-04-08 14:20:51 +02:00
Marcel Otto
f9942b1315
Add RDF.Data.empty?/1
2022-04-08 03:23:16 +02:00
Marcel Otto
0cb6f0efe5
Add RDF.Description.first/3
2022-04-07 21:15:39 +02:00
Marcel Otto
bf158d90ae
Add empty?/1 on Description, Graph and Dataset
2022-04-05 21:06:29 +02:00
Marcel Otto
d3fa2a4f02
Add functions terms/1 and iris/1 on RDF.PropertyMap
2022-04-04 22:30:08 +02:00
Marcel Otto
6e1b6213c4
Add RDF.Graph builder DSL
2022-04-03 00:41:00 +02:00
Marcel Otto
8cb72f5ccc
Add RDF.Guards is_statement/1 and is_quad/1
2022-04-02 23:06:38 +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
458e5b4540
Show subject separately in RDF.Description inspect string
2022-03-29 23:30:15 +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
da401ca474
Fix link to diff for v0.11
2022-03-22 01:14:49 +01:00
Marcel Otto
adc628c1cb
Prepare release 0.11.0
2022-03-22 01:07:16 +01:00
Marcel Otto
e357686f88
Various changes of types
2022-03-13 21:39:48 +01:00
Marcel Otto
db007641e2
Add RDF.Resource.Generator
2022-03-01 23:13:50 +01:00
Marcel Otto
b89b5d34d2
Fix RDF.BlankNode.Generator.start_link interface
2022-02-26 23:03:17 +01:00
Marcel Otto
f5d8d16bc9
Add RDF.Resource.t type
2022-02-25 17:18:03 +01:00
Marcel Otto
9bb07c8259
Add coercible_t type on Triple and Quad modules
2022-02-11 12:03:25 +01:00
Marcel Otto
2f9bf555cd
Update CHANGELOG
2021-12-20 02:10:47 +01:00
Marcel Otto
2beee27eb5
Add :implicit_base option on the RDF.Turtle.Encoder
2021-12-19 01:39:31 +01:00
Marcel Otto
4e043c1c46
Prepare release 0.10.0
2021-12-13 12:05:02 +01:00
Marcel Otto
8cfe0ee6cc
Drop support for Elixir versions < 1.10
2021-11-19 21:10:47 +01:00
Marcel Otto
769915a8ed
Update CHANGELOG
2021-11-12 21:38:20 +01:00
Marcel Otto
7859c4e46d
Add :default_graph_name option to RDF.NQuads.Encoder
...
and use the graph name of an RDF.Graph as its default
2021-11-11 00:24:28 +01:00
Marcel Otto
f9c72c1a35
Add RDF.Dataset.graph_count/1
2021-11-10 00:43:57 +01:00
Marcel Otto
e9102252ae
Add support for Turtle-star encoding
2021-10-09 16:40:07 +02:00
Marcel Otto
737b67095d
Add support for PropertyMap on RDF.Statement.new/2 and coerce/2
2021-09-04 17:44:10 +02:00
Marcel Otto
7283c69092
Prepare release 0.9.4
2021-05-26 13:05:11 +02:00
Marcel Otto
0a0ed07bf2
Allow {mod, fun} tuples on :default_base_iri configuration option
2021-05-19 22:59:13 +02:00
Marcel Otto
9b9cf7dffd
Allow {mod, fun} tuples on :default_prefixes configuration option
2021-05-18 23:52:09 +02:00
Marcel Otto
6d1a139c9a
Add RDF.statement constructor functions
2021-05-10 21:41:48 +02:00
Marcel Otto
2afc2edda8
Add missing escaping of literals in N-Triples and N-Quads encoder
2021-05-09 21:43:10 +02:00
Marcel Otto
3480c254c3
Add missing escaping of language-tagged literals in Turtle encoder
2021-05-09 11:58:36 +02:00