index RDF_TYPE may not exist, add a check
Merge branch 'develop' of git://github.com/oat-sa/tao-core into develop