Commit graph

35 commits

Author SHA1 Message Date
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
Marcel Otto
7304037d47 add empty parentheses to bareword function calls for Elixir 1.4 2017-02-12 15:42:27 +01:00
Marcel Otto
4ebc3e63c4 core: collect all exceptions in a dedicated file 2016-11-04 22:13:06 +01:00
Marcel Otto
c192b49bfd core: functions to get the sets of all subjects, predicates, objects and resources of Descriptions and Graphs 2016-11-02 03:19:19 +01:00
Marcel Otto
31331b7388 core: N-Triples reader
and just enough more supported Literals to pass the W3C RDF N-Triples test suite
2016-10-30 19:36:46 +01:00
Marcel Otto
499714285b core: basics of the RDF model 2016-10-16 21:42:03 +02:00