Hi
I was wondering if someone could help me with modeling rules data. Here are
the requirements for my use-case:
- A node in the graph would represent a domain entity. Lets call it a
"Partition" type
- Multiple "filters/criterias" could be defined for a Partition
- Filter could be defined as another node type. For e.g.: "Country",
"Region", "Load"
- Queries would be of the form: Retrieve the list of partitions that
match an input criteria
- E.g.: Country IN ['China', 'India'], Region = 'Primary', Load > 40
Here is what I am struggling with:
- Could a Graph DB used for my use-case?
- Defining thresholds/operators for each filter
- Each filter type could have a value and also an "operator"
- Dynamic query creation based on input criteria
- Should I retrieve all the nodes and based on their filters create
the appropriate queries?
- Or is there a way to create the queries based on the input criteria
and then retrieve the nodes that match that?
- How should nested criteria be modeled/evaluated?
Thanks for your help.
Ranga
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.