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
Global donut style rule | |
curl --request POST \ | |
--url http://localhost:8080/api/v1/knowledgeGraphs/618509ae-b44d-4a5e-801f-4bcd81d66afd/styles \ | |
--header 'Content-Type: application/json' \ | |
--header 'x-api-key: 1C_W3FWUSxjZ7BIv6XCk9RpxVjKraiE6' \ | |
--data '{ | |
"label": "Bla7", | |
"captionRules": [], | |
"styleRules": [ |
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
call apoc.periodic.iterate( | |
"call apoc.load.csv('movies2.csv', { mapping:{ | |
movieId : { type: 'int' }, | |
releaseYear: { type: 'int' }, | |
personId: { type: 'int' }, | |
birthYear: { type: 'int' }, | |
deathYear: { type: 'int' } | |
} | |
}) yield map return map", | |
"merge (m:Movie {id: map.movieId}) set m.title = map.title, m.avgVote = map.avgVote, m.tagline = map.tagline |