-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathannotations.json
55 lines (55 loc) · 1.82 KB
/
annotations.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"en": {
"startingPhrase": ["Find "],
"conjunctions": {
"&": [" and "],
"|": [" or "]
},
"dataTypeSelect": {
"bool": ["wether they are ${attribute} or not"],
"date": ["${attribute}"],
"int": ["${attribute}"],
"float": ["${attribute}"],
"varchar": ["${attribute}"]
},
"joinTemplate": {
"baseRelation": ["${entity} ${relation} "],
"addedEntity": [""],
"joinTypes": {
"OUTER JOIN": ["even if <they> do not have ${entity}"],
"JOIN": [""],
"FULL JOIN": ["even if there is no information on either ${entity1} or ${entity2}"]
}
},
"aggregationTemplate": {
"SUM": ["the sum of ${attribute}"],
"AVG": ["the average of ${attribute}"],
"MAX": ["the max of ${attribute}"],
"MIN": ["the min of ${attribute}"],
"COUNT": ["the amound of ${attribute}"]
},
"defaultOperatorTemplate": {
"BETWEEN": ["is between ${value1} and ${value2}"],
"<>": ["is unequal to"],
"<": ["is smaller than"],
">": ["is larger than"],
"<=": ["is smaller or equal than"],
">=": ["is bigger or equal than"],
"=": ["is euqal to"],
"LIKE": {
"0": ["contains '${value}'"],
"1": ["ends with '${value}'"],
"2": ["starts with '${value}'"]
}
},
"constraints": {},
"orderByTemplate": {
"startingPhrase": ["Order the results "],
"endingPhrase": ".",
"direction": {
"ASC": ["ascending"],
"DESC": ["descending"]
}
}
}
}