NOT EXISTS

The NOT EXISTS function tests to see if the specified graph pattern does not exist in the data.

NOT EXISTS Syntax

Use the following syntax when incorporating the NOT EXISTS function in queries:

NOT EXISTS { graph_pattern }