anchor.diff:  -record(state, {
       ontologies :: [atom()],
       limit :: non_neg_integer(),
  +    query_type :: atom(),
       context :: z:context()
   }).
   
  
positive.code:         total = Total,
          next = Next,
          prev = Previous
      } = z_search:search_pager({query, [{query_id, QueryId}]}, Page, Limit, Context),
      RdfResults = [m_rdf_export:to_rdf(Id, State#state.ontologies, Context) || Id <- Result],
  
      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.
  
negative.code:     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
  