RDF.ex v0.3.0 RDF View Source

The top-level module of RDF.ex.

RDF.ex consists of:

This top-level module provides shortcut functions for the construction of the basic elements and structures of RDF and some general helper functions.

For a general introduction you may refer to the README.

Link to this section Summary

Functions

See RDF.NS.RDF.__base_iri__/0

Checks if the given value is a blank node

See RDF.NS.RDF.first/3

See RDF.NS.RDF.first/4

See RDF.NS.RDF.first/5

See RDF.NS.RDF.first/6

See RDF.NS.RDF./0

See RDF.NS.RDF.object/3

See RDF.NS.RDF.object/4

See RDF.NS.RDF.object/5

See RDF.NS.RDF.object/6

See RDF.NS.RDF.predicate/3

See RDF.NS.RDF.predicate/4

See RDF.NS.RDF.predicate/5

See RDF.NS.RDF.predicate/6

Checks if the given value is a RDF resource

See RDF.NS.RDF.rest/3

See RDF.NS.RDF.rest/4

See RDF.NS.RDF.rest/5

See RDF.NS.RDF.rest/6

See RDF.NS.RDF.subject/3

See RDF.NS.RDF.subject/4

See RDF.NS.RDF.subject/5

See RDF.NS.RDF.subject/6

See RDF.NS.RDF.type/3

See RDF.NS.RDF.type/4

See RDF.NS.RDF.type/5

See RDF.NS.RDF.type/6

See RDF.NS.RDF.value/3

See RDF.NS.RDF.value/4

See RDF.NS.RDF.value/5

See RDF.NS.RDF.value/6

Link to this section Functions

See RDF.NS.RDF.__base_iri__/0.

Checks if the given value is a blank node.

Examples

iex> RDF.bnode?(RDF.bnode)
true
iex> RDF.bnode?(RDF.iri("http://example.com/resource"))
false
iex> RDF.bnode?(42)
false

See RDF.NS.RDF.first/3.

See RDF.NS.RDF.first/4.

Link to this function first(s, o1, o2, o3, o4) View Source

See RDF.NS.RDF.first/5.

Link to this function first(s, o1, o2, o3, o4, o5) View Source

See RDF.NS.RDF.first/6.

Link to this function graph(arg1, arg2, arg3, arg4) View Source

See RDF.Graph.new/4.

See RDF.NS.RDF./0.

See RDF.NS.RDF.object/3.

See RDF.NS.RDF.object/4.

Link to this function object(s, o1, o2, o3, o4) View Source

See RDF.NS.RDF.object/5.

Link to this function object(s, o1, o2, o3, o4, o5) View Source

See RDF.NS.RDF.object/6.

See RDF.NS.RDF.predicate/3.

Link to this function predicate(s, o1, o2, o3) View Source

See RDF.NS.RDF.predicate/4.

Link to this function predicate(s, o1, o2, o3, o4) View Source

See RDF.NS.RDF.predicate/5.

Link to this function predicate(s, o1, o2, o3, o4, o5) View Source

See RDF.NS.RDF.predicate/6.

Checks if the given value is a RDF resource.

Examples

iex> RDF.resource?(RDF.iri("http://example.com/resource"))
true
iex> RDF.resource?(EX.resource)
true
iex> RDF.resource?(RDF.bnode)
true
iex> RDF.resource?(42)
false

See RDF.NS.RDF.rest/3.

See RDF.NS.RDF.rest/4.

See RDF.NS.RDF.rest/5.

Link to this function rest(s, o1, o2, o3, o4, o5) View Source

See RDF.NS.RDF.rest/6.

See RDF.NS.RDF.subject/3.

See RDF.NS.RDF.subject/4.

Link to this function subject(s, o1, o2, o3, o4) View Source

See RDF.NS.RDF.subject/5.

Link to this function subject(s, o1, o2, o3, o4, o5) View Source

See RDF.NS.RDF.subject/6.

See RDF.NS.RDF.type/3.

See RDF.NS.RDF.type/4.

See RDF.NS.RDF.type/5.

Link to this function type(s, o1, o2, o3, o4, o5) View Source

See RDF.NS.RDF.type/6.

See RDF.NS.RDF.value/3.

See RDF.NS.RDF.value/4.

Link to this function value(s, o1, o2, o3, o4) View Source

See RDF.NS.RDF.value/5.

Link to this function value(s, o1, o2, o3, o4, o5) View Source

See RDF.NS.RDF.value/6.