Ontology Neural Networks for Topologically Conditioned Constraint Satisfaction