Previous Topic

Next Topic

Containers and Collections

JRDF supports RDF collections and containers, which are added using the JRDF graph's TripleFactory.

JRDF containers implement the java.util.Collection interface and include:

  • Alternative

    An unordered list of statements with no duplicates. It represents a set of objects that are semantically the same.

  • Bag

    An unordered list of statements allowing duplicates.

  • Sequence

    An ordered list of statements allowing duplicates. Statements are returned in a first in, first out (FIFO) order.

JRDF collections hold all the statements of a particular group and are represented as a linked list. Collections do not implement java.util.Collection.

In This Section

Triple Factory

See Also

Java RDF (JRDF)

JRDF APIs

JRDF Graphs

Querying a JRDF Graph

TKS Client Support

JRDF Memory Implementation

Built-in Visitor Pattern

Examples

Triple Factory

A TripleFactory, obtained from a JRDF graph, is used to insert collections and containers, and for reification of triples for the graph.

Triples are reified by providing a SubjectNode and the triple to be reified.

Latest News

Kowari 1.1.0 Pre-release 1 Released

Kowari 1.0.5 Released

Kowari 1.0.4.1 Released

Kowari 1.0.4 Released

DAWG Evaluates iTQL

Kowari article in XML.com

Kowari mentioned on XML.com

Kowari 1.0.3 Released

Kowari Lite Introduced

Kowari 1.0.2 Released

Kowari 1.0.1 Released

View all news items


Open Source logo Tucana Technologies Logo SourceForge.net Logo

© 2001-2004 Tucana Technologies, Inc. Some rights reserved.