improved dealing with baseline samples
fixed issues with fetching triples from queries icw quotes
improved use of random sample baselines, to avoid large disk usage