27 lines
666 B
JSON
27 lines
666 B
JSON
|
{
|
||
|
"independent_label": "User",
|
||
|
"read_probability": 0.5,
|
||
|
"queries" : [
|
||
|
{
|
||
|
"query": "MATCH (n :User {id : $id})-[]-(m) RETURN AVG(n.age + m.age)",
|
||
|
"params" : [
|
||
|
{
|
||
|
"name" : "id",
|
||
|
"low" : 1,
|
||
|
"high" : 10000
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"query": "MATCH (n :User {id : $id})-[]-(m)-[]-(k) RETURN AVG(n.age + m.age + k.age)",
|
||
|
"params" : [
|
||
|
{
|
||
|
"name" : "id",
|
||
|
"low" : 1,
|
||
|
"high" : 10000
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|