“Unicorn also supports a Difference operator, which re-turns results from the first operand that are not present in the second operand. Continuing with the example above, we could find female friends of Jon Jones who are not friends of Lea Lin by using (difference (and friend:5 gender:1) friend:6). As demonstrated by the query above, Unicorn operators support composition, which allows us construct complex queries to create interesting views of the social graph.”
More from Facebook
“accomplished aggravated alive alone amazed amazing amused angry annoyed anxious awesome…”
“What we actually want is a way to force some fraction of the final results to possess a…”
“While each user has 130 friends on average, they have approximately 48000…”
“Jon is also a friend-of-friends of himself since he is—by definition—a friend of his…”