Documentos de Académico
Documentos de Profesional
Documentos de Cultura
//call db.constraints
//call db.indexes
MERGE (p:Pelicula{idP:101})
ON CREATE SET
p.titulo='Lo que el viento se llevo',
p.ano='1939',
p.director='Victor Fleming',
p.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date()) ;
MERGE (p:Pelicula{idP:102})
ON CREATE SET
p.titulo='La guerra de las galaxias',
p.ano='1977',
p.director='George Lucas',
p.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
MERGE (p:Pelicula{idP:103})
ON CREATE SET
p.titulo='Sonrisas y lagrimas',
p.ano='1965',
p.director='Robert Wise',
p.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date()) ;
MERGE (p:Pelicula{idP:104})
ON CREATE SET
p.titulo='ET',
p.ano='1982',
p.director='Steven Spielberg',
p.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
MERGE (p:Pelicula{idP:105})
ON CREATE SET
p.titulo='Titanic',
p.ano='1997',
p.director='James Cameron',
p.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
MERGE (p:Pelicula{idP:106})
ON CREATE SET
p.titulo='Blancanieves y los siete enanitos',
p.Mano='1937',
p.director='Walt Disney',
p.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
MERGE (p:Pelicula{idP:107})
ON CREATE SET
p.titulo='Avatar',
p.ano='2009',
p.director='James Cameron',
p.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
MERGE (p:Pelicula{idP:108})
ON CREATE SET
p.titulo='En busca del arca perdida',
p.ano='1981',
p.director='Steven Spielberg',
p.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
MERGE (c:Critico{idC:201})
ON CREATE SET
c.nombreCritico='Sara Martinez',
c.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
c.fechaModificacionNeo4jTxt=tostring(date());
MERGE (c:Critico{idC:202})
ON CREATE SET
c.nombreCritico='Daniel Perez',
c.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
c.fechaModificacionNeo4jTxt=tostring(date());
MERGE (c:Critico{idC:203})
ON CREATE SET
c.nombreCritico='Amalia Sierra',
c.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
c.fechaModificacionNeo4jTxt=tostring(date());
MERGE (c:Critico{idC:204})
ON CREATE SET
c.nombreCritico='Paloma Sanchez',
c.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
c.fechaModificacionNeo4jTxt=tostring(date());
MERGE (c:Critico{idC:205})
ON CREATE SET
c.nombreCritico='Miguel Hernandez',
c.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
c.fechaModificacionNeo4jTxt=tostring(date());
MERGE (c:Critico{idC:206})
ON CREATE SET
c.nombreCritico='Juan Garcia',
c.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
c.fechaModificacionNeo4jTxt=tostring(date());
MERGE (c:Critico{idC:207})
ON CREATE SET
c.nombreCritico='Samuel Lopez',
c.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
c.fechaModificacionNeo4jTxt=tostring(date());
MERGE (c:Critico{idC:208})
ON CREATE SET
c.nombreCritico='Isabel Sanz',
c.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
c.fechaModificacionNeo4jTxt=tostring(date());
//Creacion de Relaciones:
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
r.fechaRegistroNeo4jTxt=tostring(date())
ON MATCH SET
p.fechaModificacionNeo4jTxt=tostring(date());
//call db.constraints