Re: Mistaken identity?

> 3. How can I ever assert:
> 
> <http://mydomain.org/a> owl:sameAs <http://yourdomain.org/a> .

Just because you use a particular URI as an rdf identifier doesn't automatically mean that the rdf resource is equal to the web page returned when you dereference the uri.  In fact, rdf's position about that notion is not really specified.  IMHO, you are better off considering your URIs to be abstract strings, and then hope that you get something cogent when you try to dereference them. If you do get something, so much the better.

So how could you make a statement about the actual thing returned by http://mydomain.org/a?  Make up a resource type, and assign the URL to it, something like this -

{danny:a rdf:type danny:WebPage}
{danny:a danny:URL 'http://mydomain.org/a'}

Get fancy and declare danny:URL to be inverse functional if you like.  

I know that some people don't like this kind of approach, but it removes the ambiguity and clearly says what you mean.  It gives you the chance to attach qualifiers, like the date for which the URL applies, and has other potential useful characteristics.  That makes up for the fact that you have to have one or two additional triples compared with your example.

Cheers,

Tom P

PS - Topic maps handle this kind of situation pretty much like the above sketch, and for the same reasons - to remove as much ambiguity about the URI idenitifier as possible.  With TM, the relevant predicates and resources are built in.

Received on Tuesday, 22 June 2004 12:07:29 UTC