W3C home > Mailing lists > Public > public-lod@w3.org > July 2009

Re: owl:sameAs

From: Eric Lease Morgan <eric_morgan@infomotions.com>
Date: Mon, 27 Jul 2009 09:54:19 -0400
Message-Id: <2383B68A-7B94-4871-8A65-BA37C615DFCA@infomotions.com>
To: public-lod@w3.org

On Jul 25, 2009, at 5:09 AM, Bill Roberts wrote:

>> I would like to make my Alex Catalogue more accessible as linked  
>> data, but I need some help in regards to the syntactical use of  
>> owl:sameAs.
>
> Simply use owl:sameAs like you would any other property.  The object  
> of the triple is the URI you want to say refers to the same thing.  So
>
>  <rdf:Description rdf:about="http://infomotions.com/etexts/id/more-utopia-221 
> >
>     <owl:sameAs resource="http://dbpedia.org/resource/Utopia_(book)">
>  </rdf:Description>


Thank you for the prompt reply, but I still need some additional help  
regarding syntax.

My goal is to link my resources as well as literals to outside  
resources. To link my books to additional versions of the books seems  
easy. Either of the following two example validate, but the later --  
with an attribute -- seems simpler:

<rdf:RDF
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dcterms="http://purl.org/dc/terms/"
   xmlns:owl="http://www.w3.org/2002/07/owl#">

   <rdf:Description rdf:about="http://infomotions.com/etexts/resource/more-utopia-221 
">
     <dcterms:creator>More, Thomas</dcterms:creator>
     <dcterms:subject>people</dcterms:subject>
     <dcterms:subject>pleasure</dcterms:subject>
   </rdf:Description>

   <rdf:Description rdf:about="http://infomotions.com/etexts/resource/more-utopia-221 
">
     <owl:sameAs rdf:resource="http://dbpedia.org/resource/ 
Utopia_(book)" />
   </rdf:Description>

</rdf:RDF>


<rdf:RDF
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dcterms="http://purl.org/dc/terms/"
   xmlns:owl="http://www.w3.org/2002/07/owl#">
   <rdf:Description rdf:about="http://infomotions.com/etexts/id/more-utopia-221 
">
     <owl:sameAs rdf:resource="http://dbpedia.org/resource/ 
Utopia_(book)" />
     <dcterms:creator>More, Thomas</dcterms:creator>
     <dcterms:subject>people</dcterms:subject>
     <dcterms:subject>pleasure</dcterms:subject>
   </rdf:Description>
</rdf:RDF>


I suppose it is six of one and half a dozen of the other.

More importantly, how do link the creator and subject literals to  
outside resources? Adding owl:sameAs proves to invalidate the dcterms  
schema. Maybe I need to create local resources for each of my creators  
and subjects, and then link those to outside resources?

-- 
Eric Morgan
Received on Monday, 27 July 2009 13:55:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:20:51 UTC