Last active
April 25, 2023 12:16
-
-
Save tomasonjo/52b2da916ef5cd1c2adf0ad62cc71a26 to your computer and use it in GitHub Desktop.
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
MERGE (sun:AstronomicalObject {name: "Sun"}) | |
MERGE (mercury:AstronomicalObject {name: "Mercury"}) | |
MERGE (venus:AstronomicalObject {name: "Venus"}) | |
MERGE (earth:AstronomicalObject {name: "Earth"}) | |
MERGE (mars:AstronomicalObject {name: "Mars"}) | |
MERGE (jupiter:AstronomicalObject {name: "Jupiter"}) | |
MERGE (saturn:AstronomicalObject {name: "Saturn"}) | |
MERGE (uranus:AstronomicalObject {name: "Uranus"}) | |
MERGE (neptune:AstronomicalObject {name: "Neptune"}) | |
MERGE (mercury)-[:ORBITS]->(sun) | |
MERGE (venus)-[:ORBITS]->(sun) | |
MERGE (earth)-[:ORBITS]->(sun) | |
MERGE (mars)-[:ORBITS]->(sun) | |
MERGE (jupiter)-[:ORBITS]->(sun) | |
MERGE (saturn)-[:ORBITS]->(sun) | |
MERGE (uranus)-[:ORBITS]->(sun) | |
MERGE (neptune)-[:ORBITS]->(sun) | |
MERGE (moon:Satellite {name: "Moon"}) | |
MERGE (moon)-[:ORBITS]->(earth) | |
MERGE (iss:Satellite {name: "ISS"}) | |
MERGE (iss)-[:ORBITS]->(earth) | |
MERGE (hubble:Satellite {name: "Hubble Space Telescope"}) | |
MERGE (hubble)-[:ORBITS]->(earth) | |
SET moon.radius = 1737.1 | |
SET moon.mass = 7.34e22 | |
SET iss.altitude = 408 | |
SET hubble.altitude = 559 | |
SET hubble.type = "Orbital Observatory" | |
SET sun.radius = 695700 | |
SET sun.mass = 1.989e30 | |
SET earth.radius = 6371 | |
SET earth.mass = 5.97e24 | |
SET earth.atmosphere = ["nitrogen", "oxygen", "argon"]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment