Adds prefix declarations to the recommendation query #42

Close #42