Osma,

Thanks for this suggestion. I'm now past my problem and fighting with reading 
the results of my query and formatting it the way I wanted.

<Aside>It might be worth adding a more complete example showing more parts of 
the problem and what is needed to really make it work.</Aside>

Dave Patterson

-----Original Message-----
From: Osma Suominen [mailto:[email protected]]
Sent: Monday, November 10, 2014 1:13 PM
To: [email protected]
Subject: Re: Fuseki and other web traffic

Hi Dave!

I think you need to pass the SPARQL query as the POST parameter "query".
In your code you have this line:

var jqXHR = $.post( url, q1 );

Change it to this:

var jqXHR = $.post( url, { query: q1 } );

At least that's how it should work according to the jQuery documentation
here: http://api.jquery.com/jquery.post/

-Osma


10.11.2014, 19:21, David Patterson kirjoitti:
> Andy, et. al.
>
> Thank you for your suggestion. I still don't get output back to my web page.
> On the command screen where I started Fuseki, however, I see:
>
> 11:59:44 INFO  [5] POST http://localhost:3030/aronat/query
> 11:59:44 INFO  [5] 400 SPARQL Query: No 'query=' parameter (4 ms)
>
> Any suggestions?
>
> Dave Patterson
>
>
>
> ________________________________
> This message and all attachments are PRIVATE, and contain information that is 
> PROPRIETARY to Intelligent Automation, Inc. You are not authorized to 
> transmit or otherwise disclose this message or any attachments to any third 
> party whatsoever without the express written consent of Intelligent 
> Automation, Inc. If you received this message in error or you are not willing 
> to view this message or any attachments on a confidential basis, please 
> immediately delete this email and any attachments and notify Intelligent 
> Automation, Inc.
>


--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist National Library of Finland P.O. 
Box 26 (Teollisuuskatu 23)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
[email protected]
http://www.nationallibrary.fi



________________________________
This message and all attachments are PRIVATE, and contain information that is 
PROPRIETARY to Intelligent Automation, Inc. You are not authorized to transmit 
or otherwise disclose this message or any attachments to any third party 
whatsoever without the express written consent of Intelligent Automation, Inc. 
If you received this message in error or you are not willing to view this 
message or any attachments on a confidential basis, please immediately delete 
this email and any attachments and notify Intelligent Automation, Inc.

Reply via email to