The best RDF rules Tutorial In 2024, In this tutorial you can learn RDF resources, attributes and attribute values,RDF statements,

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.w3write.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.w3write.com" (Please note that the value of a property can be another resource)

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

<?xml version="1.0"?>

<RDF>
<Description about="http://www.w3write.com/rdf">
<author>Jan Egil Refsnes</author>
<homepage>http://www.w3write.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.w3write.com/rdf is David."

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

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

  • Subject of the statement is: http: //www.w3write.com/rdf
  • Predicate is: homepage
  • The object is: http: //www.w3write.com
RDF rules
10/30