W3C home > Mailing lists > Public > public-rdf-wg@w3.org > May 2012

Re: RDF Concepts - What is a Node?

From: Thomas Baker <tom@tombaker.org>
Date: Wed, 30 May 2012 09:28:56 -0400
To: Pat Hayes <phayes@ihmc.us>
Cc: Richard Cyganiak <richard@cyganiak.de>, nathan@webr3.org, RDF WG <public-rdf-wg@w3.org>, David Wood <david@3roundstones.com>
Message-ID: <20120530132856.GA19700@alpha.dublincore.org>
On Tue, May 29, 2012 at 07:08:50PM -0500, Pat Hayes wrote:
> > On 29 May 2012, at 19:17, Pat Hayes wrote:
> >>>> Given a graph:
> >>>> 
> >>>> {
> >>>> [] a :Person ;
> >>>> :mailbox <mailto:foo@bar.com> .
> >>>> 
> >>>> [] a :Person ;
> >>>> :mailbox <mailto:bar@foo.com> .
> >>>> }
> >>>> 
> >>>> then how many nodes does this contain? 4?
> >>> 
> >>> No. Five. Two blank nodes, the IRI :Person, and two mailto IRIs.
> >> 
> >> I think it is 4. The :Person IRI only occurs as a property. 
> > 
> > Look again, Pat.
> 
> Whoops. Sorry. (I am STILL not used to the 'a' convention. To hell with N3, I say.)

Hang on, then.  Are there not then 6 nodes in the graph?  Two blank
nodes, the IRI :Person, two mailto IRIs, and the IRI rdf:type, as per:

    The token _a_ in the predicate position of a Turtle triple represents
    the IRI http://www.w3.org/1999/02/22-rdf-syntax-ns#type . [1]

Tom

[1] http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html#IRIs

-- 
Tom Baker <tom@tombaker.org>
Received on Wednesday, 30 May 2012 13:29:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:49 GMT