penman
penman copied to clipboard
Graph search
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))"