 
 (def edges-query
   "Query for catalog edges"
-  (map->Query {:projections {"certname" {:type :string
+  (map->Query {::which-query :edges
+               :projections {"certname" {:type :string
                                          :queryable? true
                                          :field :edges.certname}
                              "relationship" {:type :string

;;; Queryable Entities
(def inventory-query
  "Query for inventory"
  (map->Query {:projections {"certname" {:type :string
                                         :queryable? true
                                         :field :certnames.certname}
                             "timestamp" {:type :timestamp

               :subquery? false}))

(def fact-names-query
  (map->Query {::which-query :fact-names
               :projections {"name" {:type :string
                                     :queryable? true
                                     :field :name}}
               :selection {:from [[:fact_paths :fp]]
