RDF.ex v0.3.1 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

Link to this section Functions

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
Link to this function description(arg1, arg2, arg3) View Source
Link to this function first(s, o1, o2, o3, o4) View Source
Link to this function first(s, o1, o2, o3, o4, o5) View Source
Link to this function graph(arg1, arg2, arg3, arg4) View Source
Link to this function object(s, o1, o2, o3, o4) View Source
Link to this function object(s, o1, o2, o3, o4, o5) View Source
Link to this function predicate(s, o1, o2, o3) View Source
Link to this function predicate(s, o1, o2, o3, o4) View Source
Link to this function predicate(s, o1, o2, o3, o4, o5) View Source

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
Link to this function rest(s, o1, o2, o3, o4, o5) View Source
Link to this function subject(s, o1, o2, o3, o4) View Source
Link to this function subject(s, o1, o2, o3, o4, o5) View Source
Link to this function type(s, o1, o2, o3, o4, o5) View Source
Link to this function value(s, o1, o2, o3, o4) View Source
Link to this function value(s, o1, o2, o3, o4, o5) View Source