Querying parse trees of stochastic context-free grammars | Synapse