Subject-predicate-object triples (or simply triples) are the main form of knowledge representation in RDF, the language of the semantic web. Becasue of this RDF databases are often refered to has triple stores. Although the triple seems very simple, it can describe anything that can be represented in more complex forms such as tables, XML or JSON data structures. Some RDF databases also stupport named graphs, where triples are tagged with a graph URI, and hence are called quad stores.
An example:
subject | predicate | object | ||
---|---|---|---|---|
Scooby Doo | –- | instance of | –- | Great Dane |
Dog | –- | number of legs | –- | 4 |
Used in Chap. 17: page 250