sparql connection + some fix