-
Leonardo Christino authoredLeonardo Christino authored
realtest.json 6.55 KiB
{
"return": {
"entities": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14
],
"relations": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13
],
"groupBys": [
0,
1,
2,
3,
4,
5
]
},
"entities": [
{
"name": "Band",
"ID": 0,
"constraints": [
{
"attribute": "id",
"value": "e",
"dataType": "string",
"matchType": "contains"
}
]
},
{
"name": "Song",
"ID": 1,
"constraints": []
},
{
"name": "Length",
"ID": 2,
"constraints": []
},
{
"name": "Song",
"ID": 3,
"constraints": []
},
{
"name": "Length",
"ID": 4,
"constraints": []
},
{
"name": "Song",
"ID": 5,
"constraints": []
},
{
"name": "Length",
"ID": 6,
"constraints": []
},
{
"name": "Song",
"ID": 7,
"constraints": []
},
{
"name": "Length",
"ID": 8,
"constraints": []
},
{
"name": "Song",
"ID": 9,
"constraints": []
},
{
"name": "Length",
"ID": 10,
"constraints": []
},
{
"name": "Song",
"ID": 11,
"constraints": []
},
{
"name": "Length",
"ID": 12,
"constraints": []
},
{
"name": "Song",
"ID": 13,
"constraints": [
{
"attribute": "id",
"value": "er",
"dataType": "string",
"matchType": "contains"
}
]
},
{
"name": "Person",
"ID": 14,
"constraints": [
{
"attribute": "id",
"value": "May",
"dataType": "string",
"matchType": "contains"
}
]
}
],
"relations": [
{
"ID": 0,
"name": "sings",
"depth": {
"min": 1,
"max": 1
},
"fromType": "entity",
"fromID": 0,
"toType": "entity",
"toID": 1,
"constraints": []
},
{
"ID": 1,
"name": "hasLength",
"depth": {
"min": 1,
"max": 1
},
"fromType": "entity",
"fromID": 1,
"toType": "entity",
"toID": 2,
"constraints": []
},
{
"ID": 2,
"name": "sings",
"depth": {
"min": 1,
"max": 1
},
"fromType": "groupBy",
"fromID": 0,
"toType": "entity",
"toID": 3,
"constraints": []
},
{
"ID": 3,
"name": "hasLength",
"depth": {
"min": 1,
"max": 1
},
"fromType": "entity",
"fromID": 3,
"toType": "entity",
"toID": 4,
"constraints": []
},
{
"ID": 4,
"name": "sings",
"depth": {
"min": 1,
"max": 1
},
"fromType": "groupBy",
"fromID": 1,
"toType": "entity",
"toID": 5,
"constraints": []
},
{
"ID": 5,
"name": "hasLength",
"depth": {
"min": 1,
"max": 1
},
"fromType": "entity",
"fromID": 5,
"toType": "entity",
"toID": 6,
"constraints": []
},
{
"ID": 6,
"name": "sings",
"depth": {
"min": 1,
"max": 1
},
"fromType": "groupBy",
"fromID": 2,
"toType": "entity",
"toID": 7,
"constraints": []
},
{
"ID": 7,
"name": "hasLength",
"depth": {
"min": 1,
"max": 1
},
"fromType": "entity",
"fromID": 7,
"toType": "entity",
"toID": 8,
"constraints": []
},
{
"ID": 8,
"name": "sings",
"depth": {
"min": 1,
"max": 1
},
"fromType": "groupBy",
"fromID": 3,
"toType": "entity",
"toID": 9,
"constraints": []
},
{
"ID": 9,
"name": "hasLength",
"depth": {
"min": 1,
"max": 1
},
"fromType": "entity",
"fromID": 9,
"toType": "entity",
"toID": 10,
"constraints": []
},
{
"ID": 10,
"name": "sings",
"depth": {
"min": 1,
"max": 1
},
"fromType": "groupBy",
"fromID": 4,
"toType": "entity",
"toID": 11,
"constraints": []
},
{
"ID": 11,
"name": "hasLength",
"depth": {
"min": 1,
"max": 1
},
"fromType": "entity",
"fromID": 11,
"toType": "entity",
"toID": 12,
"constraints": []
},
{
"ID": 12,
"name": "sings",
"depth": {
"min": 1,
"max": 1
},
"fromType": "groupBy",
"fromID": 5,
"toType": "entity",
"toID": 13,
"constraints": []
},
{
"ID": 13,
"name": "memberOf",
"depth": {
"min": 1,
"max": 1
},
"fromType": "entity",
"fromID": 14,
"toType": "groupBy",
"toID": 5,
"constraints": []
}
],
"groupBys": [
{
"ID": 0,
"groupType": "entity",
"groupID": [
2
],
"groupAttribute": "_id",
"byType": "entity",
"byID": [
0
],
"byAttribute": "_id",
"appliedModifier": "avg",
"relationID": 0,
"constraints": [
{
"attribute": "_id",
"value": "162",
"dataType": "int",
"matchType": "GET"
}
]
},
{
"ID": 1,
"groupType": "entity",
"groupID": [
4
],
"groupAttribute": "_id",
"byType": "groupBy",
"byID": [
0
],
"byAttribute": "_id",
"appliedModifier": "avg",
"relationID": 0,
"constraints": [
{
"attribute": "_id",
"value": "200",
"dataType": "int",
"matchType": "GT"
}
]
},
{
"ID": 2,
"groupType": "entity",
"groupID": [
6
],
"groupAttribute": "_id",
"byType": "groupBy",
"byID": [
1
],
"byAttribute": "_id",
"appliedModifier": "avg",
"relationID": 0,
"constraints": [
{
"attribute": "_id",
"value": "350",
"dataType": "int",
"matchType": "LET"
}
]
},
{
"ID": 3,
"groupType": "entity",
"groupID": [
8
],
"groupAttribute": "_id",
"byType": "groupBy",
"byID": [
2
],
"byAttribute": "_id",
"appliedModifier": "avg",
"relationID": 0,
"constraints": [
{
"attribute": "_id",
"value": "300",
"dataType": "int",
"matchType": "LT"
}
]
},
{
"ID": 4,
"groupType": "entity",
"groupID": [
10
],
"groupAttribute": "_id",
"byType": "groupBy",
"byID": [
3
],
"byAttribute": "_id",
"appliedModifier": "avg",
"relationID": 0,
"constraints": [
{
"attribute": "_id",
"value": "288",
"dataType": "int",
"matchType": "NEQ"
}
]
},
{
"ID": 5,
"groupType": "entity",
"groupID": [
12
],
"groupAttribute": "_id",
"byType": "groupBy",
"byID": [
4
],
"byAttribute": "_id",
"appliedModifier": "avg",
"relationID": 0,
"constraints": [
{
"attribute": "_id",
"value": "251.8",
"dataType": "int",
"matchType": "EQ"
}
]
}
],
"machineLearning": [],
"limit": 5000,
"prefix": "http://api.stardog.com/"
}