- From: Hugh Glaser <hugh@glasers.org>
- Date: Tue, 7 Feb 2017 12:36:53 +0000
- To: Miel Vander Sande <miel.vandersande@ugent.be>
- Cc: Tim Thompson <timathom@gmail.com>, Andy Mabbett <andy@pigsonthewing.org.uk>, Semantic Web Mailing List <semantic-web@w3.org>
Hi again, I think I could do with some help here (or at least advice!). (I'm keeping this on the list, as I think it is probably still of interest to some people - feel free to email me to tell us to take it off list.) So, following your pages, there seem to be quite a lot of options for me. The context: I have REST-like services that query based on a single (urlencoded) symbol/URI. For example http://differentfrom.org which can be invoked by http://differentfrom.org/symbols/http%3A%2F%2Fdata.ordnancesurvey.co.uk%2Fid%2F7000000000003822 and of course they do the conneg for rdf. So it seems to me that I need a simple proxy that wraps whatever I need around this. (I'm pretty sure I don't want to cache anything, such as tdt, since the underlying service is doing all the caching it can manage, so if the proxy is running on the same server, that would be a poor thing to do.) I can also invoke the service directly (in PHP), but that would simply be a call instead of the http GET. It seems to me that there must be a really lightweight solution to this? I guess I also need some hydra document(s) somewhere that describes the service. Is that roughly right? And if so, what is best? Cheers > On 6 Feb 2017, at 20:14, Miel Vander Sande <miel.vandersande@ugent.be> wrote: > > Hi Hugh, > >> On 06 Feb 2017, at 19:10, Hugh Glaser <hugh@glasers.org> wrote: >> >> I'm probably missing something, but don't I need a SPARQL endpoint for the TPF server? > > You certainly don’t; but you can, if you want. The TPF server publishes a datasource through a Web API that only accepts triple patterns. What type of datasource you use is up to you. > > We mostly use HDT (http://rdfhdt.org), because it is very compact and very performant for the TPF server. You can also use a SPARQL endpoint as datasource, but I wouldn’t recommend it. > > SPARQL queries are possible, but they are executed by the client. Check out http://client.linkeddatafragments.org/ for instance. It queries http://fragments.dbpedia.org/en by default, but this could be any other TPF interface. > > Cheers, > > Miel
Received on Tuesday, 7 February 2017 12:37:29 UTC