first optimizer tests
namespace clash
merging graph changes
setting entity types
implementing sparql command factory
minor fixes