Please show us sample data and the means by which you are executing the query.
https://stackoverflow.com/help/mcve --- A. Soroka The University of Virginia Library > On Mar 26, 2017, at 9:52 AM, Dmitri Pisarenko <d...@altruix.co> wrote: > > Hello! > > FYI: Modifying the query to > > SELECT ?x > WHERE { > ?x <http://mycompany.com/data/bp-2/batch/batchNumber> ?curBatchId . > FILTER (?curBatchId = 4) > } > > doesn't change anything. > > > Best regards > > Dmitri Pisarenko > > > > 26.03.2017, 16:41, "Dmitri Pisarenko" <d...@altruix.co>: >> Hello! >> >> I run a query >> >> SELECT ?x WHERE { ?x <http://mycompany.com/data/bp-2/batch/batchNumber> 4 } >> >> Its purpose is to get the indivdual, which has the property >> http://mycompany.com/data/bp-2/batch/batchNumber being equal to 4. >> >> When I run this query the result is a completely different individual and >> the condition (batchNumber==4) is not true for it. >> >> What is the correct version of this query (select individual, in which >> property X is equal to value Y) ? >> >> Thanks in advance >> >> Dmitri Pisarenko