add Prolog style search syntax
At the moment for Search the user is restricted to either a bare text search or a keyword based one. It would be very useful to have a more sophisticated search while maintaining the benefit of being able to search by simply typing text into a box rather than having to pop up a complex dialog box which obscures the Plex.
Prolog is fairly old as a programming language but supports an excellent and concise search syntax which corresponds to TheBrain's data model exactly. Moreover because it is old the techniques for implementing that syntax are well documented.
So for example, entering a search of "friend(john,X)" would show John's thought and all those related to him by a friend link. "friend(X,Y),friend(Y,john)" would show all those related to John by a friend link, plus all those related to those by a friend link.
Going further, manufacterer(X,bosch),owner(X,Y) would show all thoughts linked to "bosch" by a manufacturer link, and all thoughts linked to any of those by an "owner" link in an expanded view.
I know this is complex but please consider this. It would increase the power of TheBrain as a personal database manifold.