anchor.diff:      State = #state{
           context = Context2,
           ontologies = proplists:get_value(ontologies, Args),
  +        query_type = proplists:get_value(query, Args, query),
           limit = proplists:get_value(limit, Args, 100)
       },
       case wrq:method(ReqData) of
  
positive.code: -record(state, {
      ontologies :: [atom()],
      limit :: non_neg_integer(),
      context :: z:context()
  }).
  
  
negative.code:         total = Total,
          next = Next,
          prev = Previous
      } = z_search:search_pager({State#state.query_type, search_arguments(QueryId, Context)}, Page, Limit, Context),
      RdfResults = [m_rdf_export:to_rdf(Id, [State#state.ontologies], Context) || Id <- Result, m_rsc:is_visible(Id, Context)],
  
      HydraCollectionUrl = hydra_url(QueryId, page(RequestArgs, undefined), Context), %% The Hydra collection.
      HydraViewUrl = hydra_url(QueryId, page(RequestArgs, Page), Context), %% The paged view on the Hydra collection.
  