Fixed the sparql recipes bug that failed for 4.0.0-beta-04-SNAPSHOT.

https://www.pivotaltracker.com/s/projects/684825/stories/79143930