How can I store logical expressions using a RDBMS?
I tag objects and would like to be able to build truth statements based on those tags. (These might be considered as
How about something like this:
Tables: tags( id, name ) goods ( id, ... ) goods_tags_mm ( tag_id, good_id ) rules ( id, name ) rules_cnf ( id, rule_id ) rules_cnf_terms ( rules_cnf_id, tag_id )