Commit graph

55 commits

Author SHA1 Message Date
Marcel Otto
e681733652 Add RDF.PropertyMap 2020-10-08 22:49:45 +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
Marcel Otto
0e81f4c02c Apply mix formatter 2020-06-29 10:37:42 +02:00
Marcel Otto
520a6ba58d Add API documentation for BGP querying and some fixes for the API 2020-06-16 12:05:44 +02:00
Marcel Otto
fab63e6a0d Update API documentation 2020-06-01 15:43:38 +02:00
Marcel Otto
fa35b65d9f Redesign datatype reflection API 2020-05-15 17:13:31 +02:00
Marcel Otto
c22bab6c74 Change Namespace.resolve_term to return ok tuples and add resolve_term! 2020-05-09 00:26:29 +02:00
Marcel Otto
faaebb2de2 Add ProtocolEx-based custom datatype registration 2020-05-07 15:37:21 +02:00
Marcel Otto
24051c6153 Add RDF.Guards.maybe_ns_term/1 2020-05-06 18:04:19 +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
Marcel Otto
238c9310be Add some XSD datatype specific delegation functions 2020-04-16 20:55:30 +02:00
Marcel Otto
2be689b2a1 Various datatype fixes 2020-04-12 23:55:34 +02:00
Marcel Otto
fa4bfdff1a Change constructor interface of RDF.LangString and RDF.Generic 2020-04-12 04:34:04 +02:00
Marcel Otto
f6146c51b0 Revision of the literal system with extracted XSD datatypes 2020-04-10 23:56:35 +02:00
Marcel Otto
0f42c462ab Add RDF.Diff to module overview 2019-11-27 09:10:57 +01:00
Marcel Otto
b6438b1c41 Add RDF.diff/2 alias 2019-11-20 01:45:18 +01:00
Marcel Otto
5f855de58c Use RDF.default_base_iri in Turtle encoder and decoder 2019-08-04 00:13:13 +02:00
Marcel Otto
68c91b6894 Add links to website 2019-04-06 02:24:22 +02:00
Marcel Otto
6bd42a9c39 Add configurable RDF.default_prefixes 2019-03-28 00:12:14 +01:00
Marcel Otto
4f71d14377 Add RDF.PrefixMap 2019-03-26 00:31:43 +01:00
Marcel Otto
c5c43caceb Fix wrong signatures of RDF.write_file and RDF.write_file! delegators 2018-11-18 21:19:11 +01:00
Marcel Otto
dfb88ac65e Fix RDF.resource?/1 to not fail when called with unresolvable atoms 2018-09-16 22:28:46 +02:00
Marcel Otto
7e7f6e7189 Add RDF.term?/1 2018-09-16 03:52:07 +02:00
Marcel Otto
b6db74e686 Add top-level aliases for some ambiguous cases 2018-09-15 00:34:09 +02:00
Marcel Otto
f5684262e7 Add RDF.Decimal datatype 2018-06-15 21:19:22 +02:00
Marcel Otto
3e5db97ce4 Add top-level functions for the two boolean RDF.Literal values 2018-05-26 02:51:28 +02:00
Marcel Otto
df05445733 Add top-level alias functions for constructors of the basic datatypes 2018-04-07 22:59:03 +02:00
Marcel Otto
24aabc389b Add general RDF.Serialization.read_* and write_* functions 2018-03-09 21:15:43 +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
6d00346dcd Add RDF.__base_uri__/0 delegator function 2017-08-11 15:43:40 +02:00
Marcel Otto
1e802befca Add Turtle encoder 2017-08-09 23:24:37 +02:00
Marcel Otto
2f6fa6fe34 Revise RDF.List 2017-07-31 23:21:09 +02:00
Marcel Otto
be36ae085d RDF.List module with functions for working with RDF lists 2017-07-27 21:49:35 +02:00
Marcel Otto
a6db9723ca Add RDF.bnode?/1 2017-07-22 00:21:28 +02:00
Marcel Otto
44b527038d RDF.uri/1 preserves empty fragments 2017-07-16 23:59:28 +02:00
Marcel Otto
1ce89e7ad4 Add documentation for the top-level RDF module 2017-06-18 23:04:58 +02:00
Marcel Otto
b3365d2f55 Clean up the top-level RDF module and some other files 2017-06-17 00:51:42 +02:00
Marcel Otto
be2f10f5cd Add RDF.quad constructor function for RDF.Quads 2017-06-11 22:54:41 +02:00
Marcel Otto
d83a0c508d core: terms from the RDF.NS.RDF namespace are directly accessible from the top-level RDF module 2017-06-10 23:08:49 +02:00
Marcel Otto
19c84b7ea2 core: detect and handle case-violations of vocabulary terms 2017-05-29 23:12:50 +02:00
Marcel Otto
e9820ab554 core: fix doctest 2017-05-19 18:08:59 +02:00
Marcel Otto
2b9aa62d69 core: yet another approach for RDF.Literal
- we now only the store the lexical form when it's non-canonical
- Literal validation and canonicalization
- a general RDF.Datatype.Test.Case
- also tested datatype implementations for booleans, integers, string and langStrings
- use literal sigils in Inspect implementation of Literals when possible
2017-04-23 23:41:29 +02:00
Marcel Otto
d812998fb0 core: add lexical form to RDF.Literal 2017-04-20 23:09:55 +02:00
Marcel Otto
06854efbd8 core: more elaborated RDF.Literals (WIP) 2017-04-16 23:13:39 +02:00
Marcel Otto
4e00396a64 json_ld: JSON-LD toRdf test suite and various fixes 2017-04-14 16:24:19 +02:00
Marcel Otto
d56e9b03fc use the IRI sigil 2017-04-10 03:06:20 +02:00
Marcel Otto
daba9d9667 json_ld: JSON-LD compaction test suite and various compaction fixes
but still 13 tests failing
2017-03-25 22:16:59 +01:00
Marcel Otto
e141841e78 core: vocabulary namespace rewrite
- ability to create vocabulary namespaces from RDF data
- XSD, RDF, RDFS, OWL and SKOS vocabulary namespaces
2017-03-12 14:30:59 +01:00