I'm looking for a simple, high level library (implemented in python would be nice) for handling the relational algebra. Alternatively, an existing SQL implementation might have support for these queries.
For example, if the relation schema of the account
relation is (account id, name, balance)
, I'd like to input the expression here
'http://www.mathtran.org/cgi-bin/mathtran?tex=\pi_{name}(\sigma_{account_id>3}(\text{account}))'
and not have to worry about getting back a multiset.