                                              ["=" "type" "Class"]
                                              ["=" "title" "Apache"]]]]]]
 
-   [{:certname "foo" :name "ipaddress" :value "192.168.1.100"}
-    {:certname "bar" :name "ipaddress" :value "192.168.1.101"}]
+   #{{:certname "foo" :name "ipaddress" :value "192.168.1.100"}
+     {:certname "bar" :name "ipaddress" :value "192.168.1.101"}}
 
    ;; "not" matching resources
    ["and"

                                                     ["=" "file" "/etc/puppet/modules/settings/manifests/init.pp"]
                                                     ["=" "line" 1]]]]]]

           [{:certname "foo" :name "ipaddress" :value "192.168.1.100"}
            {:certname "bar" :name "ipaddress" :value "192.168.1.101"}
            {:certname "baz" :name "ipaddress" :value "192.168.1.102"}]))))

(def versioned-invalid-subqueries
  (omap/ordered-map

                                             ["=" "name" "uptime_seconds"]
                                             [">" "value" 10000]]]]]]

   #{{:certname "foo" :name "ipaddress" :value "192.168.1.100"}}))

(def versioned-subqueries
  (omap/ordered-map
