Skip to content

Commit b2eee4d

Browse files
committed
bug
1 parent 2806219 commit b2eee4d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reasoner_transpiler/cypher.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,11 @@ def transform_result(cypher_record,
236236
for (subclass_subject_or_object, subclass_qedge_id, superclass_qnode_id) in \
237237
qedges_with_attached_subclass_edges.get(qedge_id, []):
238238
# If so, check to see if there are results for it
239+
print("-",subclass_qedge_id)
239240
qedge, subclass_edge_element_ids = qedge_id_to_results[subclass_qedge_id]
241+
print("--",qedge,subclass_edge_element_ids)
242+
qedge, subclass_edge_element_ids = qedge_id_to_results[subclass_qedge_id]
243+
print("-?-",qedge,subclass_edge_element_ids)
240244
if subclass_edge_element_ids:
241245
# If path_edge is Truthy, it means the subclass was used in the result.
242246
# For subclass edges, path result is a list of element ids, due to being a variable length edge.
@@ -245,6 +249,7 @@ def transform_result(cypher_record,
245249

246250
qnode, superclass_result_node_id = qnode_id_to_results[superclass_qnode_id]
247251
superclass_node_ids[subclass_subject_or_object] = superclass_result_node_id
252+
print("-=-",subclass_edge_ids)
248253

249254
if subclass_edge_ids:
250255
# make a composite id with all of their kg edge ids

0 commit comments

Comments
 (0)