[Virtuoso-users] constructing URI's from literals

2009-02-16 Thread Peter Ansell
Hi, Is there anyway with SPARQL and Virtuoso to create a URI in a result when it is stored as a literal in the triplestore? An example query of the relevant data is: SELECT * WHERE { GRAPHhttp://purl.org/science/graph/obo/COG2GO { ?s ?p http://purl.org/obo/owl/COG#COG_C^^xsd:anyURI . } }

Re: [Virtuoso-users] constructing URI's from literals

2009-02-16 Thread Kjetil Kjernsmo
On Monday 16 February 2009 06:23:59 Peter Ansell wrote: Hi, Is there anyway with SPARQL and Virtuoso to create a URI in a result when it is stored as a literal in the triplestore? I don't know if Virtuoso has something, but looking at http://www.w3.org/TR/rdf-sparql-query/#FunctionMapping

Re: [Virtuoso-users] constructing URI's from literals

2009-02-16 Thread Kjetil Kjernsmo
On Monday 16 February 2009 11:47:02 Peter Ansell wrote: I was hoping that wasn't the only case and that there was a virtuoso extension to allow people to do the reverse if it is reasonable. The resulting URI would only be used in the output, ie, not in a further graph match, so it doesn't

Re: [Virtuoso-users] constructing URI's from literals

2009-02-16 Thread Ivan Mikhailov
Hello Peter, Is there anyway with SPARQL and Virtuoso to create a URI in a result when it is stored as a literal in the triplestore? Virtuoso has built-in function iri() that is similar to str() but produce an IRI. An example query of the relevant data is: SELECT * WHERE {

Re: [Virtuoso-users] XPATH/XSLT on sponged RDFa

2009-02-16 Thread Kingsley Idehen
Jem Rayfield wrote: Hi Kingsley, I want to push content into Virtuoso via HTTP rather than a crawl mechanism. I don't think the content crawler is what I am after. Yes. When you PUT data into Virtuoso, sponging can occur, it depends on where you PUT the data :-) Our content gets created

Re: [Virtuoso-users] constructing URI's from literals

2009-02-16 Thread Kingsley Idehen
Peter Ansell wrote: - Original Message From: Kjetil Kjernsmo kjetil.kjern...@computas.com To: virtuoso-users@lists.sourceforge.net Sent: Monday, 16 February, 2009 6:01:17 PM Subject: Re: [Virtuoso-users] constructing URI's from literals On Monday 16 February 2009 06:23:59 Peter

[Virtuoso-users] HTTP proxy

2009-02-16 Thread Jem Rayfield
Hi, I am having problems sponging external data as my virtuoso instance is behind a SOCKs proxy. Thus I keep seeing results such as -- $ curl -H Accept: text/xml http://localhost:8890/about/rdf/http://www.freebase.com/view/en/barack_ obama !DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN html head

Re: [Virtuoso-users] HTTP proxy

2009-02-16 Thread Jem Rayfield
On unix/cygwin I would usually use something like -- $ echo $http_proxy http://XXX-XXX.XXX.bbc.co.uk:80 Thus tools such as curl etc use the SOCKs proxy. I am running virtuoso on windows and was wondering if there is a similar environment var I need to set in order that virtuoso uses a proxy? Or

Re: [Virtuoso-users] HTTP proxy

2009-02-16 Thread Kingsley Idehen
Jem Rayfield wrote: Hi, I am having problems sponging external data as my virtuoso instance is behind a SOCKs proxy. Thus I keep seeing results such as -- $ curl -H Accept: text/xml _http://localhost:8890/about/rdf/http://www.freebase.com/view/en/barack_obama_; !DOCTYPE HTML PUBLIC