[rdfweb-dev] an 'anchor' 'rdf:nodeID' and an 'href' 'rdf:nodeID'

Christopher Schmidt crschmidt at crschmidt.net
Fri Apr 15 13:18:28 UTC 2005


On Fri, Apr 15, 2005 at 06:24:21PM +0700, Hendy Irawan wrote:
> how to distinguish between an 'anchor' 'rdf:nodeID' and an 'href' 'rdf:nodeID' ?

Use an RDF toolkit :)

I suppose it depends on what you're using, and what you feel you need to
know. <foaf:knows> is a predicate, so using an rdf:nodeID means it's an
href. <foaf:Person> is an object or subject, so it's an anchor. However,
there's no way to determine that other than by looking at the code
around it.

Like I said, using an RDF toolkit is the way to go: it takes care of
everything for you. 

So, what're you trying to do? :)
-- 
Christopher Schmidt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.usefulinc.com/pipermail/foaf-dev/attachments/20050415/fdb868d7/attachment-0001.pgp


More information about the foaf-dev mailing list