446 generalize ontohub

pull request for #909 . re-opened after cleaning history. It  may be the case that new generalization needs to be made.
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.