I would like to be able to get results from CONSTRUCT or DESCRIBE queries over ODBC as NTriples. At present it is only possible to get the results in RDF/XML or TURTLE by specifying them in the query with output:format:
define output:format "RDF/XML" define output:format "TURTLE" The reason is that RDF/XML and TURTLE are harder to parse, and I would probably need to use the Redland parsers. But that would mean I would have a dependency on the Redland libs, which I'd rather avoid. For NTriples, I've already written a simple parser that I can use. The Virtuoso manual doesn't include 'plain/text' as a mime type that can be specified in the ACCEPT HTTP header for CONSTRUCT queries, but I've found that DBPedia will return NTriples for plain/text requests. Is that a special feature of DBPedia, or can I assume that all queries to Virtuoso SPARQL endpoints will work that way? -- Richard
