Commit graph

764 commits

Author SHA1 Message Date
Marcel Otto
ddb3d365bc Add tests for RDF.BlankNode.new/1 2020-11-01 02:25:25 +01:00
Marcel Otto
c17cf8297c Improve performance of RDF.PrefixMap.prefixed_name_to_iri/2 2020-10-30 11:42:07 +01:00
Marcel Otto
15002a0bbb Add RDF.Dataset.prefixes/1 2020-10-28 11:51:00 +01:00
Marcel Otto
29a860d969 Allow vocabulary namespace modules as base for Turtle encoder 2020-10-28 11:36:43 +01:00
Marcel Otto
4f095b8d47 Add RDF.PrefixMap.put/3 2020-10-21 12:59:20 +02:00
Marcel Otto
9d2e25eb49 Add Elixir 1.11.1 to CI 2020-10-18 21:46:08 +02:00
Marcel Otto
217139deae Shorten the Inspect form of RDF.PrefixMap 2020-10-15 09:05:43 +02:00
Marcel Otto
36ab48c0e7 Prepare release 0.9.0 2020-10-13 16:09:43 +02:00
Marcel Otto
f4c15d6930 Add missing typespec 2020-10-13 15:54:43 +02:00
Marcel Otto
00655077d3 Update dependencies 2020-10-13 15:40:17 +02:00
Marcel Otto
692aeed834 Update API documentation 2020-10-13 15:28:40 +02: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
cafba9f61f Add support for RDF.PropertyMaps in BGP and path queries 2020-10-13 10:43:05 +02:00
Marcel Otto
d3c6336782 Fix bug with BGP queries provided as maps 2020-10-12 23:02:56 +02:00
Marcel Otto
9ecc59b542 Change naming of statement count functions to be consistent
Previous names are provided as delegation functions.
2020-10-11 13:11:18 +02:00
Marcel Otto
072d4a0c01 Change style of CI badge 2020-10-11 11:43:03 +02:00
Marcel Otto
eef64b9253 Add support for adding terms of a vocab namespace to RDF.PropertyMap
For now only with RDF.PropertyMap.add/2 on purpose, since we want to
enforce a conscious usage of this feature, as put/2 would silently
overwrite terms.
2020-10-11 11:42:30 +02:00
Marcel Otto
5d9ddeb7fe Add tests for merging RDF.PropertyMaps
Implementation wasn't needed, since the merge already works via the
Enumerable protocol implementation.
2020-10-11 02:48:35 +02:00
Marcel Otto
875908eb39 Handle conflicting terms for the same IRI in a PropertyMap 2020-10-11 02:35:58 +02:00
Marcel Otto
95a69d9007 Add Enumerable protocol implementation for RDF.PropertyMap 2020-10-11 01:07:53 +02:00
Marcel Otto
c1495a5f39 Add Inspect protocol implementation for RDF.PropertyMap 2020-10-11 00:57:29 +02:00
Marcel Otto
3e111ff22b Add some aliases to RDF.Data 2020-10-10 22:23:01 +02:00
Marcel Otto
e99ff455ae Add opts for contexts on RDF.Data functions 2020-10-10 22:09:29 +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
2fbf57a172 Fix Dialyzer step in GitHub Actions workflow 2020-10-09 22:43:44 +02:00
Marcel Otto
e7ad3231a8 Replace Travis with GitHub Actions CI badge 2020-10-09 22:41:17 +02:00
Marcel Otto
ba627f33b0 Remove Travis config 2020-10-09 22:33:45 +02:00
Marcel Otto
1befb382da Fix dialyzer fail 2020-10-09 22:20:52 +02:00
Marcel Otto
3c10b1eb03 Fix Dialyzer in GitHub Actions workflow 2020-10-09 22:08:12 +02:00
Marcel Otto
196971f1c0 Fix Coveralls setup in GitHub Actions workflow 2020-10-09 22:00:43 +02:00
Marcel Otto
ab6aadfe03 Setup Dialyzer in GitHub Actions workflow 2020-10-09 21:54:01 +02:00
Marcel Otto
1c11b63e58 Setup Coveralls reporting in GitHub Actions workflow 2020-10-09 21:53:07 +02:00
Marcel Otto
1adfb697b1 Add missing PropertyMap alias 2020-10-09 21:37:28 +02:00
Marcel Otto
7d7d63c238 Setup GitHub Actions CI workflow 2020-10-09 21:33:15 +02:00
Marcel Otto
5f16b9837c Fix RDF.Literal.new/1 test with custom datatypes 2020-10-09 16:39:59 +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
e681733652 Add RDF.PropertyMap 2020-10-08 22:49:45 +02:00
Marcel Otto
ec0e60e3c8 Add RDF.IRI.append/2 2020-10-08 11:45:34 +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
8325ba9988 Allow the base_iri of RDF.Vocabulary.Namespaces to end with a dot 2020-10-07 16:02:03 +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
d815200b4a Optimize handling of descriptions in RDF.Description.include?/2 2020-10-05 11:13:28 +02:00
Marcel Otto
08a97ff2dc Add support for quads in input data of RDF.Description functions 2020-10-05 01:28:24 +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
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
4dfc16a55a Improve tests of RDF.Description.put/3 2020-10-04 02:52:56 +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
7fda16a40e Change format for BGP queries to be inline with the common input formats 2020-10-01 15:50:52 +02:00