W3C home > Mailing lists > Public > semantic-web@w3.org > November 2006

Re: First RDF - some basic questions

From: Richard Cyganiak <richard@cyganiak.de>
Date: Mon, 27 Nov 2006 22:05:19 +0100
Message-Id: <8538CF4A-0C83-4360-AB6B-39E0CBED1080@cyganiak.de>
Cc: semantic-web@w3.org
To: "Edward Bryant" <edward.bryant@gmail.com>

Hi Edward,

On 27 Nov 2006, at 21:16, Edward Bryant wrote:
> Specifically, I was unsure about (1) using a resource attrib. to  
> refer to the court websites,

Yes, it's the right way to do it.

I note that all the websites URLs and some other URIs in the snippets  
below have an extra space at the beginning or end, that's not allowed  
and will cause breakage. (Or is it just created by email formatting?)

> (2) the proper use of rdf:about vs rdf:ID,

rdf:ID="foo" is the same as rdf:about="#foo". It doesn't matter at  
all which you use. The important thing about an RDF/XML file is the  
triples which are encoded in the file, all the rest is basically  
"ugly whitespace". Unfortunately RDF/XML provides lots of different  
ways to encode the same triple.

Yours,
Richard


> (3) how to ensure that a  similar RDFs on U.S. courts haven't  
> already been created.
>
> Thanks for any help.
>
> --------------------
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>
> <rdf:RDF
>      xmlns="http://www.opengavel.com/ont/USFederalDistrictCourt.rdf#"
>      xmlns:rdf=" http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>      xmlns:daml="http://www.daml.ri.cmu.edu/ont/USRegionState.daml#">
>
> <USFederalDistrictCourt rdf:ID="DMe">
>   <FullName>U.S. District Court for the District of Maine</FullName>
>   <Abbreviation>D.Me.</Abbreviation>
>   <OGCode>030</OGCode>
>   <Circuit rdf:resource="http://www.opengavel.com/ont/ 
> USFederalCircuitCourt.rdf#1stcir" />
>   <daml:USState rdf:resource=" http://www.daml.ri.cmu.edu/ont/ 
> USRegionState.daml#ME" />
>   <Website rdf:resource="http://www.med.uscourts.gov/ " />
> </USFederalDistrictCourt>
>
>    * * *
>
> <USFederalDistrictCourt rdf:ID="DKan">
>   <FullName>U.S. District Court for the District of Kansas</FullName>
>   <Abbreviation>D. Kan.</Abbreviation>
>   <OGCode>480</OGCode>
>   <Circuit rdf:resource="http://www.opengavel.com/ont/ 
> USFederalCircuitCourt.rdf#10thcir" />
>   <daml:USState rdf:resource=" http://www.daml.ri.cmu.edu/ont/ 
> USRegionState.daml#KS" />
>   <Website rdf:resource="http://www.ksd.uscourts.gov/ " />
> </USFederalDistrictCourt>
>
> </rdf:RDF>
Received on Monday, 27 November 2006 21:05:51 GMT

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