Skip to content

Instantly share code, notes, and snippets.

@b-adams
Created October 17, 2011 01:50
Show Gist options
  • Save b-adams/1291753 to your computer and use it in GitHub Desktop.
Save b-adams/1291753 to your computer and use it in GitHub Desktop.
Music Lookup
playsThe(anmarcus, accordion).
playsThe(anmarcus, percussion).
playsThe(mferguson, didgeriedoo).
playsThe(mferguson, trombone).
playsThe(avannorstrand, guitar).
playsThe(avannorstrand, fiddle).
playsThe(nvannorstrand, percussion).
playsThe(nvannorstrand, fiddle).
playsThe(mferguson, saw).
playsThe(aamarcus, concertina).
playsThe(aamarcus, piano).
playsThe(aamarcus, feet).
playsThe(aamarcus, throat).
playsThe(mkacalanos, percussion).
playsThe(mkacalanos, hurdygurdy).
playsThe(gsherman, bass).
playsThe(bgarrison, fiddle).
playsThe(bwittenbach, cello).
playsThe(tball, fiddle).
playsThe(tball, guitar).
playsThe(mball, fiddle).
playsThe(rbell, accordion).
playsThe(mludgate, fiddle).
playsThe(mludgate, trombone).
playsThe(mludgate, banjo).
playsThe(pmarcus, dulcimer).
playsWith(mludgate, oshanigans).
playsWith(tball, oshanigans).
playsWith(tball, contrapasso).
playsWith(rbell, contrapasso).
playsWith(bwittenbach, mockinbird).
playsWith(mkacalanos, mockinbird).
playsWith(anmarcus, jiggermeister).
playsWith(mkacalanos, jiggermeister).
playsWith(gsherman, jiggermeister).
playsWith(bgarrison, jiggermeister).
playsWith(pmarcus, giftofthemarci).
playsWith(anmarcus, giftofthemarci).
playsWith(aamarcus, giftofthemarci).
playsWith(aamarcus, giantrobotdance).
playsWith(anmarcus, giantrobotdance).
playsWith(mferguson, giantrobotdance).
playsWith(avannorstrand, giantrobotdance).
playsWith(nvannorstrand, giantrobotdance).
playsWith(avannorstrand, greatbeartrio).
playsWith(nvannorstrand, greatbeartrio).
playsWith(kvannorstrand, greatbeartrio).
available(Group, Noisemaker) :- playsWith(Someone, Group), playsThe(Someone, Instrument).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment