RDF Rules
- Previous Page RDF Introduction
- Next Page RDF Examples
RDF yana amfani da alamar Web (URIs) don kira ci gina.
RDF yana amfani da yawa da kiyasawa don tasirin ci gina.
RDF ci gina, yawa da kiyasawa
RDF yana amfani da alamar Web don kira wa hoto, kuma yana amfani da yawa da kiyasawa don tasirin ci gina.
tafida kanan gina, yawa da kiyasawa:
- ci ginaci gina ce zaiya URI wanda, wanda "http://www.codew3c.com/rdf"
- yawaci gina ce ta amana, wanda "arikere" ko "madafiya"
- 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>
Hint: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 theSubject、PredicateAndSubject)。
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
- Previous Page RDF Introduction
- Next Page RDF Examples