# Controlling the Query Chain - Performing subqueries with CALL

**URL:** <https://community.neo4j.com/t/controlling-the-query-chain-performing-subqueries-with-call/26419>\
**Category:** Graph Academy\
**Created:** [October 1, 2020, 3:07pm UTC](https://community.neo4j.com/t/controlling-the-query-chain-performing-subqueries-with-call/26419 "2020-10-01T15:07:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![penag62](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/penag62/32/4629_2.png) [@penag62](https://community.neo4j.com/u/penag62)\
**Post date:** [October 1, 2020, 3:07pm UTC](https://community.neo4j.com/t/controlling-the-query-chain-performing-subqueries-with-call/26419/1 "2020-10-01T15:07:41Z")

</div>

Controlling the Query Chain  
Performing subqueries with `CALL`  
The example execution in the online Intro to Neo4j  
CALL  
{MATCH (p:Person)-[:REVIEWED]-\>(m:Movie)  
RETURN m}  
MATCH (m) WHERE m.released=2000  
RETURN m.title, m.released  
gives this error message in the browser [https://10-0-1-137-36136.neo4jsandbox.com/browser/](https://10-0-1-137-36136.neo4jsandbox.com/browser/)

Error  
Neo.ClientError.Statement.SyntaxError  
Invalid input '{': expected whitespace, comment, namespace of a procedure or a procedure name (line 2, column 1 (offset: 5))  
"{MATCH (p:Person)-[:REVIEWED]-\>(m:Movie)"  
^

---

<div class="post-metadata">

**Author:** ![elaine\_rosenber](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/elaine_rosenber/32/27409_2.png) [@elaine\_rosenber](https://community.neo4j.com/u/elaine_rosenber)\
**Post date:** [October 1, 2020, 9:21pm UTC](https://community.neo4j.com/t/controlling-the-query-chain-performing-subqueries-with-call/26419/2 "2020-10-01T21:21:55Z")

</div>

Hello @penag62,

Unfortunately, our sandboxes are not yet hosting Neo4j 4.x and as such subqueries are not supported.

This exercise will only work with a local Neo4j 4.x instance.

Elaine
