Mercurial > code > home > repos > homeauto
diff service/reasoning/oneShot @ 321:79efb6fdcb95
rules updates for storage and changing
Ignore-this: d9a72db03ad987a7253a6b5b51eee14e
author | drewp@bigasterisk.com |
---|---|
date | Mon, 03 Jul 2017 19:50:38 -0700 |
parents | c1287ab87add |
children | b069bb37f817 |
line wrap: on
line diff
--- a/service/reasoning/oneShot Mon Jul 03 19:48:48 2017 -0700 +++ b/service/reasoning/oneShot Mon Jul 03 19:50:38 2017 -0700 @@ -7,9 +7,10 @@ s, p, o = sys.argv[1:] prefixes = { -'room' : 'http://projects.bigasterisk.com/room/', -'shuttle': 'http://bigasterisk.com/room/livingRoom/shuttlepro/', - } + 'room' : 'http://projects.bigasterisk.com/room/', + 'shuttle': 'http://bigasterisk.com/room/livingRoom/shuttlepro/', + 'sensor': 'http://bigasterisk.com/homeauto/sensor/', +} def expand(term): if ':' not in term or term.startswith(('<', '"', "'")):