In RDF 1.1 XML Syntax documentation rdf:resource
is used as a shortened form when defining Empty Property Elements:
When a predicate arc in an RDF graph points to an object node which has no further predicate arcs, which appears in RDF/XML as an empty node element (or ) this form can be shortened. This is done by using the IRI of the object node as the value of an XML attribute
rdf:resource
on the containing property element and making the property element empty.
In RDF Schema 1.1 rdfs:Resource
is defined as a class:
All things described by RDF are called resources, and are instances of the class
rdfs:Resource
. This is the class of everything. All other classes are subclasses of this class.rdfs:Resource
is an instance ofrdfs:Class
.
How are the two related? Does an rdf:resource
value always belong to rdfs:Resource
class and the other way around?