 (defroutes main-routes
   (GET "/async/*" [] (wrap-aleph-handler chat-handler))
   (GET "/view/*" [*]
-       (page ((serializer (to-model example-view) (to-model widgets)) (build-query (to-model example-view) (to-model widgets) *) (res "http://logangilmour.com/example-ontology#person") *)))
+       (page ((serializer example-view widgets) (build-query example-view widgets *) (res "http://logangilmour.com/example-ontology#person") *)))
   (route/resources "/")
   (route/not-found "Page not found"))
 




(def example-view
  "@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix bind: <http://logangilmour.com/data-binder#> .
@prefix ex: <http://logangilmour.com/example-view#> .

                                                      (fn [val] (sub-call data nil val url built-url))
                                                      related))
                                                   sub-calls))))]
           (hic/html vals))))

          )))

