do you have an example for running a federated SPARQL query (using http://sparql.org/sparql.html)? I got an HTTP 400 error always. My queries a running well when I use a different tool such as SPARQLDroid.


the error message is "Error 400: Failed to load URL (parse error) http://lod.pfitzners.info/SalesOrderSearch_small.rdf : {E213} Operation not permitted". I would like use the general purpose SPARQL service to run queries an data located in an webserver without a SPARQL endpoint. I think this is not possible but I want to provide the RDF data only. The query I use:

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX sapSLO: <http://sap.com/xi/AP/CRM/Global/SalesOrder/>
PREFIX sapAddrSnpsht: <http://sap.com/xi/AP/FO/Address/Global/AddressSnapshot/>
PREFIX sapParty: <http://sap.com/xi/AP/FO/Party/Global/Party/>
PREFIX sapUsdAddr: <http://sap.com/xi/AP/FO/UsedAddress/Global/UsedAddress/>

SELECT ?NetAmount ?TotalValues ?ProcessingTypeCode ?RootID ?OrderID
 FROM <http://lod.pfitzners.info/SalesOrderSearch_small.rdf>

?TotalValues sapSLO:NetAmount ?NetAmount.
?TotalValues sapSLO:ParentID ?Parent.
?Parent sapSLO:ProcessingTypeCode ?ProcessingTypeCode.
    ?TotalValues sapSLO:RootID ?RootID.
?RootID sapSLO:ID ?OrderID.
    FILTER (?NetAmount >= "150.00"^^xsd:decimal)
ORDER BY (?NetAmount)

asked 21 Feb '13, 10:14

Ingo_'s gravatar image

accept rate: 0%

edited 25 Feb '13, 11:07

Jeen%20Broekstra's gravatar image

Jeen Broekstra ♦


No details of the query. No details of how teh query is being made (UI? Code?) 400 is a syntax error.

(21 Feb '13, 14:44) AndyS ♦ AndyS's gravatar image

@Ingo_, please do not provide additional information as an answer, instead edit your question to add more info, or use comments. I have modified it for you this time around.

(25 Feb '13, 11:08) Jeen Broekstra ♦ Jeen%20Broekstra's gravatar image

http://sparql.org/sparql.html is the web page for the endpoint not the actual endpoint

If you actually go to that page and submit a query it submits to http://sparql.org/sparql so that is the endpoint URL you need to be using.

If you still get errors then as @AndyS suggests you likely have an error in your query.

permanent link

answered 21 Feb '13, 18:02

Rob%20Vesse's gravatar image

Rob Vesse ♦
accept rate: 29%


This is not the problem. I've tested this service with many valid queries, tweaking the options in all possible ways, and I always get a 400 or a 404.

(23 Feb '13, 08:37) Antoine Zimm... ♦ Antoine%20Zimmermann's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 21 Feb '13, 10:14

question was seen: 1,169 times

last updated: 25 Feb '13, 11:08