Considering marriage law from the database engineering perspective: http://qntm.org/?gay