From 04f6420962c2f1922282dab79dcd77c227a35cbd Mon Sep 17 00:00:00 2001 From: Marcel Otto Date: Thu, 27 Sep 2018 00:46:34 +0200 Subject: [PATCH] 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. --- README.md | 4 +--- lib/rdf/vocabulary_namespace.ex | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 652248f..cd63380 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,6 @@ But there's an even shorter notation for IRI literals. ### Vocabularies RDF.ex supports modules which represent RDF vocabularies as `RDF.Vocabulary.Namespace`s. It comes with predefined modules for some fundamental vocabularies defined in the `RDF.NS` module. -Furthermore, the [rdf_vocab] package -contains predefined `RDF.Vocabulary.Namespace`s for the most popular vocabularies. These `RDF.Vocabulary.Namespace`s (a special case of a `RDF.Namespace`) allow for something similar to QNames in XML: an atom or function qualified with a `RDF.Vocabulary.Namespace` can be resolved to an IRI. @@ -116,7 +114,7 @@ iex> iri(RDF.Property) This way of expressing IRIs has the additional benefit, that the existence of the referenced IRI is checked at compile time, i.e. whenever a term is used that is not part of the resp. vocabulary an error is raised by the Elixir compiler (unless the vocabulary namespace is non-strict; see below). -For terms not adhering to the capitalization rules (lowercase properties, capitalized non-properties) or containing characters not allowed within atoms, the predefined namespaces in `RDF.NS` and `RDF.Vocab` define aliases accordingly. If unsure, have a look at the documentation or their definitions. +For terms not adhering to the capitalization rules (lowercase properties, capitalized non-properties) or containing characters not allowed within atoms, the predefined namespaces in `RDF.NS` define aliases accordingly. If unsure, have a look at the documentation or their definitions. #### Description DSL diff --git a/lib/rdf/vocabulary_namespace.ex b/lib/rdf/vocabulary_namespace.ex index a939f3e..7c92a24 100644 --- a/lib/rdf/vocabulary_namespace.ex +++ b/lib/rdf/vocabulary_namespace.ex @@ -7,8 +7,6 @@ defmodule RDF.Vocabulary.Namespace do RDF.ex comes with predefined modules for some fundamental vocabularies in the `RDF.NS` module. - Furthermore, the [rdf_vocab](https://hex.pm/packages/rdf_vocab) package - contains predefined modules for popular vocabularies. """ alias RDF.Utils.ResourceClassifier