- From: Hugh Glaser <hg@ecs.soton.ac.uk>
- Date: Tue, 23 Apr 2013 20:23:00 +0000
- To: Kingsley Idehen <kidehen@openlinksw.com>
- CC: "<public-lod@w3.org>" <public-lod@w3.org>
Ah, thanks for the Web101 course. :-)
Sorry, I usually live in a Linked Data world, so I don't think about html stuff such as
<link rel="alternate" …
because (like the header) it doesn't appear in the RDF.
On 23 Apr 2013, at 20:54, Kingsley Idehen <kidehen@openlinksw.com>
wrote:
> On 4/23/13 3:39 PM, Hugh Glaser wrote:
>> Ah of course - thanks Mark, silly me.
>> So I look at the Link: header for something like
>> curl -L -i http://dbpedia.org/resource/Luton
>> Which gives me the information I want.
>>
>> Anyone got any offers for how I would use Linked Data to get this into my RDF store?
>
> Assuming I understand your question, the answer would depend on the capabilities of your RDF store. If it can injest RDF resource URLs you can request the formats exposed on the "Link:" responses. If it handles SPARQL 1.1 INSERT and/or LOAD just use SPARQL.
I don't think I can use the SPARQL INSERT, etc, because it isn't RDF.
Is the <link rel="alternate" available anywhere as RDF?
It could be returned with the RDF for http://dbpedia.org/resource/Luton
Better still, it could be available in the voiD description (so that it is site-oriented, not resource-oriented)?
Or somewhere else?
Cheers
>
>>
>> So then I can do things something like:
>> SELECT ?type ?source FROM { <http://dbpedia.org/resource/Luton> ?foo ?file . ?file ?type ?source . }
>> (I think).
>>
>> I suppose it would need to actually be returned from a URI at the site - I can't get a header as URI resolution - right?
>> And I would need an ontology?
>
> Links:
>
> 1. http://www.w3.org/TR/sparql11-update/#load
> 2. http://www.w3.org/TR/2010/WD-sparql11-update-20100126/#t413
>
> Kingsley
>>
>> Cheers.
>>
>> On 23 Apr 2013, at 19:49, Mark Baker <distobj@acm.org>
>> wrote:
>>
>>> On Tue, Apr 23, 2013 at 1:42 PM, Hugh Glaser <hg@ecs.soton.ac.uk> wrote:
>>>> On 22 Apr 2013, at 12:18, Phillip Lord <phillip.lord@newcastle.ac.uk> wrote:
>>>> <snip>
>>>>> We need to check for content negotiation; I'm not clear, though, how we
>>>>> are supposed to know what forms of content are available. Is there
>>>>> anyway we can tell from your website that content negotiation is
>>>>> possible?
>>>> Ah, and interesting question.
>>>> I don't know of any, but maybe someone else does?
>>> Client-side conneg, look for Link rel=alternate headers in response
>>>
>>> Server-side conneg, look for "Vary: Content-Type" in response
>>>
>>> Mark.
>>
>>
>>
>
>
> --
>
> Regards,
>
> Kingsley Idehen
> Founder & CEO
> OpenLink Software
> Company Web: http://www.openlinksw.com
> Personal Weblog: http://www.openlinksw.com/blog/~kidehen
> Twitter/Identi.ca handle: @kidehen
> Google+ Profile: https://plus.google.com/112399767740508618350/about
> LinkedIn Profile: http://www.linkedin.com/in/kidehen
>
>
>
>
>
Received on Tuesday, 23 April 2013 20:23:58 UTC