8. ● Beginning a Query
START clause is used to begin a cypher query
● Declaring Information Patterns to Find
START english = node:language(name = ‘English’)
berlin = node:city(name = ‘Berlin’)
korth = node:author(name = 'korth')
MATCH () - [:KNOWS] - > (english) - [:LIVES_IN] -> (berlin) - [:read] ->(book) -
[:wrritten_by]- > (korth)
RETURN book.title AS title
9. ● Constraining Matches
For constraint matching WHERE clause is used
● Processing Results
The RETURN clause in cypher is used to return the query results.
START english = node:language(name = ‘English’)
berlin = node:city(name = ‘Berlin’)
korth = node:author(name = 'korth')
MATCH () - [:KNOWS] - > (english) - [:LIVES_IN] -> (berlin) - [:read] -> (book) -
[:wrritten_by]- > (korth)
WHERE book.publication_year > 2000
RETURN book.title AS title
10. Conclusion
● It is best suited for multi relation applications.
● Used by following companies.
● Gartner
● eBay
● Walmart
● telenor ..etc