RDF Rules
RDF uses Web identifiers (URIs) to identify resources.
RDF uses properties and property values to describe resources.
RDF Resources, Properties, and Property Values
RDF uses Web identifiers to identify things and describes resources through properties and property values.
Explanation of resources, properties, and property values:
- Resourceis anything that can have a URI, such as "https://www.runoob.com//rdf"
- propertyis a named resource, such as "author" or "homepage"
- Attribute valuesis the value of a property, such as "David" or "https://www.runoob.com/" (note that a property value can be another resource)
The following RDF document can describe the resource "https://www.runoob.com//rdf":
The above is a simplified example. The namespace is omitted.
RDF Statement
The combination of a resource, a property, and a property value forms aStatement(called thesubject, predicateandobject).
Please look at some specific examples of statements to deepen your understanding:
Statement: "The author of https://www.runoob.com//rdf is David."
- The subject of the statement is: https://www.runoob.com//rdf
- The predicate is: author
- The object is: David
Statement: "The homepage of https://www.runoob.com//rdf is https://www.runoob.com/".
- The subject of the statement is: https://www.runoob.com//rdf
- The predicate is: homepage
- The object is: https://www.runoob.com/