Creating a Query-based Portfolio