A generalization of Fagin's theorem | IEEE Conference Publication | IEEE Xplore