Without seeing sample data which can be used for testing, you won't get an answer here. SPARQL supports sub-SELECT, FILTER and EXISTS. So, yes, this *could* work.
In addition, the mailing list is more focused on Apache Jena related topics. On 03.12.2017 01:17, Manuel Quintero Fonseca wrote: > Hello, it will be possible to make this kind of query with sparql, for > example I have squares defined with 4 sides, square1 has l1, l2, l3, l4, so > if they are square2, square3, square4 ... n. > > All this is stored in an ontology with individual, typos and data .. etc as > it should be. I don't think that you want to have "typos" in your ontology. > > The doubt is, it is possible to make the query, having the 4 values to look > for, but if only 3 values are the same I return that squares are those that > coicide with only 3 sides. > > regards >
