* http://cs.unibo.it/helm/.
*)
-type uri = string
-type position = string
-type depth = int option
-type sort = string
+(* AUTOR: Ferruccio Guidi <fguidi@cs.unibo.it>
+ *)
+
+(* interface for the low-level constraints *********************************)
-type r_obj = (uri * position * depth)
-type r_rel = (position * depth)
-type r_sort = (position * depth * sort)
+val locate : string -> MathQL.query
-type must_restrictions = (r_obj list * r_rel list * r_sort list)
-type only_restrictions =
- (r_obj list option * r_rel list option * r_sort list option)
-type universe = position list option
+val unreferred : string -> string -> MathQL.query
-val locate : string -> MathQL.query
+val compose : MQGTypes.spec list -> MathQL.query
-val query_of_constraints : universe -> must_restrictions -> only_restrictions -> MathQL.query
+(* interface for the high-level constraints ********************************)
-val builtin : MathQL.vvar -> string
+val query_of_constraints : MQGTypes.universe option ->
+ MQGTypes.must_restrictions ->
+ MQGTypes.only_restrictions ->
+ MathQL.query