Blindly replace all prints by logging.debug.

Also, add a "depth" meter to measure the depth level in the
tree matching.
This commit is contained in:
kenkeiras 2017-05-17 23:54:14 +02:00
parent b2b6be6c9a
commit 851ab1de20
5 changed files with 117 additions and 105 deletions

View file

@ -37,8 +37,8 @@ def get_subquery_type(knowledge_base, atom):
def property_for_value(knowledge_base, value):
# print(value)
# print(knowledge_base[value])
# logging.debug(value)
# logging.debug(knowledge_base[value])
return knowledge_base[value]['as_property']