Hi Owen,
I don't know exactly what you refer to with Booleans in Basex, but in short terms yes.
- We can use documents that use xs:boolean as the data type for elements and attributes.
- We can check for boolean elements in documents like if a certain element is true, false, present, etc. We can make a query where we check for example the documents that have a certain or a combination of certain conditions like if the document or a part has three times certain term (like "silico") at a certain point or in tho whole document.
The main problem here is that building a search UI can be as complex and time consuming as you want. Exact match, fuzzy, presence, distance, scoring, ... It is probably better to make a 5 to 10 lines MOSCOW prioritization or something like that. Understand which actors are going to use the search and how.
Owen, I will probably build an XProc Odt report for StratML in the next weeks. I will keep you posted, I'll share it using Github. I need something like that, at least the main parts (goals, objectives, ..).
Kind Regards.