Use 'select ... from <graph> { }' instead of 'select ... { graph <graph> { } }'