comparative-concepts / cc-database

Cross-linked database of Comparative Concepts, extracted from "Morphosyntax: constructions of the world's languages", by William Croft (2022)
https://comparative-concepts.github.io/cc-database/
3 stars 1 forks source link

Subgraph macros? #6

Open wcroft opened 1 month ago

wcroft commented 1 month ago

I've been using the visualization a lot to select subgraphs for consistency checking with the manual trees. I've been able to produce good subgraphs. A particularly nice subgraph is this one, for complex sentence constructions and their strategies. I created it with the following sequence of actions:

Select Cxn -> Str Select SubtypeOf and ExpressionOf Search on "complex sentence" Select Expand downward Select Expand downward Select Remove unselected

Many other subgraphs required some trial and error, and/or a more complicated sequence of actions. I was wondering if one could save the sequence of actions for a subgraph as a "subgraph macro", which could be named and then used for obtaining the same subgraph in the future.

heatherleaf commented 1 month ago

Interesting, it should be possible using cookies but will involve some work. Have to think about it for a while