Semantic image analysis using a symbolic neural architecture