Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 371 Bytes

fold_predicate.md

File metadata and controls

14 lines (9 loc) · 371 Bytes

Fold Predicate

The Fold Predicate operation can be use to transform every instance of a predicate to a node property such that if S - P -> O,

  • P becomes the node property name on node S
  • O becomes the value for the node property P on node S

kgx.graph_operations.fold_predicate

.. autofunction:: kgx.graph_operations.fold_predicate