type system for a question answering pipeline

along with documentation