Comment on page
RDF
Relation Protocol supports the RDF standard.
RDF (Resource Description Framework) is a semantic standard used to describe structured knowledge, which is an international standard published by W3C for knowledge graph. It is a logical and well-developed data model.
The social data in Relation Protocol is written following the RDF standard, including:
The underlying structure of any expression in RDF is a collection of triples, each consisting of a subject, a predicate and an object. A set of such triples is called an RDF graph (defined more formally in section 6). This can be illustrated by a node and directed-arc diagram, in which each triple is represented as a node-arc-node link (hence the term "graph").

Figure 2-1 RDF triples
Each triple represents a statement of a relationship between the things denoted by the nodes that it links. Each triple has three parts:The direction of the arc is significant: it always points toward the object.
RDF Schema provides a data-modelling vocabulary for RDF data.The RDF Schema class and property system is similar to the type systems of object-oriented programming languages such as Java.
An RDF triple contains three components:
An RDF triple is conventionally written in the order subject, predicate, object.The predicate is also known as the property of the triple.
An RDF graph is a set of RDF triples.The set of nodes of an RDF graph is the set of subjects and objects of triples in the graph.
Alice follow Bob, described by RDF is:
<http://relationlabs.ai/entity/Alice> <http://relationlabs.ai/property/follow> <http://relationlabs.ai/entity/Bob> .
.png?alt=media)
Figure 2-2 Follow graph
Last modified 8mo ago