Pig Latin: A Not-So-Foreign Language for Data Processing
spam_urls = FILTER urls BY isSpam(url); culprit_urls = FILTER spam_urls BY pagerank > 0.8; where culprit_urls contains the nal set of urls that the user is interested in. The above Pig Latin fragment suggests that we rst nd the spam urls through the function isSpam, and then lter them by page