Select Page

Triple

Like an atom in the material world, a triple is the most fundamental part of how information is encoded in a knowledge graph using semantic web technologies. A triple comprises a subject–predicate–object expression (Jason is 40 or Jason knows David).

Each entity gets connected to the next through relationships that are expressed with simple triples. Like in reality where from simple local rules, arise complexity. By mixing up billions of triples, you get the Semantic Web.  

For instance, those below are two triples expressed in JSON-LD:

Triple in JSON-LD

“This entity is a person” and “The name of this entity is Jason Cohen.” Which, visually (using an online tool called the JSON-LD Playground) will look like the following:

A triple in the JSON-LD Playground

Within each triple we can add more information in the form of subject-predicate-object and using a particular Schema type and its associated properties, so that we can make each piece of information truly accessible to machines.

Information, in the semantic web, is written using subject–predicate–object predicates called triples.