I don't have a lot of experience with Neo4j and I am in the middle of building out a new database and I am not 100% certain the best way to model ranges of values. So I have nodes that have a lot of min/max values and I would like to be able to intuitively write queries that will show nodes that fall in some range or at least be able to group things together spatially using this data.
NodeA: min = 3, max = 10
NodeB: min=5, max=12
NodeC: min= 12, max=15
Query: Which Nodes have some value between 6 and 11?
Result: NodeA and NodeB
I feel like there is a way to do this using the Spatial data types but I am not certain. Or should I just go with setting the min, max as float properties and doing some type of greater than less than logic?