PQuery initial draft