I cannot run a SPARQL request against the Drupal installation endpoint (at /sparql), as it returns a text/html response. Yet the application adds meta data to the header of the front page of the site pointing to the sparql endpoint.

There is no documentation in how to use the Sparql endpoint as an endpoint.

Comments

student297’s picture

hi, r u able to work with sparql endpoint?, i am stuck at entering endpoint url? Can u tell me what is endpoint url?

jwarner’s picture

Check out http://semanticweb.org/wiki/SPARQL_endpoint for a description of what endpoint URLs do.

"A SPARQL endpoint enables users (human or other) to query a knowledge base via the SPARQL language. Results are typically returned in one or more machine-processable formats."

Also, http://drupal.org/node/340585 helped me get started with RDF and SPARQL in Drupal.

jpdecle’s picture

Version: 6.x-1.0-alpha1 » 7.x-2.x-dev
Component: Code » SPARQL Endpoint
Assigned: Unassigned » jpdecle
Category: bug » support

When I try SPARQL Endpoint , I am redirected to the home page of my site.
SPARQL API, SPARQL Endpoints Registry and SPARQL Endpoint are enabled (7.x-2.0-alpha3. Same problem with 7.x-2.x-dev).
I have this problem with a local host and wampserver 2.
Same installation works OK with a local host and xampp.
Doesn't work with a distant host.

Somebody has any clue?
Thanks for the help.

scor’s picture

Status: Active » Closed (won't fix)

please see #1202570: SPARQL Endpoint requires clean URLs.

closing this since it was a 6.x, which is not supported any more.

jpdecle’s picture

Thanks for your help.
It works, now!