1. A record matching system comprising the following computer-implemented components: an interface component that acquires example pairs of matching and non-matching records; and a generation component that automatically constructs a matching query composed of primitive operators based on the example pairs.