RDF Rules

Το RDF χρησιμοποιεί Web identifiers (URIs) για να αναγνωρίζει πόρους.

Το RDF χρησιμοποιεί παραμέτρους και τιμές παραμέτρων για να περιγράφει πόρους.

Πόροι RDF, παραμέτρους και τιμές παραμέτρων

Το RDF χρησιμοποιεί Web identifiers για να αναγνωρίζει αντικείμενα και χρησιμοποιεί παραμέτρους και τιμές παραμέτρων για να περιγράφει πόρους.

Επεξήγηση για πόρους, παραμέτρους και τιμές παραμέτρων:

  • ΠόροιΕίναι οποιοδήποτε αντικείμενο που μπορεί να έχει URI, όπως "http://www.codew3c.com/rdf"
  • ΠαραμέτροιΕίναι πόροι που έχουν όνομα, όπως "author" ή "homepage"
  • Attribute valueIs the value of some attribute, such as "David" or "http://www.codew3c.com" (note that an attribute value can be another resource)

The following RDF document can describe the resource "http://www.codew3c.com/rdf":

<?xml version="1.0"?>
<RDF>
  <Description about="http://www.codew3c.com/RDF">
    <author>David</author>
    <homepage>http://www.codew3c.com</homepage>
  </Description>
</RDF>

Tip:The above is a simplified example. The namespace is ignored.

RDF Statement

The combination of a resource, attribute, and attribute value can form aStatement(Called theSubjectPredicateandSubject)。

Please see some specific examples of statements to deepen your understanding:

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

  • The subject of the statement is: http://www.codew3c.com/rdf
  • The predicate is: author
  • The subject is: David

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

  • The subject of the statement is: http://www.codew3c.com/rdf
  • The predicate is: homepage
  • The subject is: http://www.codew3c.com