Re: [Virtuoso-users] Regex-based renaming of graphs

2011-05-26 Thread Alexandre Passant
Hi, Based on your two answers, I guess I have to run the following UPDATE DB.DBA.RDF_QUAD set g = iri_to_id( regexp_replace(id_to_iri(g), '/foo/', '/bar/') ) where g = iri_to_id( regexp_match('/foo/', id_to_iri(g)) ); Right ? Yet, I'm not sure I understand the second part of [1] "

Re: [Virtuoso-users] Regex-based renaming of graphs

2011-05-26 Thread Ivan Mikhailov
Alexandre, I've posted a procedure to find all distinct predicates that start with some specified substring. It's trivial to turn it into a procedure to list all distinct graphs with same filtering and make an update based on th results. Best Regards, Ivan Mikhailov OpenLink Software http://virt

Re: [Virtuoso-users] bif:contains for predicate values

2011-05-26 Thread Ivan Mikhailov
Hello Percy, Wed, 2011-05-25 at 13:47 -0300, Percy Enrique Rivera Salas wrote: > Hello everyone > > I would like to know if virtuoso have a function similar to > bif:contains, for predicate values. > > Your request is the first one, so there was no need before and hence no such feature. It is t

Re: [Virtuoso-users] Virtuoso sparql endpoint - setup for external access

2011-05-26 Thread Andreas Radinger
Hi Robert, the SPARQL endpoint must support CORS. Cross-Origin Resource Sharing (CORS) is a mechanism intended to enable safer client-side cross-origin requests, primarily focused on data. You can easily enable CORS in Virtuoso 6.1.3 following the guide at [

Re: [Virtuoso-users] Virtuoso sparql endpoint - setup for external access

2011-05-26 Thread Robbet
Hi Hugh, unfortunately still no result. Maybe the dbpedia endpoint returns results in a more compatible format so it can be processed by rdf-spark? It seems to work also for http://lod.openlinksw.com/sparql , http://uriburner.com/sparql/ but not for http://s

Re: [Virtuoso-users] Virtuoso sparql endpoint - setup for external access

2011-05-26 Thread Hugh Williams
Hi Robbet, My server was down this afternoon as I had modem problems, it is back online so try it again ... Best Regards Hugh Williams Professional Services OpenLink Software Web: http://www.openlinksw.com Support: http://support.openlinksw.com Forums: http://boards.openlinksw.com/support Twitte