I thought this would work:
(get movies where the average birth year of the actors is greater than a certain value)
WHERE AVG(p.born) > 1967
RETURN m.title, AVG(p.born)
but I get the (obscure) error:
Some Cypher newbies might find this interesting.
I was curious to find Movies and Stars that had a co-star with the name that starts with "Tom" but not return Tom.
Of course, with any large enough DB, you're going to get many results, so it's good to...
After connecting to a different DB, the Browser lets you know that the DB has been switched but it doesn't tell you the DB name that was connected to.
Your have switched connection.
It would be nice to know, as the Browser results...
This is weird. The follow works within python 3, but when running in Jupyter Lab, I get an odd Python error.
When I upgraded to the latest Jupyter Lab, the problem went away!
pip install neo4j
from neo4j import GraphDatabase
I was trying to do a CSV import and I had a stray extra space at the end of my column name. So, it became the equivalent of:
LOAD CSV WITH HEADERS FROM "file:///import.txt" AS row
FIELDTERMINATOR '\t' WITH
I'm not sure what you want exactly.... do you just want the AP nodes?
Something like this?
You don't need the first part of the query. (In actual fact, it will make the system perform poorly...
Thanks for the insight.
After years of mainly using procedural languages, thinking in declaratively can be a bit tricky. Adding Graph thinking on top of that adds an additional dimension.
I certainly find Cypher more intuitive than SQL but every so ...
It also depends on where this project is going...
If it's intended for serious production work, I'd start small to test our your ideas. It would be a waste to build out a full scale system only to discover some glitch that invalidates your initial a...
Where I might split up the data, is if a portion of your data fits the traditional RDBMS model and there's a TON of it.
E.g., suppose there is a huge amount of real-time log or transaction data that's very table oriented and you can run a PostgreSQL...