viewingRestriction should have only one entry
Update create ontology generator