Re: [Virtuoso-users] Loops and conditionals with SPARQL

2009-11-30 Thread Ivan Mikhailov
Hello Leyla, Maybe I've missed something but the query yon need does not require even using subqueries, just a plain SPARQL: SELECT * WHERE { ?sub xxx:hasPrice ?obj, ?obj1 . ?obj xxx:hasMinPrice ?min . ?obj xxx:hasMaxPrice ?max . ?obj1 xxx:hasMinPrice ?min1 . ?obj1 xxx:hasMaxPrice ?max1 .

[Virtuoso-users] Loops and conditionals with SPARQL

2009-11-30 Thread leyla . garcia
Hello there, I have an object property which can appear more than once. It defines min and max values for prices which should not overlap and I need to check it. 300.0 450.0 100.0 200.0 I think I can do it with SPARQL and loops. For each