3. Developer(s) Neo Technology
Initial release 2007; 9 years ago
Stable release 3.0.1 / May 6, 2016; 53 days ago
Written in Java
Operating system Cross-platform
Type Graph database
Website neo4j.com
https://en.wikipedia.org/wiki/Neo4j
4. Cypher Query Language:
CQL Stands for Cypher Query Language. Like Oracle Database has query language SQL, Neo4j has CQL as query language.
Neo4j CQL -
It is a query language for Neo4j Graph Database.
It is a declarative pattern-matching language.
It follows SQL like syntax.
It is syntax is very simple and human readable format.
Like Oracle SQL -
Neo4j CQL has commands to perform Database operations.
Neo4j CQL supports many clauses like WHERE, ORDER BY etc., to write very complex queries in very easy manner.
Neo4j CQL supports some functions like String, Aggregation.In addition to them, it also supports some Relationship Functions.
7. CREATE clause:
Step 1 - Open Neo4j Data
Browser
Step 2 -Type the below command at
dollar prompt in Data Browser.
CREATE (emp:Employee)
Step 3 -Click on Execute button and see
the success message in the Data
Browser.
8. CREATE clause:
Step 1 - Open Neo4j Data Browser
Step 2 -Type the below command
at dollar prompt in Data Browser.
CREATE (emp:Employee)
Step 3 -Click on Execute button and see
the success message in the Data
Browser.
9. CREATE clause:
Step 1 - Open Neo4j Data Browser.
Step 2 -Type the below command at
dollar prompt in Data Browser.
CREATE (emp:Employee)
Step 3 -Click on Execute button
and see the success message in the Data
Browser.
10. CREATE clause:
CREATE A Node With
Properties:
Step 1 -Type the below command
at dollar prompt in Data
Browser.
CREATE (
<node-name>:<label-name>
{
<Property1-name>:<Property1-Value>
........
<Propertyn-name>:<Propertyn-Value>
}
)
Step 2 -Click on Execute button and see
the success message in the Data
11. CREATE clause:
CREATE A Node with
Properties:
Step 1 -Type the below command at
dollar prompt in Data Browser.
CREATE (
<node-name>:<label-name>
{
<Property1-name>:<Property1-Value>
........
<Propertyn-name>:<Propertyn-Value>
}
)
Step 2 -Click on Execute button
and see the success message in the Data
Browser.
13. MATCH and RETURN clause:
Step 1 - Type the below command at
dollar prompt in Data Browser.
MATCH
(
<node-name>:<label-name>
)
RETURN
<node-name>.<property1-name>,
...
<node-name>.<propertyn-name>
Step 2 - Click on Execute button and see the
success message in the Data Browser.
14. MATCH and RETURN clause:
Step 1 - Type the below command at
dollar prompt in Data Browser.
MATCH
(
<node-name>:<label-name>
)
RETURN
<node-name>.<property1-name>,
...
<node-name>.<propertyn-name>
Step 2 - Click on Execute button and
see the success message in the Data
Browser.
15. MATCH and RETURN clause:
To retrieve all
properties(deptno,dname,location)
data of Dept Node from Database:
MATCH (dept: Dept)
RETURN
dept.deptno,dept.dname,dept.location
16. MATCH and RETURN clause:
To retrieve all
properties(deptno,dname,location)
data of Dept Node from Database:
MATCH (dept: Dept)
RETURN
dept.deptno,dept.dname,dept.location
CLick on Execute button.
21. WHERE clause:
MATCH (emp:Employee) WHERE emp.name = 'Abc’
RETURN emp.empid,emp.name,emp.salary,emp.deptno
Click on "Execute" button and
observe the results.
36. Who’s using Neo4j??
From Global 500 companies to startups,
Neo4j Powers Innovative Solutions Across
a Wide Range of Industries.
http://neo4j.com/customers