JenaIterableAdapter

eu.ostrzyciel.jelly.convert.jena.JenaIterableAdapter
object JenaIterableAdapter extends IterableAdapter[Node, Triple, Quad, Graph | Model, DatasetGraph | Dataset]

Attributes

Graph
Supertypes
trait IterableAdapter[Node, Triple, Quad, Graph | Model, DatasetGraph | Dataset]
class Object
trait Matchable
class Any
Self type

Members list

Extensions

Extensions

extension (dataset: DatasetGraph | Dataset)
def asGraphs: Iterable[(Node, Iterable[Triple])]

Converts the dataset to an iterable of (node, Iterable[Triple]) pairs. This is useful for GRAPHS Jelly streams.

Converts the dataset to an iterable of (node, Iterable[Triple]) pairs. This is useful for GRAPHS Jelly streams.

Attributes

Returns

iterable of (node, Iterable[Triple]) pairs

def asQuads: Iterable[Quad]

Converts the dataset to an iterable of quads.

Converts the dataset to an iterable of quads.

Attributes

Returns

iterable of quads

extension (graph: Graph | Model)
def asTriples: Iterable[Triple]

Converts the graph to an iterable of triples.

Converts the graph to an iterable of triples.

Attributes

Returns

iterable of triples

extension (m: Graph | Model | DatasetGraph | Dataset)
def namespaceDeclarations: Iterable[NamespaceDeclaration]

Returns the namespace declarations for the dataset.

Returns the namespace declarations for the dataset.

Implementing this is optional. If you don't need to declare namespaces, you can return an empty iterable.

Attributes

Returns

namespace declarations