Unfold Node Property

The Unfold Node Property operation can be used to transform every instance of a node property to a predicate such that if a node N has property P and value X,

  • P becomes the predicate

  • N is the subject of the predicate

  • X becomes the object of the predicate

kgx.graph_operations.unfold_node_property