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
8325ba9988
Allow the base_iri of RDF.Vocabulary.Namespaces to end with a dot
2020-10-07 16:02:03 +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
c22bab6c74
Change Namespace.resolve_term to return ok tuples and add resolve_term!
2020-05-09 00:26:29 +02:00
Marcel Otto
6049798b37
Add and fix some Dialyzer typespecs
2020-04-12 21:52:25 +02:00
Marcel Otto
611ada00a2
Don't print "Compiling vocabulary namespace" message during tests
2020-04-05 01:29:24 +02:00
rustra
bd52920e7c
Improve specs for datatypes
2020-03-10 01:37:14 +01:00
Marcel Otto
2244c36b78
Fix warning
2020-03-04 01:31:48 +01:00
Marcel Otto
a047697f70
Fix deprecation warning for Code.ensure_compiled?/1 on Elixir 1.10
2020-03-04 01:30:19 +01:00
rustra
3da72f9e6a
Specs improvements and fixes
2020-03-03 22:02:35 +01:00
rustra
8345e101d3
Add function signatures
2020-03-02 18:23:34 +01:00
Marcel Otto
18ae910bd7
Fix vocabulary namespace detection
2019-09-06 15:05:40 +02:00
Marcel Otto
eb71b26f08
Remove unnecessary whitespace
2019-04-01 02:04:51 +02:00
Marcel Otto
15961b8fef
Fix detection of vocabulary namespaces
2019-03-30 02:01:30 +01:00
Marcel Otto
04f6420962
Remove references to RDF.Vocab package temporarily
...
In its current form it is not recommended to use this package since it
brings a huge baggage as a dependency into your application. A major
rewrite is planned.
2018-09-27 00:46:34 +02:00
Marcel Otto
9c6beeac13
Add @impl annotations
2018-09-17 02:08:16 +02:00
Marcel Otto
87b34f8464
Fix warnings raised on Elixir 1.7
2018-08-16 23:46:05 +02:00
Marcel Otto
c179185cfd
Fix some warnings
2018-03-09 23:57:20 +01:00
Marcel Otto
5aaf15bbcd
Use RDF.read_file/1 in RDF.Vocabulary.Namespace
2018-03-09 21:26:15 +01:00
Marcel Otto
102db58c3b
Show always the compilation message of vocabulary namespaces
2017-08-22 00:43:31 +02: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
eeffceb16d
Fix some warnings
2017-08-11 18:33:12 +02:00
Marcel Otto
2017718000
Enable Turtle as an input format for vocabulary namespaces
2017-08-10 23:41:31 +02:00
Marcel Otto
206bc1cbd9
Prevent vocabulary terms conflicting with Elixir semantics
2017-06-23 17:25:27 +02:00
Marcel Otto
8ab2ab1e15
Fix handling of vocabulary terms starting with an underscore
2017-06-23 17:23:14 +02:00
Marcel Otto
02202b49a7
terms in a vocabulary namespace can be ignored
2017-06-21 23:29:24 +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
f475f910d4
Print a message before the compilation of bigger vocabulary namespaces
2017-06-14 05:19:18 +02:00
Marcel Otto
8bc4963e39
core: remove URI precompiling workaround
2017-06-11 14:23:17 +02:00
Marcel Otto
f3d0ce35f5
core: add documentation for RDF.Namespace and RDF.Vocabulary.Namespace
2017-06-10 22:23:39 +02:00
Marcel Otto
7904476321
core: RDF.Vocabulary.Namespaces can be constructed from NQuad files
2017-06-10 18:02:51 +02:00
Marcel Otto
b72bf17d9c
core: a RDF.Vocabulary.Namespace can be built from any RDF.Data structure
2017-06-05 02:58: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
4e523b1bf1
core: add __uris__ to vocabulary namespaces which returns all URIs of the vocabulary
2017-05-26 22:24:44 +02:00
Marcel Otto
44cb4b0815
core: configurable handling of invalid characters in terms
2017-05-26 21:22:26 +02:00
Marcel Otto
af751dd2bb
core: aliases for terms of RDF.Vocabulary.Namespaces
...
and some refactorings
2017-05-26 13:54:04 +02:00
Marcel Otto
385183169d
core: disable documentation of description builder functions for multi-argument objects
2017-05-25 16:56:29 +02:00
Marcel Otto
c82e76cb9e
core: simplify implementation of Description DSL by supporting descriptions as subject in Description.new
2017-05-25 15:29:39 +02:00
Marcel Otto
88d260ac1e
core: Description DSL
2017-05-25 13:34:42 +02:00
Marcel Otto
ef5b5985dd
core: fix pending base_uri validation on vocabulary namespaces
2017-05-21 23:28:34 +02:00
Marcel Otto
f586acb8b5
core: a different approach for the serialization API
2017-04-11 00:12:29 +02:00
Marcel Otto
a1dcc4cc8f
core: clean up unused vocabulary namespace stuff
2017-03-12 14:34:12 +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