private static String getBNodeConstructQuery(DataSource theSource, Resource theRes, URI theProperty) {
Dialect aDialect = theSource.getQueryFactory().getDialect();
String aSerqlQuery = "construct * from {" + aDialect.asQueryString(theRes) + "} <" + theProperty.toString() + "> {o}, {o} po {oo}";
String aSparqlQuery = "CONSTRUCT { " + aDialect.asQueryString(theRes) + " <"+theProperty.toString()+"> ?o . ?o ?po ?oo } \n" +
"WHERE\n" +
"{ " + aDialect.asQueryString(theRes) + " <" + theProperty.toString() + "> ?o.\n" +
"?o ?po ?oo. }";
if (theSource.getQueryFactory().getDialect() instanceof SerqlDialect) {