On Tue, Oct 26, 2010 at 11:56:26AM +0100, Hugh Williams wrote:
>
> [Hugh] It is unclear as to what the problem is, can you please
> provide a sample SPARQL query and Dataset to demonstrate the
> problem ?
Any query, without valmode: "LONG" the datatypes of the returned
values from, e.g.
SQLGetDescField(hdesc, column, SQL_DESC_COL_DV_TYPE, &dvtype,
SQL_IS_INTEGER, NULL);
seems to always be VIRTUOSO_DV_STRING. Which means for IRIs
I have to do a second query with __ro2sq to resolve them to
their string representation...
> [Hugh] The attached source file is the module development
> wrote for our Redland RDF Provider [1], which uses these
> ODBC extensions, and shows how this can be done:
Ok, that's clear enough. Need to do a second API call when
we find a date to find out what kind of date or time it is.
Cheers,
-w