penman icon indicating copy to clipboard operation
penman copied to clipboard

Graph search

Open goodmami opened this issue 8 years ago • 0 comments

Allow for searching the corpus for matching graphs.

  • by node type search "book"
  • by relation search ":polarity"
  • with wildcards search "have-*", search "ARG*"
  • by subgraph `search "(s / see-* :ARG1 (p / penguin))" (node ids don't need to be as in the file, but can be repeated for reentrancies)
  • negated matches: search "! book", search "! :polarity", search "(s / see-* :ARG1 (_ / !penguin))"

goodmami avatar Feb 14 '17 21:02 goodmami