if ( ! exactlyOneProperty(root, pLocation) )
throw new AssemblerException(root, "No location given") ;
String dir = getStringValue(root, pLocation) ;
Location loc = new Location(dir) ;
DatasetGraph dsg = TDBFactory.createDatasetGraph(loc) ;
if ( root.hasProperty(pUnionDefaultGraph) )
{
Node b = root.getProperty(pUnionDefaultGraph).getObject().asNode() ;
NodeValue nv = NodeValue.makeNode(b) ;
if ( nv.isBoolean() )
dsg.getContext().set(TDB.symUnionDefaultGraph, nv.getBoolean()) ;
else
Log.warn(DatasetAssemblerTDB.class,
"Failed to recognize value for union graph setting (ignored): "+b) ;
}