An RDF resource.
Every RDF resource must have a URIref. URIrefs are treated as logical constants, i.e. as names which denote something (the things are called 'resources', but no assumptions are made about the nature of resources.) Many RDF resources are pieces of vocabulary. They typically have a namespace and a local name. In this case, a URI is composed as a concatenation of the namespace and the local name.
Located in /model/Resource.php (line 24)
Object | --Node | --Resource
Class | Description |
---|---|
BlankNode | An RDF blank node. |
ResResource | An RDF Resource. |
URIref to the resource
Constructor Takes an URI or a namespace/localname combination
Checks if the resource equals another resource.
Two resources are equal, if they have the same URI
Returns the label of the resource, which is the URI of the resource.
Returns the namespace of the resource. May return null.
Dumps resource.
Inherited From Object
Object::toString()
Documentation generated on Mon, 26 Jun 2006 14:26:10 +0200 by phpDocumentor 1.3.0RC6