Re: RDF Concepts - What is a Node?

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 UTC