4 is a shortcut for "4"^^<http://www.w3.org/2001/XMLSchema#integer>

Does this literal really match your data?
The property is correct?
How to you process the resultset returned by the query? There might be
several solutions depending on your dataset, thus, you have to iterate
over the resultset.

As Adam Soroka said, it's easier to help you with seeing sample data and
sample code.



> 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
>
-- 
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center

Reply via email to