comparison 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
comparison
equal deleted inserted replaced
1655:15e195fb24bb 1656:d8e5b2232474
196 196
197 if not all(ch in knownTrue for ch in self.graph.staticChunks): 197 if not all(ch in knownTrue for ch in self.graph.staticChunks):
198 stats['staticStmtCulls'] += 1 198 stats['staticStmtCulls'] += 1
199 return 199 return
200 200
201 if not self.graph.patternChunks: 201 if not self.graph.patternChunks and not self.graph.chunksUsedByFuncs:
202 # static only 202 # static only
203 yield BoundLhs(self, CandidateBinding({})) 203 yield BoundLhs(self, CandidateBinding({}))
204 return 204 return
205 205
206 log.debug(f'{INDENT*4} build new ChunkLooper stack') 206 log.debug(f'{INDENT*4} build new ChunkLooper stack')