RDF.Query.BGP (RDF.ex v0.9.1) View Source

A struct for Basic Graph Pattern queries.

See RDF.Query and its functions on how to construct this query struct and apply it on RDF.Graphs.

Link to this section Summary

Functions

Return a list of all variables in a BGP.

Link to this section Types

Specs

t() :: %RDF.Query.BGP{triple_patterns: triple_patterns()}

Specs

triple_pattern() ::
  {subject :: variable() | RDF.Term.t(), predicate :: variable() | RDF.Term.t(),
   object :: variable() | RDF.Term.t()}

Specs

triple_patterns() :: [triple_pattern()]

Specs

variable() :: String.t()

Link to this section Functions

Specs

variables(any()) :: [atom()]

Return a list of all variables in a BGP.