Eric

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>

Hope that helps

Bill


On 24 Jul 2009, at 01:03, Eric Lease Morgan 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.

I am well on my way to minting URIs and "cool" URLs, I think. For example:

* negotiation - http://infomotions.com/etexts/id/more-utopia-221
* RDF - http://infomotions.com/etexts/data/more-utopia-221
* HTML - http://infomotions.com/etexts/page/more-utopia-221

More importantly, I need to figure out how to make my RDF richer. Here is what I have so far for my local copy of Thomas More's Utopia:

<?xml version="1.0"?>
<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 ">
    <dcterms:creator>More, Thomas</dcterms:creator>
    <dcterms:date>0000-00-00</dcterms:date>
    <dcterms:identifier rdf:resource="more-utopia-221" />
    <dcterms:language>en</dcterms:language>
<dcterms:publisher>Wiretap Electronic Text Archive</ dcterms:publisher> <dcterms:rights>http://creativecommons.org/licenses/GPL/2.0/</ dcterms:rights> <dcterms:source rdf:resource="gopher://wiretap.spies.com:70/00/Library/Classic/utopia.txt " />
    <dcterms:subject>man</dcterms:subject>
    <dcterms:subject>people</dcterms:subject>
    <dcterms:subject>utopia</dcterms:subject>
    <dcterms:subject>english</dcterms:subject>
    <dcterms:subject>literature</dcterms:subject>
    <dcterms:title>Utopia</dcterms:title>
    <dcterms:type>text</dcterms:type>
<dcterms:isFormatOf rdf:resource="http://infomotions.com/etexts/literature/english/1500-1599/more-utopia-221.txt " /> <dcterms:isFormatOf rdf:resource="http://infomotions.com/etexts/concordance/more-utopia-221 " /> <dcterms:isFormatOf rdf:resource="http://infomotions.com/etexts/page/more-utopia-221 " />
  </rdf:Description>

</rdf:RDF>

Specifically, I need to know how to:

* specify that the title is the same as 
http://dbpedia.org/resource/Utopia_(book)
* specify the author is the same as http://dbpedia.org/resource/Thomas_More
* point the subject words to things like a linked data version of WordNet

Is most of this done by simply adding an owl:sameAs attribute to the appropriate element(s), like this:

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

or

<dcterms:creator owl:sameAs="http://dbpedia.org/resource/ Thomas_More">More, Thomas</dcterms:creator>

--
Eric Lease Morgan
Infomotions, Inc.





Reply via email to