RDF Containers¶

In this notebook I will

Explain RDF Containers Include test cases for gastrodon functions that support containers Demonstrate the use of inference rules to simplify queries against RDF Containers

RDF Containers are one of two mechanisms to represent ordered collections in RDF:

Containers represent the order of members using predicate names that contain the sequence numbers of the members; they work much like an ArrayList in Java.

represent the order of members using predicate names that contain the sequence numbers of the members; they work much like an ArrayList in Java. Collections represent the order of members using a linked list similar to lists in LISP or like the LinkedList in Java.

If you're developing a new application, you may need to choose to use one or the other for a particular use. From the viewpoint of this article, however, I'm working with a dataset that already uses one or the other, and the goal is to write queries againt it.