Skip to content

Commit 1dbc591

Browse files
committed
output
1 parent b2eee4d commit 1dbc591

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
@@ -221,15 +221,20 @@ def transform_result(cypher_record,
221221

222222
# skip empty results
223223
if not path_edge:
224+
print('bb1')
224225
continue
225226
# don't return subclass qedges in the edge bindings
226227
if qedge.get("_subclass", False):
228+
print('bb2')
227229
continue
228230

229231
# find the knowledge graph edge id for the element id from the path edge
230232
edge_element_id = path_edge
231233
graph_edge_id = element_id_to_edge_id[edge_element_id]
232234

235+
print(" edge_element_id:", edge_element_id, " graph_edge_id:", graph_edge_id)
236+
print(" qewatt:",qedges_with_attached_subclass_edges.get(qedge_id, []))
237+
233238
# Check to see if the edge has subclass edges that are connected to it
234239
subclass_edge_ids = []
235240
superclass_node_ids = {}

0 commit comments

Comments
 (0)