The core of scowl, a scala OWL2 parser and reasoner