a Scala DSL for Knowledge Bases