Created
February 23, 2010 19:10
-
-
Save ericnormand/312559 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use 'clj-reasoner) | |
;; a graph of explicit friendship relations | |
(def friends-graph | |
(build-graph [{:s "Andrew" :r "hasFriend" :o "John"} | |
{:s "Chris" :r "hasFriend" :o "Andrew"} | |
{:s "Jane" :r "hasFriend" :o "Linda"} | |
{:s "Jane" :r "hasFriend" :o "Chris"}])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment