Is there a way to automatically distinguish SPARQL endpoint and LDF server?

Hi,

Is there a way (more reliable than the one described below) to
distinguish SPARQL endpoint and LDF server based on URL or an response
to a request sent to this URL?

One heuristic which could help is the status code of the response to a
request with empty query parameter. If the server responded with 5xx
or 4xx code then it's a SPARQL endpoint, because it expects non-empty
query parameter. But this *hack* was tested only with DBpedia
(http://dbpedia.org/sparql?query=) and FOODpedia
(http://foodpedia.tk/sparql?query= and
http://data.foodpedia.tk?query=).

Thank you in advance!
Maxim Kolchin
PhD Student @ ITMO University (National Research University)
E-mail: kolchinmax@gmail.com
Tel.: +7 (911) 199-55-73
Homepage: http://kolchinmax.ru

Received on Friday, 21 August 2015 18:19:07 UTC