<node1> <predicateRelation> <node2>
. The nodes are therefore
implicit in the predicate storage, rather than vice versa.
This makes querying much different and particularly allows network optimizations
in a distributed database.
Find all posts liked by friends of friends of mine over the last year, written by a popular author A.
result set 1
).result set 2
).result set 1
with result set 2
.friends
representing all friend
relations.posts_liked
representing who likes
each post.author
representing all who authored
each post.title
representing the uid->string
title property of posts.friends
and retrieve a list of my
friends as a list of uids.result set myFOF
.result set postsMyFOFLiked
.result set authoredByA
.result set postsMyFOFLiked
intersect
result set authoredByA
. Call this result set postsMyFOFLikedByA
result set postsMyFOFLikedByA
to Server W which holds the title
predicate (1 RPC).result set postUidsAndTitles
result set postUidsAndTitles
.