[Virtuoso-users] Getting the RDF type information for SPARQL query result

2007-07-21 Thread Anton Krasovsky
Hi, I would like to ask for a bit of advice on how to get RDF type information for the SPARQL query result. Normally results of SPARQL query over ODBC connection are strings. I would like to find out their actual RDF types (iri, literal, etc). So far my approach was using output:format and par

[Virtuoso-users] SPARQL functions in SELECT clause

2007-07-21 Thread Anton Krasovsky
Hi, according to the docs it is possible to use expressions in SELECT clause. I'm trying to use some functions like isIRI(), isLiteral() but it does not always work. For example, while I can run this query: sparql select (isiri(?o)) where {?s ?p ?o}; These queries fail: sparql select (isiri