On Sunday, August 08, 2010 12:50:10 pm you wrote:
> Hello Richard,
> 
> On Fri, 2010-08-06 at 09:33 +0100, Richard Dale wrote:
> > 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 attached patch adds support for
> define output:format "NT"
> 
> to recent VOS releases/snapshots, and the feature will be in future
> releases of both VOS and Virtuoso Universal Server.
That's really good news! Thank you very much for the prompt feature addition. 
I'll try the patch today.

> > 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?
> 
> DBPedia runs plain Virtuoso, so it will work everywhere.
> The 'plain/text' was left undocumented intentionally, because there was
> some risk that the MIME will be replaced with something less generic.
> However the risk of change decreases gradually:
> IF (it's bad and it's not terribly bad and it's old) THEN that's tradition.
> 
> So maybe it's time to document that, thus making the tradition stronger :)
Yes, OK - I did do some searching for what mimetype triples were supposed to 
be, and couldn't find anything other than 'plain/text' being suggested. Good 
news all Virtuoso end points work like DBPedia though.

-- Richard

Reply via email to