example with sda
fix for csparql queries when sda is required
minor bugs