SQLGenerator updated. Some surprises are still remaining in the SPARQL compliance tests.