call small C prog to do sparql query and parse resulting xml