Using partial evaluation in holistic subgraph search