Skip to content

Commit

Permalink
feat: more datasets introduced (#470) (#472)
Browse files Browse the repository at this point in the history
* feat: more datasets introduced

partially-implement: #441

- [x] basketballplayer (need to add serve edge)
- [x] SNS https://www.siwei.io/nebulagraph-sns/
- [x] data lineage https://www.siwei.io/data-lineage-oss-ref-solution/
- [x] recommendation system https://www.siwei.io/recommendation-system-with-graphdb/ https://www.siwei.io/nebulagraph-etl-dbt/
- [x] id mapping/entity resolution https://www.siwei.io/identity-resolution/
- [x] fraud detection https://www.siwei.io/fraud-detection-with-nebulagraph/
- [x] OpenStack (AI Ops) https://www.siwei.io/graph-enabled-infra-ops/
- [x] FIFA 2022 https://www.siwei.io/chatgpt-and-nebulagraph-predict-fifa-world-cup/

* resize movie dataset

* chore: refine the naming of space data lineage

* revert change on server/api/studio/etc/studio-api.yaml

Co-authored-by: Wey Gu <weyl.gu@gmail.com>
  • Loading branch information
github-actions[bot] and wey-gu authored Feb 22, 2023
1 parent 89e2c06 commit 88f5965
Show file tree
Hide file tree
Showing 18 changed files with 1,592 additions and 12 deletions.
9 changes: 8 additions & 1 deletion app/config/locale/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"space": "Space",
"version": "Version",
"statistics": "Statistics",
"duplicate": "Duplicate",
"duplicate": "Copy",
"copy": "Copy",
"copySuccess": "Copied successfully",
"sketch": "Schema drafting",
Expand Down Expand Up @@ -356,6 +356,13 @@
"sketchModuleLink": "https://docs.nebula-graph.io/3.3.0/nebula-studio/quick-start/draft/",
"basketballplayerDocLink": "",
"shareholdingDocLink": "https://nebula-graph.io/demo/shared-holding",
"openstackDocLink": "",
"snsDocLink": "https://siwei.io/en/nebulagraph-sns/",
"datalineageDocLink": "https://siwei.io/en/en/data-lineage-oss-ref-solution/",
"movieDocLink": "",
"idMappingDocLink": "",
"fraudDetectionDocLink": "https://siwei.io/en/fraud-detection-with-nebulagraph/",
"fifa2022DocLink": "https://siwei.io/en/chatgpt-and-nebulagraph-predict-fifa-world-cup/",
"alwaysShow": "Always show the welcome page",
"progressTitle": "Download & Import Data"
}
Expand Down
7 changes: 7 additions & 0 deletions app/config/locale/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,13 @@
"sketchModuleLink": "https://docs.nebula-graph.com.cn/3.3.0/nebula-studio/quick-start/draft/",
"basketballplayerDocLink": "https://nebula-graph.com.cn/posts/playground-basketball-player",
"shareholdingDocLink": "https://nebula-graph.com.cn/demo/shared-holding",
"openstackDocLink": "https://www.siwei.io/graph-enabled-infra-ops",
"snsDocLink": "https://www.siwei.io/nebulagraph-sns/",
"datalineageDocLink": "https://www.siwei.io/data-lineage-oss-ref-solution/",
"movieDocLink": "https://www.siwei.io/recommendation-system-with-graphdb/",
"idMappingDocLink": "https://www.siwei.io/identity-resolution/",
"fraudDetectionDocLink": "https://www.siwei.io/fraud-detection-with-nebulagraph/",
"fifa2022DocLink": "https://www.siwei.io/chatgpt-and-nebulagraph-predict-fifa-world-cup/",
"alwaysShow": "始终展示欢迎页",
"progressTitle": "下载 & 导入数据"
}
Expand Down
91 changes: 91 additions & 0 deletions app/pages/Welcome/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,97 @@ const getDatasetList = (): DatasetItem[] => {
coverImg: `${process.env.CDN_PATH || '/'}images/welcome/shareholding.png`,
docLink: intl.get('welcome.shareholdingDocLink'),
},
{
type: 'starter',
tags: ['starter'],
spaceName: 'demo_sns',
fileName: 'sns',
rename: undefined as unknown as string,
detail: {
vertexCount: 125,
edgeCount: 327,
},
coverImg: `${process.env.CDN_PATH || '/'}images/welcome/sns.png`,
docLink: intl.get('welcome.snsDocLink'),
},
{
type: 'solution',
tags: ['solution'],
spaceName: 'demo_ai_ops',
fileName: 'openstack',
rename: undefined as unknown as string,
detail: {
vertexCount: 36,
edgeCount: 50,
},
coverImg: `${process.env.CDN_PATH || '/'}images/welcome/openstack.png`,
docLink: intl.get('welcome.openstackDocLink'),
},
{
type: 'starter',
tags: ['starter'],
spaceName: 'demo_datalineage',
fileName: 'datalineage',
rename: undefined as unknown as string,
detail: {
vertexCount: 243,
edgeCount: 550,
},
coverImg: `${process.env.CDN_PATH || '/'}images/welcome/datalineage.png`,
docLink: intl.get('welcome.datalineageDocLink'),
},
{
type: 'starter',
tags: ['starter'],
spaceName: 'demo_movie_recommendation',
fileName: 'movie',
rename: undefined as unknown as string,
detail: {
vertexCount: 47766,
edgeCount: 160000,
},
coverImg: `${process.env.CDN_PATH || '/'}images/welcome/movie.png`,
docLink: intl.get('welcome.movieDocLink'),
},
{
type: 'starter',
tags: ['starter'],
spaceName: 'demo_identity_resolution',
fileName: 'id_mapping',
rename: undefined as unknown as string,
detail: {
vertexCount: 91,
edgeCount: 133,
},
coverImg: `${process.env.CDN_PATH || '/'}images/welcome/id_mapping.png`,
docLink: intl.get('welcome.idMappingDocLink'),
},
{
type: 'starter',
tags: ['starter'],
spaceName: 'demo_fraud_detection',
fileName: 'fraud_detection',
rename: undefined as unknown as string,
detail: {
vertexCount: 1076,
edgeCount: 427,
},
coverImg: `${process.env.CDN_PATH || '/'}images/welcome/fraud_detection.png`,
docLink: intl.get('welcome.fraudDetectionDocLink'),
},
{
type: 'starter',
tags: ['starter'],
spaceName: 'demo_fifa_2022',
fileName: 'fifa2022',
rename: undefined as unknown as string,
detail: {
vertexCount: 1166,
edgeCount: 1695,
},
coverImg: `${process.env.CDN_PATH || '/'}images/welcome/fifa2022.png`,
docLink: intl.get('welcome.fifa2022DocLink'),
},
];
};

Expand Down
22 changes: 11 additions & 11 deletions public/datasets/basketballplayer.ngql

Large diffs are not rendered by default.

Loading

0 comments on commit 88f5965

Please sign in to comment.