Hello,

I am using the web.rya (3.2.10-RC-1)  ReST endpoint /queryrdf and would like to 
receive my results formatted in  rdf/xml vice rdf-sparql-XMLres / 
sparql11-results-json.

Looking over RDFController, looks like I want to get into the 'if (operation 
instanceof ParsedGraphQuery) {' path.   However, so far as I can tell, the 
operation type is not based on the query content or manipulated by any 
parameter passed into the service.   It appears that it is simply pulling from 
a query parser registry using QueryLanguage.SPARQL as its key.

To change this behavior, should I be adding a file to META-INF/services in the 
web.rya war to register 'ParsedGraphQuery' with the QueryLanguage.SPARQL key?  
( effectively overriding the default behavior of using ParsedTupleQuery )   Or 
am I missing something?

Thanks in Advance.

Brendan



Reply via email to