## 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 and 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 and 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 and Description
    --- | ---
    `class` | `AbstractTriple` Base class for `Triple`, offering common functionality.

    Methods in org.eclipse.rdf4j.model.base that return Triple
    Modifier and Type | Method and 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 and 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 and Description
    --- | ---
    `Triple` | ValidatingValueFactory.`createTriple(Resource subject, IRI predicate, Value object)`
    `Triple` | AbstractValueFactory.`createTriple(Resource subject, IRI predicate, Value object)` Deprecated.
    `Triple` | SimpleValueFactory.`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 and Description
    --- | ---
    `static java.util.function.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 and 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 and 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 and Description
    --- | ---
    `static void` | Statements.`convertRDFStarToReification(ValueFactory vf, java.util.function.Function<Triple,Resource> reifiedIdMapper, Statement st, java.util.function.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 and 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 and Description
    --- | ---
    `protected Triple` | SPARQLResultsJSONParser.`parseTripleValue(com.fasterxml.jackson.core.JsonParser jp, String fieldName)`
    `protected Triple` | AbstractSPARQLJSONParser.`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 and 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 and 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 and 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 and 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 and 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 and 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 and 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 and Description
    --- | ---
    `class` | `MemTriple` A MemoryStore-specific implementation of `Triple`.

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.