All:

   Probably a dumb silly question.   I am looking to hook RYA up to with the d3sparql.js (http://biohackathon.org/d3sparql/) library for visualization of the output.  That library expects JSON as input.  It also expects to append ?query=<sparqlquery> to the end of the specified rest endpoint.    In testing on their demo page I can specify my endpoint and a query and from the logs the query runs, however, the JSON parsing barfs because the default output is XML.  If in my browser debugger I hack
in "query.resultformat=json&" into the url it works just fine.

Is there a way to set this in one of the spring configuration files as the default return format?   I tried setting it a couple of different ways in the spring-accumulo.xml  but that gets an unwritable parameter error.

I am probably just missing something stupid as I am not very familiar with spring.

Thanks.

--
========= mailto:db...@incadencecorp.com ============
David W. Boyd
VP,  Data Solutions
10432 Balls Ford, Suite 240
Manassas, VA 20109
office:   +1-703-552-2862
cell:     +1-703-402-7908
============== http://www.incadencecorp.com/ ============
ISO/IEC JTC1 WG9, editor ISO/IEC 20547 Big Data Reference Architecture
Chair ANSI/INCITS TC Big Data
Co-chair NIST Big Data Public Working Group Reference Architecture
First Robotic Mentor - FRC, FTC - www.iliterobotics.org
Board Member- USSTEM Foundation - www.usstem.org

The information contained in this message may be privileged
and/or confidential and protected from disclosure.
If the reader of this message is not the intended recipient
or an employee or agent responsible for delivering this message
to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication
is strictly prohibited.  If you have received this communication
in error, please notify the sender immediately by replying to
this message and deleting the material from any computer.

Reply via email to