W3C home > Mailing lists > Public > public-lld@w3.org > August 2010

Re: RDA and ranges

From: Karen Coyle <kcoyle@kcoyle.net>
Date: Mon, 23 Aug 2010 07:04:05 -0700
Message-ID: <20100823070405.0xlfuvsxcowgs848@kcoyle.net>
To: Ross Singer <ross.singer@talis.com>
Cc: William Waites <ww-keyword-okfn.193365@styx.org>, Antoine Isaac <aisaac@few.vu.nl>, public-lld <public-lld@w3.org>
Quoting Ross Singer <ross.singer@talis.com>:

I did finally get a curl command to work (thanks to Owen), but the  
site below doesn't seem to have an http option. I will try rapper, out  
of curiosity. I think the lesson here is that the sites themselves  
need to give explicit instructions on how to access the RDF, and what  
return formats to expect.

I should mention that what I got back as rdf/xml did not validate at  
the w3c validator. This is where we can help each other out, doing  
testing for each other. (Folks put a lot of time into helping me with  
the OL RDF, without which it would not have been what it is.) I would  
like to make some of these outputs available for comparison so we can  
learn from each other. I see this as step 1 of developing some ideas  
around best practices.

kc

>
> In the end, though, I think having some way to do this in the browser
> (per Antoine's recommended extension) is the way to go, since most
> people A) have defaults to open URIs in a browser B) the cultural
> baggage to expect to do so (I know I do).
>
> This is what I find most maddening about Google Chrome, honestly.
>
> -Ross.
>
> On Sun, Aug 22, 2010 at 6:18 AM, William Waites   
> <william.waites@okfn.org> wrote:
>>  On 10-08-22 10:58, Antoine Isaac wrote:
>>>
>>>> I would like to give people actual commands they can execute. Is there
>>>> something other than curl? I'm afraid that's all I know to use.
>>>
>>
>> You can set the accept header with curl,
>>
>> curl -H "Accept: application/rdf+xml" ...
>>
>> Better, I think is rapper, the command that comes with the
>> raptor RDF parser/serialiser library is very convenient for
>> a first glance at things, particularly since it will follow 303
>> redirects and translate XML into something more readable:
>>
>> % rapper -o turtle http://nektar.oszk.hu/resource/manifestation/2645471
>> rapper: Parsing URI http://nektar.oszk.hu/resource/manifestation/2645471
>> with parser rdfxml
>> rapper: Serializing with serializer turtle
>> @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
>> @prefix dc: <http://purl.org/dc/elements/1.1/> .
>>
>> <http://nektar.oszk.hu/resource/manifestation/2645471>
>>    dc:creator <http://nektar.oszk.hu/resource/auth/33589>,
>> "Jókai Mór, (1825-1904)" ;
>>    dc:date "cop. 2006" ;
>>    dc:description """
>> Működési követelmények: Adobe Reader / MS Reader
>> """, "Főcím a címképernyőről", "Szöveg (pdf : 1.2 MB)
>> (lit : 546 KB)" ;
>>    dc:format "" ;
>>    dc:identifier "", "963-606-169-6 (pdf)", "963-606-170-X
>> (lit)" ;
>>    dc:language "hun" ;
>>    dc:publisher "Szentendre : Mercator Stúdió" ;
>>    dc:subject <http://nektar.oszk.hu/resource/auth/magyar_irodalom>,
>> "magyar irodalom" ;
>>    dc:title "Dekameron" ;
>>    dc:type "book", "elbeszélés", "elektronikus dokumentum", "no type
>> provided" .
>>
>> rapper: Parsing returned 19 triples
>>
>> (the funny character set stuff is an artefact of cut-and-paste
>> from a terminal I believe)
>>
>> HTH,
>> -w
>>
>> --
>> William Waites           <william.waites@okfn.org>
>> Mob: +44 789 798 9965    Open Knowledge Foundation
>> Fax: +44 131 464 4948                Edinburgh, UK
>>
>> RDF Indexing, Clustering and Inferencing in Python
>>                http://ordf.org/
>>
>>
>> Please consider the environment before printing this email.
>>
>> Find out more about Talis at http://www.talis.com/
>> shared innovation™
>>
>> Any views or personal opinions expressed within this email may not   
>> be those of Talis Information Ltd or its employees. The content of   
>> this email message and any files that may be attached are   
>> confidential, and for the usage of the intended recipient only. If   
>> you are not the intended recipient, then please return this message  
>>  to the sender and delete it. Any use of this e-mail by an   
>> unauthorised recipient is prohibited.
>>
>> Talis Information Ltd is a member of the Talis Group of companies   
>> and is registered in England No 3638278 with its registered office   
>> at Knights Court, Solihull Parkway, Birmingham Business Park, B37   
>> 7YB.
>>
>
>



-- 
Karen Coyle
kcoyle@kcoyle.net http://kcoyle.net
ph: 1-510-540-7596
m: 1-510-435-8234
skype: kcoylenet
Received on Monday, 23 August 2010 14:04:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:57 UTC