LINQ to SPARQL bugfixes

SPARL queries were invalid for some of the from - where combinations
resulting in wrong variable names and filter positions.