generic projection query for DocumentLinks