[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

Re: [Virtuoso-users] Server restart and output:format inconsistency

2007-07-10 Thread Anton Krasovsky
Thanks guys for your excellent support! Regards, Anton Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222

[Virtuoso-users] Server restart and output:format inconsistency

2007-07-09 Thread Anton Krasovsky
Hi, I just noticed that when running SPARQL query with output:format (TTL or RDF/XML it does not matter) setting, immediately after the server restart, query results are always returned in the valmode LONG format. Subsequent queries (if made on different connection) are OK. For example: # /etc/i

Re: [Virtuoso-users] Virtuoso 5.0.1 and iODBC

2007-06-14 Thread Anton Krasovsky
Hi Patrick! Thanks for your help, I've rebuild it according to instructions and got it running fine. The one more thing I had to do is to comment out struct pgm_info program_info in binsrc/maildrop/odbc_mail.c. Regards, Anton --- Virtuoso Maintainer wrote: > Hi Anton, > > > I'm upgrading f

[Virtuoso-users] Virtuoso 5.0.1 and iODBC

2007-06-12 Thread Anton Krasovsky
Hi, I'm upgrading from Virtuoso 5.0.0 to 5.0.1, to use it with Python + PyODBC + iODBC. Unfortunately after the upgrade my Python application fails to connect with the error message: [0] [iODBC][Driver Manager]/usr/local/virtuoso/lib/virtodbcu_r.so: undefined symbol: program_info (0); [IM003

Re: [Virtuoso-users] Inference and isBlank() test

2007-04-26 Thread Anton Krasovsky
I can't > promise you any detailed results or patches before > next week. > > Best Regards, > IvAn Mikhailov. > > -Original Message- > From: virtuoso-users-boun...@lists.sourceforge.net > [mailto:virtuoso-users-boun...@lists.sourceforge.net] > On Behalf Of

[Virtuoso-users] Inference and isBlank() test

2007-04-25 Thread Anton Krasovsky
produced 9 results, including this one: nodeID://110033 Shouldn't this be the result of the first query? Regards, Anton Krasovsky __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com test.ow

[Virtuoso-users] RDF_GLOBAL_RESET() breaks inference

2007-04-22 Thread Anton Krasovsky
Hi Guys, trying to use new inference feature, I've found that it stops working after I call RDF_GLOBAL_RESET() which I use for cleanup in few test scripts. BTW, is there any examples for "SPARQL Inserts, Updates, and Deletions"? Regards, Anton __

Re: [Virtuoso-users] ODBC, Python and Unicode

2007-04-17 Thread Anton Krasovsky
Hi Patrick, versions are as follows: OpenSUSE 10.2 Virtuoso 5.0 pyodbc 2.0.35 with your patch iODBC 3.52.5 with your patch Python 2.5 Also, I had to patch pyodbc/cursor.cpp line 575 and 611 changing SQLINTEGER to SQLLEN to build it with iODBC. Regards, Anton --- Patrick van Kleef wrote:

Re: [Virtuoso-users] ODBC, Python and Unicode

2007-04-17 Thread Anton Krasovsky
Hi Patrick! thanks for your fixes, especially for doing extra work finding the problem in pyodbc. BTW are you going to contact pyodbc's author to submit this patch? I've applied the patches, and I can run my non-unicode queries with virtodbc32u_r.so fine now. However, running the pyodbctests.py

Re: [Virtuoso-users] ODBC, Python and Unicode

2007-04-03 Thread Anton Krasovsky
he cause of > the problem > > Regards, > Hugh > > > On 2/4/07 23:39, "Anton Krasovsky" > wrote: > > > Hi Hugh, > > > > I tried to do some tests, and found that pyodbc > when > > used with virtodbc32u_r.so fails to execute any >

Re: [Virtuoso-users] ODBC, Python and Unicode

2007-04-02 Thread Anton Krasovsky
st Regards, > Hugh Williams > Professional Services > OpenLink Software > Web: http://www.openlinksw.com > Universal Data Access & Data Integration Technology > Providers > > On 2/4/07 11:24, "Anton Krasovsky" > wrote: > > > Hi, > > > > y

[Virtuoso-users] ODBC, Python and Unicode

2007-04-02 Thread Anton Krasovsky
Hi, yesterday I tried to do few simple tests saving python unicode string as RDF literals in Virtuoso, but with no success. So I wonder if there is any existing guide on setting system up for Unicode support? What db driver should I use mxODBC or pyodbc? What ODBC manager unixODBC or iODBC? What

Re: [Virtuoso-users] Licensing (Was: Virtuoso Open Source Editionand distributed SPARQL queries)

2007-03-30 Thread Anton Krasovsky
Thanks! Tell us more about coming (after 5.0, is it?) inference support? Regards, Anton --- imikhailov wrote: > Emile, > > > Any news on the new Virtuoso version? The VOS > site hasn't been updated in > a while. > > Version 5.0 is now under final automated testing so > I hope it will be >

Re: [Virtuoso-users] FW: [Virtuoso-devel] RDF_GLOBAL_RESET() Stack overflow

2006-12-04 Thread Anton Krasovsky
ild required). > This is fixed few weeks ago but it's still on its > way to 'clean' tree of > Virtuoso Open Source. > > Best Regards, > IvAn Mikhailov. > > -Original Message- > From: virtuoso-devel-boun...@lists.sourceforge.net > [mailto:virtuoso

Re: [Virtuoso-users] Virtuoso RDF API and bnodes

2006-11-01 Thread Anton Krasovsky
Thanks a lot for a great reply! Regards, Anton --- imikhailov wrote: > Hello Anton, > > There's no really convenient way, because the bnode > usually appears in more > than one insert statement and there should be a way > of remembering them > between calls. > === message truncated ===

[Virtuoso-users] Virtuoso RDF API and bnodes

2006-10-27 Thread Anton Krasovsky
Hi, is there any way to programmatically insert triples containing bnodes into the store? Something similar to DB.DBA.RDF_QUAD_URI(...)? Regards, Anton __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail

Re: [Virtuoso-users] Importing RDF via WebDAV

2006-10-26 Thread Anton Krasovsky
Hi Jeff, have a look here: http://docs.openlinksw.com/virtuoso/rdfapiandsql.html Section: 14.2.2.1 Data Import you should be able to import your data using command line tool 'isql'. BTW, I suspect there may be a bug related to RDF import (or maybe I did something wrong), I had better results i

[Virtuoso-users] GNU Readline support for isql

2006-08-17 Thread Anton Krasovsky
It would be very nice to see GNU Readline support added to isql in the future releases of Virtuoso. Current input line editing is not very convenient. Regards, anton __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

[Virtuoso-users] Removing triples from store

2006-08-03 Thread Anton Krasovsky
Hi, Is there any examples using RDF_DELETE_TRIPLES? I'm looking for API to add/remove individual triples from store, so far I was able to add triples using RDF_QUAD_URI/RDF_QUAD_URI_L but its a bit unclear how to remove triples. Regards, Anton __

[Virtuoso-users] Problem with RDF_INSERT_TRIPLES/RDF_DELETE_TRIPLES

2006-08-01 Thread Anton Krasovsky
Hi guys! I was playing with SPARQL and triple store functionality of virtuoso, and hit a problem using RDF_DELETE_TRIPLES function, calling it causes an error: SR185: Undefined procedure isiri. It looks like both RDF_INSERT_TRIPLES and RDF_DELETE_TRIPLES use isiri() function when they should be