Mercurial > code > home > repos > homeauto
diff service/reasoning/inference.py @ 179:0f2ac014d9ea
reasoning: -v verbose setting, more oneshot support, some custom stuff for mpd commands
Ignore-this: 7646fba7b5496eb1f33a87452af6c6de
author | drewp@bigasterisk.com |
---|---|
date | Thu, 14 May 2015 01:30:00 -0700 |
parents | 4cd065b97fa1 |
children | 5ad229334a88 |
line wrap: on
line diff
--- a/service/reasoning/inference.py Thu May 14 01:29:14 2015 -0700 +++ b/service/reasoning/inference.py Thu May 14 01:30:00 2015 -0700 @@ -2,9 +2,7 @@ see ./reasoning for usage """ -import sys, re -import restkit -from rdflib import URIRef +import sys try: from rdflib import StringInputSource from rdflib.Graph import Graph @@ -17,7 +15,6 @@ from FuXi.Rete import ReteNetwork from rdflib import plugin from rdflib.store import Store - from rdflibtrig import parseTrig, addTrig def infer(graph, rules):