code: public ImmutableList<TargetAtom> getCQ(DatabaseRelationDefinition table) {
  
  		ImmutableList.Builder<TargetAtom> atoms = ImmutableList.builder();
  
  		//Class Atom
  		ImmutableTerm sub = generateSubject(table, false);
  		atoms.add(getAtom(getTableIRI(table.getID()), sub));
  
  		//DataType Atoms
  		for (Attribute att : table.getAttributes()) {
  			// TODO: revisit this
  			RDFDatatype type = (RDFDatatype) att.getTermType();
  			Variable objV = termFactory.getVariable(att.getID().getName());
  			ImmutableTerm obj = termFactory.getImmutableTypedTerm(objV, type);
  			
  			atoms.add(getAtom(getLiteralPropertyIRI(att), sub, obj));
  		}
  
  		return atoms.build();
  	}
docs: Definition row graph: an RDF graph consisting of the following triples:
  <p/>
  - the row type triple.
  - a literal triple for each column in a table where the column value is non-NULL.