some progress on the sparql thing, still not fixed