Hi,

I am using SPARQL qury results to render Google visualisation.I used
following tutorial to determine how I can convert the result to google
JSON format, and was able to run it for all samples given in the
tutorial.
http://data-gov.tw.rpi.edu/wiki/How_to_render_SPARQL_results_using_Google_Visualization_API

However , I have implemented a local triple store on my computer and a
SPARQL endpoint for that. Now when I try to send the query against
that end point to this function, I dont get any visualisation and
instead get a time out error. Is it because I am running it on my
local system?If yes then How can i run it on my local machine.

function drawVisualization() {
      var query = new google.visualization.Query(
          'http://localhost:8890/sparql?default-graph-uri=http%3A%2F
%2Fmytest.com&should-sponge=grab-everything&query=prefix+rdf%3A+++++++
%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+%0D
%0Aprefix+rdfs%3A++++++%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-
schema%23%3E+%0D%0Aprefix+foaf%3A++++++%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf
%2F0.1%2F%3E+%0D%0Aprefix+dgp353%3A++++%3Chttp%3A%2F%2Fdata-
gov.tw.rpi.edu%2Fvocab%2Fp%2F32%2F%3E%0D%0A%0D%0Aselect+%3Fregion++
%3Fmagnitude%0D%0A+{%0D%0A+%3Fs+%0D%0A%09dgp353%3Aregion++%3Fregion++
%3B%0D%0A+%09dgp353%3Amagnitude+%3Fmagnitude.%0D%0A+}%0D%0A%0D%0AORDER
+by+%3Fregion&debug=on&xslt-uri=http://www.jenitennison.com/
visualisation/data/SRXtoGoogleVisData.xsl');


      // Send the query with a callback function.
      query.send(handleQueryResponse);
    }


Please help!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to