Re: BlankNode in subject

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 UTC