Entity query

be nice to support documentation here, to document types (says John)