Flexible Queries to Semi-structured Datasources: the WGLog approach