-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(interactive): Introduce new version of graph_algo example graph (#…
…4153) Update the raw data and graph definition of `graph_algo`. - [x] Keep the old graph_alg graph. - [x] Move the csv files to gstest? --------- Co-authored-by: liulx20 <[email protected]>
- Loading branch information
1 parent
627092e
commit c7df2ca
Showing
6 changed files
with
405 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
MATCH (p: Paper)-[:WorkOn]->(t:Task), | ||
(p)-[:Has]->(c:Challenge)-[:SolvedBy]->(s:Solution), | ||
(p)-[:Use]->(s:Solution) | ||
WHERE t.name = "Distributed Subgraph Matching Efficiency" | ||
WITH t, c, count(p) AS num | ||
RETURN t.name, c.name, num |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
MATCH (p1:Paper)<-[:Cite]-(p2:Paper)<-[:Cite]-(p3:Paper), | ||
(p1)-[:Has]->(c)-[:SolvedBy]->(s1:Solution) | ||
WHERE c.name = "Optimizing Load Balance in Distributed Systems" and p1.title = "Parallel Subgraph Listing in a Large-Scale Graph" | ||
WITH p1.title AS paper1, p2, p3, c, collect(s1.description) AS solutions1 | ||
MATCH (p2)-[:Has]->(c)-[:SolvedBy]->(s2:Solution), | ||
(p2)-[:Use]->(s2) | ||
WHERE p2.title = "Scalable distributed subgraph enumeration" | ||
WITH paper1, p2.title AS paper2, p3, c, solutions1, collect(s2.description) AS solutions2 | ||
MATCH (p3)-[:Has]->(c)-[:SolvedBy]->(s3:Solution), | ||
(p3)-[:Use]->(s3) | ||
WHERE p3.title = "HUGE: An Efficient and Scalable Subgraph Enumeration System" | ||
WITH paper1, paper2, p3.title as paper3, c.name as challenge, solutions1, solutions2, collect(s3.description) as solutions3 | ||
RETURN paper1, paper2, paper3, challenge, solutions1, solutions2, solutions3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
name: graph_algo | ||
version: v0.1 | ||
schema: | ||
vertex_types: | ||
- type_id: 0 | ||
type_name: Challenge | ||
properties: | ||
- property_id: 0 | ||
property_name: id | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 1 | ||
property_name: name | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 2 | ||
property_name: description | ||
property_type: | ||
string: | ||
long_text: '' | ||
primary_keys: | ||
- id | ||
- type_id: 1 | ||
type_name: Task | ||
properties: | ||
- property_id: 0 | ||
property_name: id | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 1 | ||
property_name: name | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 2 | ||
property_name: description | ||
property_type: | ||
string: | ||
long_text: '' | ||
primary_keys: | ||
- id | ||
- type_id: 2 | ||
type_name: Solution | ||
properties: | ||
- property_id: 0 | ||
property_name: id | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 1 | ||
property_name: name | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 2 | ||
property_name: description | ||
property_type: | ||
string: | ||
long_text: '' | ||
primary_keys: | ||
- id | ||
- type_id: 3 | ||
type_name: Paper | ||
properties: | ||
- property_id: 0 | ||
property_name: id | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 1 | ||
property_name: published | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 2 | ||
property_name: year | ||
property_type: | ||
primitive_type: DT_SIGNED_INT32 | ||
- property_id: 3 | ||
property_name: month | ||
property_type: | ||
primitive_type: DT_SIGNED_INT32 | ||
- property_id: 4 | ||
property_name: title | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 5 | ||
property_name: authors | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 6 | ||
property_name: summary | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 7 | ||
property_name: journal_ref | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 8 | ||
property_name: doi | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 9 | ||
property_name: primary_category | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 10 | ||
property_name: categories | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 11 | ||
property_name: problem_def | ||
property_type: | ||
string: | ||
long_text: '' | ||
- property_id: 12 | ||
property_name: keywords | ||
property_type: | ||
string: | ||
long_text: '' | ||
primary_keys: | ||
- id | ||
edge_types: | ||
- type_id: 0 | ||
type_name: SolvedBy | ||
properties: [] | ||
vertex_type_pair_relations: | ||
- destination_vertex: Solution | ||
relation: MANY_TO_MANY | ||
source_vertex: Challenge | ||
- type_id: 1 | ||
type_name: Cite | ||
properties: [] | ||
vertex_type_pair_relations: | ||
- destination_vertex: Paper | ||
relation: MANY_TO_MANY | ||
source_vertex: Paper | ||
- type_id: 2 | ||
type_name: Has | ||
properties: [] | ||
vertex_type_pair_relations: | ||
- destination_vertex: Challenge | ||
relation: MANY_TO_MANY | ||
source_vertex: Paper | ||
- type_id: 3 | ||
type_name: WorkOn | ||
properties: [] | ||
vertex_type_pair_relations: | ||
- destination_vertex: Task | ||
relation: MANY_TO_MANY | ||
source_vertex: Paper | ||
- type_id: 4 | ||
type_name: Use | ||
properties: [] | ||
vertex_type_pair_relations: | ||
- destination_vertex: Solution | ||
relation: MANY_TO_MANY | ||
source_vertex: Paper |
Oops, something went wrong.