## Uses of Interface
org.eclipse.rdf4j.model.Triple

- Packages that use Triple
  Package | Description
  --- | ---
  org.eclipse.rdf4j.http.protocol.transaction |
  org.eclipse.rdf4j.model | The RDF Model API
  org.eclipse.rdf4j.model.base | Abstract base classes for RDF Model API interfaces.
  org.eclipse.rdf4j.model.impl | Default implementations of the RDF model interfaces
  org.eclipse.rdf4j.model.util | Helper classes for working with RDF models.
  org.eclipse.rdf4j.query.algebra.evaluation |
  org.eclipse.rdf4j.query.resultio.sparqljson | A writer for the SPARQL Query Results JSON Format
  org.eclipse.rdf4j.rio.helpers | Provides helpers classes for Rio.
  org.eclipse.rdf4j.rio.trigstar |
  org.eclipse.rdf4j.rio.turtle | Parser/writer for the Turtle format.
  org.eclipse.rdf4j.rio.turtlestar |
  org.eclipse.rdf4j.sail.base | Base functionality for Sail implementations that require multi-versioned concurrency control (MVCC).
  org.eclipse.rdf4j.sail.memory.model |

- - ### Uses of Triple in org.eclipse.rdf4j.http.protocol.transaction

    Methods in org.eclipse.rdf4j.http.protocol.transaction with parameters of type Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | TransactionWriter.`serialize​(Triple triple, XMLWriter xmlWriter)` |

  - ### Uses of Triple in org.eclipse.rdf4j.model

    Methods in org.eclipse.rdf4j.model that return Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `default Triple` | ValueFactory.`createTriple​(Resource subject, IRI predicate, Value object)` | Creates a new RDF-star triple with the supplied subject, predicate and object.

  - ### Uses of Triple in org.eclipse.rdf4j.model.base

    Classes in org.eclipse.rdf4j.model.base that implement Triple
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractTriple` | Base class for `Triple`, offering common functionality.

    Methods in org.eclipse.rdf4j.model.base that return Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `Triple` | AbstractValueFactory.`createTriple​(Resource subject, IRI predicate, Value object)` |

  - ### Uses of Triple in org.eclipse.rdf4j.model.impl

    Classes in org.eclipse.rdf4j.model.impl that implement Triple
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SimpleTriple` | A simple default implementation of the `Triple` interface.

    Methods in org.eclipse.rdf4j.model.impl that return Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `Triple` | SimpleValueFactory.`createTriple​(Resource subject, IRI predicate, Value object)` |
    `Triple` | ValidatingValueFactory.`createTriple​(Resource subject, IRI predicate, Value object)` |

  - ### Uses of Triple in org.eclipse.rdf4j.model.util

    Fields in org.eclipse.rdf4j.model.util with type parameters of type Triple
    Modifier and Type | Field | Description
    --- | --- | ---
    `static Function<Triple,​Resource>` | Statements.`TRIPLE_BNODE_MAPPER` | A `Function` that maps `Triple` to `BNode` consistently.

    Methods in org.eclipse.rdf4j.model.util that return Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Triple` | Statements.`toTriple​(Statement statement)` | Deprecated. since 3.5.0 - use `Values.triple(Statement)` instead
    `static Triple` | Statements.`toTriple​(ValueFactory vf, Statement statement)` | Deprecated. since 3.5.0 - use `Values.triple(ValueFactory, Statement)` instead
    `static Triple` | Values.`triple​(Resource subject, IRI predicate, Value object)` | Creates a new `RDF-star embedded triple` with the supplied subject, predicate, and object.
    `static Triple` | Values.`triple​(Statement statement)` | Creates a new `RDF-star embedded triple` using the subject, predicate and object from the supplied `Statement`.
    `static Triple` | Values.`triple​(ValueFactory vf, Resource subject, IRI predicate, Value object)` | Creates a new `RDF-star embedded triple` with the supplied subject, predicate, and object.
    `static Triple` | Values.`triple​(ValueFactory vf, Statement statement)` | Creates a new `RDF-star embedded triple` using the subject, predicate and object from the supplied `Statement`.

    Methods in org.eclipse.rdf4j.model.util with parameters of type Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Statement` | Statements.`statement​(Triple triple)` | Create a `Statement` from the supplied { @link Triple RDF-star triple}
    `static Statement` | Statements.`statement​(Triple triple, Resource context)` | Create a `Statement` from the supplied { @link Triple RDF-star triple} and context.
    `static Statement` | Statements.`statement​(ValueFactory vf, Triple triple, Resource context)` | Create a `Statement` from the supplied { @link Triple RDF-star triple} and context.
    `static Statement` | Statements.`toStatement​(Triple triple)` | Deprecated. Use `Statements.statement(Triple)` instead
    `static Statement` | Statements.`toStatement​(Triple triple, Resource context)` | Deprecated. since 3.7.0 - use `Statements.statement(Triple, Resource)` instead
    `static Statement` | Statements.`toStatement​(ValueFactory vf, Triple triple, Resource context)` | Deprecated. Use `Statements.statement(ValueFactory,Triple,Resource)` instead

    Method parameters in org.eclipse.rdf4j.model.util with type arguments of type Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | Statements.`convertRDFStarToReification​(ValueFactory vf, Function<Triple,​Resource> reifiedIdMapper, Statement st, Consumer<Statement> consumer)` | Converts the supplied RDF-star statement to RDF reification statements, and sends the resultant statements to the supplied consumer.

  - ### Uses of Triple in org.eclipse.rdf4j.query.algebra.evaluation

    Methods in org.eclipse.rdf4j.query.algebra.evaluation that return types with arguments of type Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `CloseableIteration<? extends Triple,​QueryEvaluationException>` | RDFStarTripleSource.`getRdfStarTriples​(Resource subj, IRI pred, Value obj)` | Gets all Triple nodes that have a specific subject, predicate and/or object.

  - ### Uses of Triple in org.eclipse.rdf4j.query.resultio.sparqljson

    Methods in org.eclipse.rdf4j.query.resultio.sparqljson that return Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Triple` | AbstractSPARQLJSONParser.`parseTripleValue​(com.fasterxml.jackson.core.JsonParser jp, String fieldName)` |
    `protected Triple` | SPARQLResultsJSONParser.`parseTripleValue​(com.fasterxml.jackson.core.JsonParser jp, String fieldName)` |

  - ### Uses of Triple in org.eclipse.rdf4j.rio.helpers

    Methods in org.eclipse.rdf4j.rio.helpers that return Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Triple` | NTriplesUtil.`parseTriple​(String nTriplesTriple, ValueFactory valueFactory)` | Parses an RDF-star triple (non-standard N-Triples), creates an object for it using the supplied ValueFactory and returns this object.

    Methods in org.eclipse.rdf4j.rio.helpers with parameters of type Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | NTriplesUtil.`append​(Triple triple, Appendable appendable)` | Appends the N-Triples (non-standard) representation of the given `Triple` to the given `Appendable`.
    `static String` | NTriplesUtil.`toNTriplesString​(Triple triple)` | Creates an N-Triples (non-standard) string for the supplied RDF-star triple.

  - ### Uses of Triple in org.eclipse.rdf4j.rio.trigstar

    Methods in org.eclipse.rdf4j.rio.trigstar with parameters of type Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | TriGStarWriter.`writeTriple​(Triple triple, boolean canShorten)` |

  - ### Uses of Triple in org.eclipse.rdf4j.rio.turtle

    Methods in org.eclipse.rdf4j.rio.turtle that return Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Triple` | TurtleParser.`parseTripleValue()` | Parser an RDF-star triple value and returns it.

    Methods in org.eclipse.rdf4j.rio.turtle with parameters of type Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | TurtleWriter.`writeTriple​(Triple triple, boolean canShorten)` |
    `protected void` | TurtleWriter.`writeTripleRDFStar​(Triple triple, boolean canShorten)` |

  - ### Uses of Triple in org.eclipse.rdf4j.rio.turtlestar

    Methods in org.eclipse.rdf4j.rio.turtlestar with parameters of type Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | TurtleStarWriter.`writeTriple​(Triple triple, boolean canShorten)` |

  - ### Uses of Triple in org.eclipse.rdf4j.sail.base

    Methods in org.eclipse.rdf4j.sail.base that return types with arguments of type Triple
    Modifier and Type | Method | Description
    --- | --- | ---
    `default CloseableIteration<? extends Triple,​SailException>` | SailDataset.`getTriples​(Resource subj, IRI pred, Value obj)` | Gets all RDF-star triples that have a specific subject, predicate and/or object.

  - ### Uses of Triple in org.eclipse.rdf4j.sail.memory.model

    Classes in org.eclipse.rdf4j.sail.memory.model that implement Triple
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `MemTriple` | A MemoryStore-specific implementation of `Triple`.