diff --git a/bin/clientdemo b/bin/clientdemo --- a/bin/clientdemo +++ b/bin/clientdemo @@ -4,7 +4,7 @@ import os, sys sys.path.append(".") from twisted.internet import reactor import cyclone.web, cyclone.httpclient, logging -from rdflib import Namespace, Literal +from rdflib import Namespace, Literal, URIRef from light9.rdfdb.patch import Patch from light9.rdfdb.syncedgraph import SyncedGraph @@ -14,6 +14,12 @@ if __name__ == "__main__": g = SyncedGraph("clientdemo") + from light9.Submaster import PersistentSubmaster + sub = PersistentSubmaster(graph=g, uri=URIRef("http://light9.bigasterisk.com/sub/bcools")) + + #get sub to show its updating name, then push that all the way into KC gui so we can see just names refresh in there + + L9 = Namespace("http://light9.bigasterisk.com/") def updateDemoValue(): v = list(g.objects(L9['demo'], L9['is']))