Skip to content

Commit 7f4e84e

Browse files
committed
Update README, documentation, bloom, and add relate.json
1 parent 255e559 commit 7f4e84e

File tree

10 files changed

+2052
-1256
lines changed

10 files changed

+2052
-1256
lines changed

README.adoc

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,61 @@
22
:long_name: Graph Data Science
33
:description: Leverage Neo4j Graph Data Science library to explore graph algorithms for analytics and feature engineering.
44
:icon:
5-
:logo:
6-
:tags: graph data science,graph algorithms,graph features
7-
:author: Will Lyon
5+
:logo: documentation/img/gds-logo.jpg
6+
:tags: example-data,dataset,got-data,graph-data-science,graph-algorithms,graph-features
7+
:author: William Lyon
88
:use-load-script:
99
:use-dump-file: data/graph-data-science-40.dump
1010
:use-plugin: gds
1111
:target-db-version: 3.5,4.0
12-
:bloom-perspective:
13-
:guide: documentation/index.adoc
12+
:bloom-perspective: bloom/graph-data-science.bloom-perspective
13+
:guide: documentation/guide.adoc
1414
:rendered-guide: https://guides.neo4j.com/sandbox/graph-data-science/index.html
15-
:model:
15+
:model: documentation/img/model.svg
16+
17+
:query: MATCH (c:Person{name:$name})-[r:INTERACTS]->(other) +
18+
RETURN other.name as person +
19+
20+
:param-name: name
21+
:param-value: Jaime Lannister
22+
:result-column: person
23+
:expected-result: Person
24+
1625
:model-guide:
17-
:todo: Check on images associated with documentation, generate a data model, find associated logo/icon
26+
:todo:
1827
image::{logo}[]
1928

2029
= {long_name} Graph Example
2130

22-
Description: {description}
31+
Description: _{description}_
32+
33+
.Model
34+
image::{model}[]
2335

24-
TODO: {todo}
36+
.Example
37+
image::{example}[width=600]
38+
39+
.Example Query:
40+
[source,cypher,subs=attributes]
41+
----
42+
{query}
43+
----
2544

2645
=== Setup
2746

28-
This is for version: {target-db-version}
47+
This is for Neo4j version: `{target-db-version}`
48+
49+
Rendered guide available from: `:play graph-data-science`
50+
// or `:play {rendered-guide}``
51+
52+
Unrendered guide: link:{guide}[]
53+
54+
Data files: `{data}`
2955

30-
unrendered guide: {guide}
56+
=== Code Examples
3157

