2017-03-12 13:27:52 +00:00
|
|
|
defmodule RDF.NS do
|
2017-06-10 19:52:16 +00:00
|
|
|
@moduledoc """
|
|
|
|
`RDF.Namespace`s for fundamental RDF vocabularies.
|
|
|
|
|
|
|
|
Namely:
|
|
|
|
|
|
|
|
- `RDF.NS.RDF`
|
|
|
|
- `RDF.NS.RDFS`
|
|
|
|
- `RDF.NS.OWL`
|
|
|
|
- `RDF.NS.SKOS`
|
|
|
|
- `RDF.NS.XSD`
|
|
|
|
"""
|
|
|
|
|
2017-03-12 13:27:52 +00:00
|
|
|
use RDF.Vocabulary.Namespace
|
|
|
|
|
|
|
|
@vocabdoc """
|
|
|
|
The XML Schema datatypes vocabulary.
|
|
|
|
|
|
|
|
See <https://www.w3.org/TR/xmlschema11-2/>
|
|
|
|
"""
|
|
|
|
defvocab XSD,
|
|
|
|
base_uri: "http://www.w3.org/2001/XMLSchema#",
|
2017-04-16 21:13:39 +00:00
|
|
|
terms: RDF.Datatype.NS.XSD.__terms__
|
2017-03-12 13:27:52 +00:00
|
|
|
|
|
|
|
@vocabdoc """
|
|
|
|
The RDF vocabulary.
|
|
|
|
|
|
|
|
See <https://www.w3.org/TR/rdf11-concepts/>
|
|
|
|
"""
|
|
|
|
defvocab RDF,
|
|
|
|
base_uri: "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
|
2017-08-10 21:45:28 +00:00
|
|
|
file: "rdf.ttl",
|
2017-05-29 21:12:50 +00:00
|
|
|
alias: [
|
|
|
|
Nil: "nil",
|
|
|
|
LangString: "langString"
|
|
|
|
]
|
2017-03-12 13:27:52 +00:00
|
|
|
|
|
|
|
@vocabdoc """
|
|
|
|
The RDFS vocabulary.
|
|
|
|
|
|
|
|
See <https://www.w3.org/TR/rdf-schema/>
|
|
|
|
"""
|
|
|
|
defvocab RDFS,
|
|
|
|
base_uri: "http://www.w3.org/2000/01/rdf-schema#",
|
2017-08-10 21:45:28 +00:00
|
|
|
file: "rdfs.ttl"
|
2017-03-12 13:27:52 +00:00
|
|
|
|
|
|
|
@vocabdoc """
|
|
|
|
The OWL vocabulary.
|
|
|
|
|
|
|
|
See <https://www.w3.org/TR/owl-overview/>
|
|
|
|
"""
|
|
|
|
defvocab OWL,
|
|
|
|
base_uri: "http://www.w3.org/2002/07/owl#",
|
2017-08-10 21:45:28 +00:00
|
|
|
file: "owl.ttl"
|
2017-03-12 13:27:52 +00:00
|
|
|
|
|
|
|
@vocabdoc """
|
|
|
|
The SKOS vocabulary.
|
|
|
|
|
|
|
|
See <http://www.w3.org/TR/skos-reference/>
|
|
|
|
"""
|
|
|
|
defvocab SKOS,
|
|
|
|
base_uri: "http://www.w3.org/2004/02/skos/core#",
|
2017-08-10 21:45:28 +00:00
|
|
|
file: "skos.ttl"
|
2017-03-12 13:27:52 +00:00
|
|
|
|
|
|
|
end
|