doh! I knew that ;-) Thanks Hugh for your timely and helpful reply as usual.
On Thu, Oct 8, 2009 at 11:44 AM, Hugh Williams <hwilli...@openlinksw.com> wrote: > Hi Kurt, > > When you query sparql endpoint http://virtuoso.dbtune.org/sparql it contains > the default graph URI of http://dbtune.org/myspace/ which you are not > including in your curl query as a result it is querying against the entire > QUAD stored or whatever the Default graph is set to in the Virtuoso > configuration file. If the default graph URI is added as a FROM clause in > your curl query then same result is returned: > > $ curl -v -F "query=SELECT ?s FROM <http://dbtune.org/myspace/> WHERE { > <http://dbtune.org/myspace/uid/170532611> <http://xmlns.com/foaf/0.1/name> > ?s }" http://virtuoso.dbtune.org/sparql > * About to connect() to virtuoso.dbtune.org port 80 (#0) > * Trying 138.37.95.213... connected > * Connected to virtuoso.dbtune.org (138.37.95.213) port 80 (#0) >> POST /sparql HTTP/1.1 >> User-Agent: curl/7.19.4 (universal-apple-darwin10.0) libcurl/7.19.4 >> OpenSSL/0.9.8k zlib/1.2.3 >> Host: virtuoso.dbtune.org >> Accept: */* >> Content-Length: 271 >> Expect: 100-continue >> Content-Type: multipart/form-data; >> boundary=----------------------------3e77c2b08543 >> > < HTTP/1.1 100 Continue > < HTTP/1.1 100 Continue > < HTTP/1.1 200 OK > < Date: Thu, 08 Oct 2009 10:39:17 GMT > < Server: Virtuoso/05.11.3039 (Linux) x86_64-unknown-linux-gnu > < Accept-Ranges: bytes > < Content-Type: application/sparql-results+xml; charset=UTF-8 > < Content-Length: 373 > < Connection: close > < > <sparql xmlns="http://www.w3.org/2005/sparql-results#" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.w3.org/2001/sw/DataAccess/rf1/result2.xsd"> > <head> > <variable name="s"/> > </head> > <results distinct="false" ordered="true"> > <result> > <binding name="s"><literal>CARLOS LYRA</literal></binding> > </result> > </results> > * Closing connection #0 > > Best Regards > Hugh Williams > Professional Services > OpenLink Software > Web: http://www.openlinksw.com > Support: http://support.openlinksw.com > Forums: http://boards.openlinksw.com/support > Twitter: http://twitter.com/OpenLink > > On 7 Oct 2009, at 18:19, Kurt J wrote: > >> here is the full result of the curl >> >> curl -v -F "query=SELECT ?s WHERE { >> <http://dbtune.org/myspace/uid/170532611> >> <http://xmlns.com/foaf/0.1/name> ?s }" >> http://virtuoso.dbtune.org/sparql >> * About to connect() to virtuoso.dbtune.org port 80 (#0) >> * Trying 138.37.95.213... connected >> * Connected to virtuoso.dbtune.org (138.37.95.213) port 80 (#0) >>> >>> POST /sparql HTTP/1.1 >>> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 >>> OpenSSL/0.9.7l zlib/1.2.3 >>> Host: virtuoso.dbtune.org >>> Accept: */* >>> Content-Length: 237 >>> Expect: 100-continue >>> Content-Type: multipart/form-data; >>> boundary=----------------------------bfd1b22d711d >>> >> < HTTP/1.1 100 Continue >> < HTTP/1.1 100 Continue >> < HTTP/1.1 502 Proxy Error >> < Date: Wed, 07 Oct 2009 17:00:44 GMT >> < Content-Length: 476 >> < Connection: close >> < Content-Type: text/html; charset=iso-8859-1 >> < >> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> >> <html><head> >> <title>502 Proxy Error</title> >> </head><body> >> <h1>Proxy Error</h1> >> <p>The proxy server received an invalid >> response from an upstream server.<br /> >> The proxy server could not handle the request <em><a >> href="/sparql">POST /sparql</a></em>.<p> >> Reason: <strong>Error reading from remote server</strong></p></p> >> <hr> >> <address>Apache/2.2.3 (CentOS) Server at virtuoso.dbtune.org Port >> 80</address> >> </body></html> >> * Closing connection #0 >> >> does this imply a funky Apache setting??? >> >> On Wed, Oct 7, 2009 at 4:59 PM, Kurt J <kur...@gmail.com> wrote: >>> >>> Hello, >>> >>> A user made me aware of this on the DBtune/myspace endpoint >>> http://virtuoso.dbtune.org/sparql >>> >>> this query: >>> >>> SELECT ?s WHERE { <http://dbtune.org/myspace/uid/170532611> >>> <http://xmlns.com/foaf/0.1/name> ?s } >>> >>> runs fine through the web interface but then seems to timeout in all >>> other instances: >>> >>> curl -v -F "query=SELECT ?s WHERE { >>> <http://dbtune.org/myspace/uid/170532611> >>> <http://xmlns.com/foaf/0.1/name> ?s }" >>> http://virtuoso.dbtune.org/sparql >>> >>> (times out) >>> >>> i've been neglecting this service for a while b/c we're waiting for a >>> new server w/ more space. we're running virtuoso 5.11 >>> >>> thanks! >>> >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Virtuoso-users mailing list >> Virtuoso-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/virtuoso-users > >