Package com.stardog.stark

# Interface Statement

All Superinterfaces:
  `Resource`, `Serializable`, `Value`

All Known Implementing Classes:
  `StatementPattern`

public interface Statement extends Resource

A Statement in RDF. Comprised of the RDF triple (subject, predicate, object) and the context, eg named graph, in which the statement appears.

Since:
  0.1
Version:
  0.1
Author:
  Michael Grove
See Also:
  - RDF Statements

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Resource`
  `context()`
  The name of the graph in which this statement appears.
  `Value`
  `object()`
  The object of the statement
  `IRI`
  `predicate()`
  The predicate of the statement
  `Resource`
  `subject()`
  The subject of the statement

- ## Method Details

  - ### subject

    @Nonnull Resource subject()
    The subject of the statement
    Returns:
      the subject

  - ### predicate

    @Nonnull IRI predicate()
    The predicate of the statement
    Returns:
      the predicate

  - ### object

    @Nonnull Value object()
    The object of the statement
    Returns:
      the object

  - ### context

    @Nonnull Resource context()
    The name of the graph in which this statement appears.
    Returns:
      the name of the graph, within an RDF dataset, which contains this statement. if the `Statement` is in the default graph, `Values.DEFAULT_GRAPH` will be returned.
    See Also:
      - RDF Graphs