[rdfweb-dev] foaf:maker syntax question

Libby Miller Libby.Miller at bristol.ac.uk
Sat Sep 13 19:23:47 UTC 2003

hi Jim

yep you can do that; however we tend not to recommend using ID for a
Person because it gives you a uri referenceable from outside the
document, which is not great style as it can confuse a person with
something that looks like a dereferenable document fragment.

We recommend using rdf:nodeID, e.g.

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
<Person rdf:nodeID="Jim">
<mbox rdf:resource="mailto:jim at example.com"/>
<mbox rdf:resource="mailto:bob at example.com"/>
<knows rdf:nodeID="Jim"/>

which assigns the node a local id.

However some parsers don't yet support nodeID - so using ID and
resource is ok.



On Sat, 13 Sep 2003, NACHLIN wrote:

> Hi,
> I'm wondering if this technique makes sense.  My foaf is fairly
> typical: there is a foaf:Person block which describes me, and
> within this are several other foaf:Person blocks which are
> wrapped in foaf:knows tags.  The foaf:Person that is me has an
> rdf:ID of "Jim".
> Outside of the foaf:Person that represents me, could I just say
> <foaf:maker rdf:resource="#Jim" />
> ?
> Thanks,
> Jim Nachlin
> _______________________________________________
> rdfweb-dev mailing list
> rdfweb-dev at vapours.rdfweb.org
> wiki: http://rdfweb.org/topic/FoafProject
> http://rdfweb.org/mailman/listinfo/rdfweb-dev

More information about the foaf-dev mailing list