Re: [Virtuoso-users] ODBC seems very complicated..

2010-08-05 Thread Sebastian Trüg
use Soprano instead. :) http://soprano.sf.net unless you are scared of Qt. On 08/05/2010 06:12 PM, Matthew Tedder wrote: > Ok, > > > > So I’ve been reading up on unixODBC. I cannot use the GUI tools > since the server is headless.. So I referred to: > http://www.unixodbc.org/odbcinst.htm

Re: [Virtuoso-users] Missing Incoming links

2010-08-05 Thread Kingsley Idehen
Boris Villazón-Terrazas wrote: Dear Kingsley Thanks for your answer. Applying the CBD option evertything is ok,e.g.: DEFINE sql:describe-mode "CBD" describe The next question is if we can configure the CBD option "by default" for the SPARQL

Re: [Virtuoso-users] Non-PDO Failed Query Attempt

2010-08-05 Thread Matthew Tedder
Ted, I tried using SELECT * FROM studies.studies And now SELECT * FROM studies..studies But it gives the error: Warning: odbc_exec(): SQL error: [unixODBC][OpenLink][Virtuoso iODBC Driver][Virtuoso Server]SQ074: Line 1: syntax error, SQL state 37000 in SQLExecDirect in /var/www/stu

[Virtuoso-users] ODBC seems very complicated..

2010-08-05 Thread Matthew Tedder
Ok, So I've been reading up on unixODBC. I cannot use the GUI tools since the server is headless.. So I referred to: http://www.unixodbc.org/odbcinst.html It seems to say I need /etc/odbc.ini but also /etc/odbcinst.ini and a "template" file somewhere that looks almost just like /etc/o

[Virtuoso-users] Failed Query Attempts Using PHP PDO & Non-PDO

2010-08-05 Thread Matthew Tedder
Previous help on this list got me almost going (I think). But here's where I am. My PDO Attempts: I am getting a PDO object returned but attempts at using it to make queries seem to fail without any error. That is, the $rs object print_r's nothing.. not even null.

Re: [Virtuoso-users] Non-PDO Failed Query Attempt

2010-08-05 Thread Ted Thibodeau Jr
Hi, Matthew -- On Aug 5, 2010, at 11:10 AM, Matthew Tedder wrote: > Here's my PHP code: > > > > $dbc = odbc_connect('virtuoso','dba','dba'); > if(!$dbc) { exit("Failed!"); } > > odbc_exec($dbc,"USE studies;"); This suggests that you have create a catalog, studies.. (parallel to the default

[Virtuoso-users] Non-PDO Failed Query Attempt

2010-08-05 Thread Matthew Tedder
Here's my PHP code:

[Virtuoso-users] Failed Attempts at Using PHP PDO

2010-08-05 Thread Matthew Tedder
Previous help on this list got me almost going (I think). But here's where I am. I am getting a PDO object returned but attempts at using it to make queries seem to fail without any error. That is, the $rs object print_r's nothing.. not even null. So I don't understand this. Here's the SQL

Re: [Virtuoso-users] Missing Incoming links

2010-08-05 Thread Boris Villazón-Terrazas
Dear Kingsley Thanks for your answer. Applying the CBD option evertything is ok,e.g.: DEFINE sql:describe-mode "CBD" describe The next question is if we can configure the CBD option "by default" for the SPARQL DESCRIBE? how can we do this?