SPARQL: dot before the FILTER is required in Loki
If the SPARQL query contains FILTER you have to put the dot right after the last triple before the FILTER. This is not compatible with the SPARQL definition.
<pl format="sparql">
PREFIX wiki: <>
SELECT ?page ?lang ?length
WHERE
{
?page a "querytest".
?page wiki:test_lang ?lang.
?page wiki:test_length ?length. <---- THIS DOT IS REQUIRED BY LOKI
FILTER (?lang!='polish')
}
ORDER BY INC(?length)
LIMIT 5
</pl>