The "query" package is used it to setup and run hyper-graph queries.
Create a new query instance by calling: {@link bzh.plealog.hge.api.query.HGEManager#newHQuery()}. This returns a new {@link bzh.plealog.hge.api.query.HGEQuery} instance. Then, you can add constraints on this instance.
Simply call the method execute(DataGraphModel,HDataGraph) on the HGEQuery instance.
The query execution engine implements a method to solve the subgraph isomorphism problem in the context of an hyper-graph containing data types and values.