32-
rendered guide available from: {rendered-guide}
58+
* link:code/javascript/example.js[JavaScript]
59+
* link:code/java/Example.java[Java]
60+
* link:code/csharp/Example.cs[C#]
61+
* link:code/python/example.py[Python]
62+
* link:code/go/example.go[Go]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"Neo4jGraphExamples-GDS Perspective 1","id":"48bb2da0-252b-11eb-bca2-276905325dd1","categories":[{"id":0,"name":"Other","color":"#6B6B6B","size":1,"icon":"no-icon","labels":[],"properties":[],"caption":[""]},{"id":1,"name":"Location","color":"#FFE081","size":1,"icon":"no-icon","labels":["Location"],"properties":[{"name":"name","exclude":false,"isCaption":true,"dataType":"string"}],"caption":[""],"createdAt":1605215339934,"lastEditedAt":1605215339934},{"id":2,"name":"Region","color":"#C990C0","size":1,"icon":"no-icon","labels":["Region"],"properties":[{"name":"name","exclude":false,"isCaption":true,"dataType":"string"}],"caption":[""],"createdAt":1605215339934,"lastEditedAt":1605215339934},{"id":3,"name":"Battle","color":"#F79767","size":1,"icon":"no-icon","labels":["Battle"],"properties":[{"name":"name","exclude":false,"isCaption":true,"dataType":"string"},{"name":"year","exclude":false,"isCaption":false,"dataType":"bigint"},{"name":"summer","exclude":false,"isCaption":false,"dataType":"string"},{"name":"major_death","exclude":false,"isCaption":false,"dataType":"string"},{"name":"major_capture","exclude":false,"isCaption":false,"dataType":"string"},{"name":"note","exclude":false,"isCaption":false,"dataType":"string"},{"name":"battle_type","exclude":false,"isCaption":false,"dataType":"string"},{"name":"attacker_size","exclude":false,"isCaption":false,"dataType":"bigint"},{"name":"defender_size","exclude":false,"isCaption":false,"dataType":"bigint"}],"caption":[""],"createdAt":1605215339934,"lastEditedAt":1605215339934},{"id":4,"name":"Dead","color":"#57C7E3","size":1,"icon":"no-icon","labels":["Dead"],"properties":[{"name":"name","exclude":false,"isCaption":true,"dataType":"string"},{"name":"gender","exclude":false,"isCaption":false,"dataType":"string"},{"name":"book_intro_chapter","exclude":false,"isCaption":false,"dataType":"string"},{"name":"book_death_chapter","exclude":false,"isCaption":false,"dataType":"string"},{"name":"book_of_death","exclude":false,"isCaption":false,"dataType":"string"},{"name":"death_year","exclude":false,"isCaption":false,"dataType":"bigint"},{"name":"title","exclude":false,"isCaption":false,"dataType":"string"},{"name":"birth_year","exclude":false,"isCaption":false,"dataType":"bigint"},{"name":"age","exclude":false,"isCaption":false,"dataType":"bigint"},{"name":"pageRank","exclude":false,"isCaption":false,"dataType":"number"},{"name":"pageRank-1","exclude":false,"isCaption":false,"dataType":"number"},{"name":"community","exclude":false,"isCaption":false,"dataType":"bigint"},{"name":"wcc_partition","exclude":false,"isCaption":false,"dataType":"bigint"}],"caption":[""],"createdAt":1605215339934,"lastEditedAt":1605215339934},{"id":5,"name":"House","color":"#F16667","size":1,"icon":"no-icon","labels":["House"],"properties":[{"name":"name","exclude":false,"isCaption":true,"dataType":"string"}],"caption":[""],"createdAt":1605215339934,"lastEditedAt":1605215339934},{"id":6,"name":"Status","color":"#D9C8AE","size":1,"icon":"no-icon","labels":["Status"],"properties":[{"name":"name","exclude":false,"isCaption":true,"dataType":"string"}],"caption":[""],"createdAt":1605215339934,"lastEditedAt":1605215339934},{"id":7,"name":"Book","color":"#8DCC93","size":1,"icon":"no-icon","labels":["Book"],"properties":[{"name":"name","exclude":false,"isCaption":true,"dataType":"string"},{"name":"sequence","exclude":false,"isCaption":false,"dataType":"bigint"}],"caption":[""],"createdAt":1605215339934,"lastEditedAt":1605215339934},{"id":8,"name":"Culture","color":"#ECB5C9","size":1,"icon":"no-icon","labels":["Culture"],"properties":[{"name":"name","exclude":false,"isCaption":true,"dataType":"string"}],"caption":[""],"createdAt":1605215339934,"lastEditedAt":1605215339934}],"relationshipTypes":[{"properties":[{"propertyKey":"outcome","type":"ATTACKER","dataType":"string"}],"name":"ATTACKER","id":"ATTACKER"},{"properties":[{"propertyKey":"outcome","type":"DEFENDER","dataType":"string"}],"name":"DEFENDER","id":"DEFENDER"},{"properties":[],"name":"IS_IN","id":"IS_IN"},{"properties":[{"propertyKey":"outcome","type":"ATTACKER_COMMANDER","dataType":"string"}],"name":"ATTACKER_COMMANDER","id":"ATTACKER_COMMANDER"},{"properties":[{"propertyKey":"outcome","type":"DEFENDER_COMMANDER","dataType":"string"}],"name":"DEFENDER_COMMANDER","id":"DEFENDER_COMMANDER"},{"properties":[{"propertyKey":"outcome","type":"DEFENDER_KING","dataType":"string"}],"name":"DEFENDER_KING","id":"DEFENDER_KING"},{"properties":[{"propertyKey":"outcome","type":"ATTACKER_KING","dataType":"string"}],"name":"ATTACKER_KING","id":"ATTACKER_KING"},{"properties":[],"name":"BELONGS_TO","id":"BELONGS_TO"},{"properties":[],"name":"HAS_STATUS","id":"HAS_STATUS"},{"properties":[],"name":"APPEARED_IN","id":"APPEARED_IN"},{"properties":[],"name":"DIED_IN","id":"DIED_IN"},{"properties":[{"propertyKey":"name","type":"RELATED_TO","dataType":"string"}],"name":"RELATED_TO","id":"RELATED_TO"},{"properties":[],"name":"MEMBER_OF_CULTURE","id":"MEMBER_OF_CULTURE"},{"properties":[{"propertyKey":"book","type":"INTERACTS","dataType":"bigint"},{"propertyKey":"weight","type":"INTERACTS","dataType":"bigint"}],"name":"INTERACTS","id":"INTERACTS"},{"properties":[{"propertyKey":"book","type":"INTERACTS_1","dataType":"bigint"},{"propertyKey":"weight","type":"INTERACTS_1","dataType":"bigint"}],"name":"INTERACTS_1","id":"INTERACTS_1"},{"properties":[{"propertyKey":"book","type":"INTERACTS_2","dataType":"bigint"},{"propertyKey":"weight","type":"INTERACTS_2","dataType":"bigint"}],"name":"INTERACTS_2","id":"INTERACTS_2"},{"properties":[{"propertyKey":"book","type":"INTERACTS_3","dataType":"bigint"},{"propertyKey":"weight","type":"INTERACTS_3","dataType":"bigint"}],"name":"INTERACTS_3","id":"INTERACTS_3"},{"properties":[{"propertyKey":"book","type":"INTERACTS_4","dataType":"bigint"},{"propertyKey":"weight","type":"INTERACTS_4","dataType":"bigint"}],"name":"INTERACTS_4","id":"INTERACTS_4"},{"properties":[{"propertyKey":"book","type":"INTERACTS_5","dataType":"bigint"},{"propertyKey":"weight","type":"INTERACTS_5","dataType":"bigint"}],"name":"INTERACTS_5","id":"INTERACTS_5"},{"properties":[{"propertyKey":"character_similarity","type":"SIMILARITY","dataType":"number"}],"name":"SIMILARITY","id":"SIMILARITY"}],"palette":{"colors":["#FFE081","#C990C0","#F79767","#57C7E3","#F16667","#D9C8AE","#8DCC93","#ECB5C9","#4C8EDA","#FFC454","#DA7194","#569480","#848484","#D9D9D9"],"currentIndex":8},"createdAt":1605215339898,"lastEditedAt":1605215339898,"templates":[],"hiddenRelationshipTypes":[],"hiddenCategories":[],"hideUncategorisedData":false,"parentPerspectiveId":null,"version":"1.4.1"}

0 commit comments

Comments
 (0)