diff service/mqtt_to_rdf/inference.py @ 1656:d8e5b2232474

bugfix for simple (no arg lists) functions not evaluating
author drewp@bigasterisk.com
date Sun, 19 Sep 2021 13:22:29 -0700
parents e7d594c065d4
children 00a5624d1d14
line wrap: on
line diff
--- a/service/mqtt_to_rdf/inference.py	Sun Sep 19 13:21:33 2021 -0700
+++ b/service/mqtt_to_rdf/inference.py	Sun Sep 19 13:22:29 2021 -0700
@@ -198,7 +198,7 @@
             stats['staticStmtCulls'] += 1
             return
 
-        if not self.graph.patternChunks:
+        if not self.graph.patternChunks and not self.graph.chunksUsedByFuncs:
             # static only
             yield BoundLhs(self, CandidateBinding({}))
             return