Latest web development tutorials

RDF rules

RDF using Web identifiers (URIs) to identify resources.

RDF using attributes and attribute values ​​to describe the resources.


RDF resources, attributes and attribute values

RDF using Web identifiers to identify things, and to describe resources by attributes and attribute values.

Resources, properties and property values ​​of the explanation:

  • Resources can have anything URI, such as "http://www.w3big.com/rdf"
  • Attribute is the resource owner name, such as "author" or "homepage"
  • Property value is the value of a property, such as "David" or "http://www.w3big.com" (Please note that the value of a property can be another resource)

The following RDF document may describe resources "http://www.w3big.com/rdf":

<?xml version="1.0"?>

<RDF>
<Description about="http://www.w3big.com/rdf">
<author>Jan Egil Refsnes</author>
<homepage>http://www.w3big.com</homepage>
</Description>
</RDF>

lamp The above is a simplified example. Namespace is ignored.


RDF statements

Combination of resources, attributes and attribute values can form a statement (statement body is called, predicate and object).

Look at specific examples of some of the statements, to deepen understanding of:

Statement: "The author of http://www.w3big.com/rdf is David."

  • Subject of the statement is: http: //www.w3big.com/rdf
  • Predicate is: author
  • The object is: David

Statement: "The homepage of http://www.w3big.com/rdf is http://www.w3big.com".

  • Subject of the statement is: http: //www.w3big.com/rdf
  • Predicate is: homepage
  • The object is: http: //www.w3big.com