Re: [Virtuoso-users] Searching for dates with bif:contains?

2011-02-07 Thread Rumi Tsekova
Hi Vanessa, To find all dates starting with 1945, the query could be changed to: SELECT DISTINCT ?s ?date FROM WHERE { ?s ?p ?date . FILTER( bif:contains(?date, '"1945*"' ) && ( str(?p) != rdfs:label)) } LIMIT 30 You can also use date range. See example at http://v

[Virtuoso-users] Problem with SELECT query for datatype property and also with bif:contains

2011-02-07 Thread Konrad Hoeffner
Dear Virtuoso Community, I am using the DBpedia SPARQL endpoint http://dbpedia.org/sparql which is using Virtuoso SPARQL and I can't seem to get a result for some select queries with data type properties (which are not strings). An example: The city http://dbpedia.org/resource/Benidoleig ha

Re: [Virtuoso-users] Security restrictions - How to display only some information from an RDF?

2011-02-07 Thread Kingsley Idehen
On 2/7/11 11:27 AM, Leyla Jael García Castro wrote: Thanks Ivan, I will check to link you sent me, that would work for the medical information case. As for the papers scenario, we would have to build a query build on top of Virtuoso. Think about Named Graphs as View mechanisms. You can make

Re: [Virtuoso-users] Security restrictions - How to display only some information from an RDF?

2011-02-07 Thread Leyla Jael García Castro
Thanks Ivan, I will check to link you sent me, that would work for the medical information case. As for the papers scenario, we would have to build a query build on top of Virtuoso. Cheers, Leyla On Mon, Feb 7, 2011 at 4:16 PM, Ivan Mikhailov wrote: > Hello Leyla, > > Virtuoso supports graph-le

Re: [Virtuoso-users] Security restrictions - How to display only some information from an RDF?

2011-02-07 Thread Ivan Mikhailov
Hello Leyla, Virtuoso supports graph-level security, as described in http://docs.openlinksw.com/virtuoso/rdfgraphsecurity.html but not subject-level or predicate-level, so if the application should keep some properties private it should keep their triples in an isolated private graph. If a user h

Re: [Virtuoso-users] Converting datatypes in Sparql

2011-02-07 Thread Ivan Mikhailov
Hello Laure, Please use functions xsd:double, xsd:float, xsd:integer etc. Best Regards, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com On Sat, 2011-02-05 at 02:49 +0100, Laure Mina wrote: > Hi, > > Is it possible to convert between datatypes using SPARQL in > virtuoso ? > I