[rdfweb-dev] Re: PHP RDF Parser

Bill Kearney ml_yahoo at i...
Fri Jan 10 21:10:39 UTC 2003


If you want to talk about uniqueness, the OSF's GUID format is a nice one. One
option is to create a unique namespace for the GUID and base all others from it.
That's namespace in a way completely unlike an XML namespace. It's sort of a
'salt' for the GUID creation. The nice thing is they're 'reversable' back to
it. Might make for some handy cross-referencing stuff.

-Bill Kearney

----- Original Message -----
From: "Julian Bond" <julian_bond at v...>
To: <rdfweb-dev at yahoogroups.com>
Sent: Friday, January 10, 2003 1:49 PM
Subject: Re: [rdfweb-dev] Re: PHP RDF Parser


> Ian Davis <iand at i...> wrote:
> >IDs beginning with a letter only are the norm for things like XML[1]
> >and CSS[2]. Now, saying that, the original RDF Spec[3] says that
> >IDsymbol can be any legal XML name symbol which allows for an ID
> >beginning with numbers. The current draft spec[4] restricts the ID to
> >starting with a Letter or underscore.
>
> OK. I'll use #n_my_id_number where my_id_number is the longint primary
> key of the person. Guaranteed Unique(tm) and valid.
>
> More newbie questions.
>
> 1) I got an app working about 30 minutes ago and have been browsing
> round FOAF files on the web. I'm seeing a number that look like this.
> <rdf:Description>
> <foaf:name>XX YYYYYY</foaf:name>
>
> with no <foaf:Person>
> It may be valid RDF but is this really valid FOAF?
>
> 2) How about this?
> <foaf:workplaceHomepage>
> <rdf:Description rdf:about="http://www.masslight.com/">
> Shouldn't that be
> <foaf:workplaceHomepage rdf:resource="http://www.masslight.com/" />
>
> 3) Then we have
> <foaf:mbox rdf:resource="mailto:xxx at y..." />
> compared with
> <foaf:mbox>mailto:xxx at y...</foaf:mbox>
>
> 4) Then we have
> <word:Person>
> <foaf:mbox rdf:resource="mailto:xxx at y..." />
> compared with
> <foaf:Person>
> <foaf:mbox rdf:resource="mailto:xxx at y..." />
>
> 5) how about
> <foaf:knows rdf:resource="#xxx" />
> and then later in the file
> <foaf:Person rdf:ID="#xxx">
> Notice the # on the second one.
>
> It's all valid RDF (not sure about that last one) but the lack of
> consistency makes life hard. Is it really ok for people to just make it
> up as they go along?
>
> --
> Julian Bond Email&MSM: julian.bond at v...
> Webmaster: http://www.ecademy.com/
> Personal WebLog: http://www.voidstar.com/
> CV/Resume: http://www.voidstar.com/cv/
> M: +44 (0)77 5907 2173 T: +44 (0)192 0412 433
>
> To unsubscribe from this group, send an email to:
> rdfweb-dev-unsubscribe at egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>




More information about the foaf-dev mailing list