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

2009-02-23 Thread Peter Ansell
M > Subject: Re: [Virtuoso-users] constructing URI's from literals > > 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

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

2009-02-16 Thread Kingsley Idehen
Peter Ansell wrote: - Original Message From: Kingsley Idehen To: Peter Ansell Cc: virtuoso-users@lists.sourceforge.net Sent: Tuesday, 17 February, 2009 12:25:17 AM Subject: Re: [Virtuoso-users] constructing URI's from literals Peter Ansell wrote: - Original Me

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

2009-02-16 Thread Peter Ansell
- Original Message > From: Kingsley Idehen > To: Peter Ansell > Cc: virtuoso-users@lists.sourceforge.net > Sent: Tuesday, 17 February, 2009 12:25:17 AM > Subject: Re: [Virtuoso-users] constructing URI's from literals > > Peter Ansell wrote: >

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

2009-02-16 Thread Kingsley Idehen
Peter Ansell wrote: - Original Message From: Kjetil Kjernsmo 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 Ansell wrote: Hi

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 { GRAPH

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 s

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

2009-02-16 Thread Peter Ansell
- Original Message > From: Kjetil Kjernsmo > 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 Ansell wrote: &

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

[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 { GRAPH { ?s ?p "http://purl.org/obo/owl/COG#COG_C"^^xsd:anyURI . } }