Search: Pattern search
Most graph databases support a query language that can be used to express
pattern queries in the graph. Neo4j supports the
JanusGraph and DataStax Enterprise Graph support the Gremlin language, and
AllegroGraph and Stardog support the
In Linkurious Enterprise, you can directly use these query language from the menu (marked icon).
Next, choose the
Once a query is previewed (using the Run button), you can click the "Add" button to add all matching results to the current visualization.
Cypher query language is similar to
SQL and can be learned from
Neo4j's online documentation.
Here is an example Cypher query that uses the Crunchbase dataset (see our online demo):
MATCH (city:CITY)<-[hasCity:HAS_CITY]-(company:COMPANY)WITH count(company) as score, city, company, hasCityRETURN city, company, hasCity, scoreORDER BY score DESCLIMIT 25
This query will match all companies that are connected to a city in the database, count the number of companies in each city, sort the sub-graphs by city, and return the 25 cities that have the most companies along with those companies.
Note that the Cypher query has to contain a
RETURN statement and that all
information that needs to be displayed in Linkurious Enterprise must be included in