Interface QuadLike<G extends RDFTerm>

    • Method Detail

      • getGraphName

        java.util.Optional<G> getGraphName()
        The graph name (graph label) of this statement, if present.

        If Optional.isPresent(), then the Optional.get() indicate the graph name of this statement. If the graph name is not present,e.g. the value is Optional.empty(), it indicates that this Quad is in the default graph.

        Returns:
        If Optional.isPresent(), the graph name of this quad, otherwise Optional.empty(), indicating the default graph. The graph name is typically an IRI or BlankNode.