W3C home > Mailing lists > Public > semantic-web@w3.org > September 2010

Re: BlankNode in subject

From: Toby Inkster <tai@g5n.co.uk>
Date: Sat, 25 Sep 2010 21:27:23 +0100
To: nathan@webr3.org
Cc: Andy Seaborne <andy.seaborne@epimorphics.com>, Semantic Web <semantic-web@w3.org>
Message-ID: <20100925212723.086d8ce7@miranda.g5n.co.uk>
On Sat, 25 Sep 2010 18:39:41 +0100
Nathan <nathan@webr3.org> wrote:

> reworded.. are the following equivalent:
> 
>    [ :firstname "Ora" ] dc:wrote [ dc:title "Moby Dick" ] .
> 
>    _:b1 owl:sameAs [ :firstname "Ora" ];
>      dc:wrote [ dc:title "Moby Dick" ] .
> 
> as in, can either be used to produce the same pseudo triples / graph
> in NTriples.

They have the same meaning when interpreted through an OWL tool, but
they produce different RDF triples. To begin with the first example
contains three triples and the second one contains four. They will
certainly produce different output as N3.

Here are various ways that the first example can be rewritten in Turtle
which produce the same triples:

	_:a :firstname "Ora" .
	_:a dc:wrote _:b .
	_:b dc:title "Moby Dick" .


	_:a :firstname "Ora" ;
		dc:wrote _:b .
	_:b dc:title "Moby Dick" .
	

	_:a :firstname "Ora" ;
		dc:wrote [ dc:title "Moby Dick" ] .

	
	[] :firstname "Ora" ;
		dc:wrote [ dc:title "Moby Dick" ] .

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Saturday, 25 September 2010 20:27:54 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:38 GMT