github.com/dgraph-io/dgraph@v1.2.8/graphql/e2e/normal/test_data.json (about) 1 [ 2 { 3 "uid": "_:bangladesh", 4 "dgraph.type": "Country", 5 "Country.name": "Bangladesh" 6 }, 7 { 8 "uid": "_:mozambique", 9 "dgraph.type": "Country", 10 "Country.name": "Mozambique" 11 }, 12 { 13 "uid": "_:angola", 14 "dgraph.type": "Country", 15 "Country.name": "Angola" 16 }, 17 { 18 "uid": "_:author1", 19 "dgraph.type": "Author", 20 "Author.name": "Ann Author", 21 "Author.dob": "2000-01-01", 22 "Author.reputation": 6.6, 23 "Author.country": { "uid": "_:bangladesh" }, 24 "Author.posts": [{ "uid": "_:post1" }, { "uid": "_:post3" }] 25 }, 26 { 27 "uid": "_:author2", 28 "dgraph.type": "Author", 29 "Author.name": "Ann Other Author", 30 "Author.dob": "1988-01-01", 31 "Author.reputation": 8.9, 32 "Author.country": { "uid": "_:angola" }, 33 "Author.posts": [{ "uid": "_:post2" }, { "uid": "_:post4" }] 34 }, 35 { 36 "uid": "_:author3", 37 "dgraph.type": "Author", 38 "Author.name": "Three Author", 39 "Author.dob": "2001-01-01", 40 "Author.reputation": 9.1, 41 "Author.country": { "uid": "_:bangladesh" } 42 }, 43 { 44 "uid": "_:post1", 45 "dgraph.type": "Post", 46 "Post.title": "Introducing GraphQL in Dgraph", 47 "Post.text": "The worlds best graph database, now with the best GraphQL support", 48 "Post.tags": ["GraphQL", "Dgraph", "Database"], 49 "Post.topic": "GraphQL", 50 "Post.numLikes": 100, 51 "Post.isPublished": true, 52 "Post.postType": "Fact", 53 "Post.author": { "uid": "_:author1" } 54 }, 55 { 56 "uid": "_:post2", 57 "dgraph.type": "Post", 58 "Post.title": "Learning GraphQL in Dgraph", 59 "Post.text": "Where do I learn more about GraphQL support in Dgraph?", 60 "Post.tags": ["GraphQL", "Dgraph"], 61 "Post.topic": "Learn", 62 "Post.numLikes": 87, 63 "Post.isPublished": true, 64 "Post.postType": "Question", 65 "Post.author": { "uid": "_:author2" } 66 }, 67 { 68 "uid": "_:post3", 69 "dgraph.type": "Post", 70 "Post.title": "GraphQL doco", 71 "Post.text": "I think the best place to learn GraphQL support in Dgraph is the excellent docs!", 72 "Post.tags": ["GraphQL", "Dgraph"], 73 "Post.topic": "Docs", 74 "Post.numLikes": 77, 75 "Post.isPublished": true, 76 "Post.postType": "Opinion", 77 "Post.author": { "uid": "_:author1" } 78 }, 79 { 80 "uid": "_:post4", 81 "dgraph.type": "Post", 82 "Post.title": "Random post", 83 "Post.text": "this post is not worth publishing", 84 "Post.tags": ["Random"], 85 "Post.topic": "Random", 86 "Post.numLikes": 0, 87 "Post.isPublished": false, 88 "Post.postType": "Fact", 89 "Post.author": { "uid": "_:author2" } 90 }, 91 { 92 "uid": "_:nsw", 93 "dgraph.type": "State", 94 "State.name": "NSW", 95 "State.xcode": "nsw" 96 }, 97 { 98 "uid": "_:nusa", 99 "dgraph.type": "State", 100 "State.name": "Nusa", 101 "State.xcode": "nusa" 102 } 103 ]