Another way to see that it works
Train the network on all but 4 of the triples that
can be made using the 12 relationships
It needs to sweep through the training set
many times adjusting the weights slightly
each time.
Then test it on the 4 held-out cases.
It gets about 3/4 correct. This is good for a 24-
way choice.