1. Ex. Query:
SELECT ?s
WHERE {
?s rdf:type :City .
FILTER regex(?s, "Cannes")
}
2. result:
<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
<head>
<variable name='s'/>
</head>
<results>
<result>
<binding
name='s'><uri>http://www.example.org/travel.owl#City/Cannes</uri></binding>
</result>
</results>
</sparql>
3. But I don't have this result assigned to the Collection<City>. Collection is
empty.
Collection<City> citySameName = Sparql.exec(model, City.class, queryStr);
(When I block a FILTER, I get the entire collection.)
Why?
Best regargs,
P.W.Więc
Original issue reported on code.google.com by wil...@interia.pl on 2 Mar 2012 at 12:58
Original issue reported on code.google.com by
wil...@interia.pl
on 2 Mar 2012 at 12:58