Learning and Reasoning in Unknown Domains (Journal of Artificial General Intelligence, 2017)