I'm obviously not condoning patent infringement. The idea is to learn from useful ideas and implement a non-infringing equivalent as an open source project. You can't patent "math", or "computer science", or ideas comparably broad.
you shouldn't be able to patent a query language for a graph either but here we are
Well duh thats the idea. Then they can sue you. More work for FB's legal team too.