File tree 1 file changed +9
-0
lines changed
frontend/src/semantic-search
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -25,58 +25,67 @@ export const filters = new Collection([{
25
25
i18nKey : 'filters.equals' ,
26
26
uris : true ,
27
27
literals : true ,
28
+ operator : '=' ,
28
29
} , {
29
30
id : 'filter:less' ,
30
31
label : 'Is less than' ,
31
32
i18nKey : 'filters.less' ,
32
33
uris : false ,
33
34
literals : true ,
35
+ operator : '<' ,
34
36
} , {
35
37
id : 'filter:greater' ,
36
38
label : 'Is greater than' ,
37
39
i18nKey : 'filters.greater' ,
38
40
uris : false ,
39
41
literals : true ,
42
+ operator : '>' ,
40
43
} , {
41
44
id : 'filter:isIRI' ,
42
45
label : 'Is defined' ,
43
46
i18nKey : 'filters.isDefined' ,
44
47
uris : true ,
45
48
literals : false ,
49
+ function : 'isIRI' ,
46
50
} , {
47
51
id : 'filter:isLiteral' ,
48
52
label : 'Is defined' ,
49
53
i18nKey : 'filters.isDefined' ,
50
54
uris : false ,
51
55
literals : true ,
56
+ function : 'isLiteral' ,
52
57
} , {
53
58
id : 'filter:stringStarts' ,
54
59
label : 'Starts with' ,
55
60
i18nKey : 'filters.startsWith' ,
56
61
uris : false ,
57
62
literals : true ,
58
63
restrict : [ xsd . string ] ,
64
+ function : 'strStarts' ,
59
65
} , {
60
66
id : 'filter:stringEnds' ,
61
67
label : 'Ends with' ,
62
68
i18nKey : 'filters.endsWith' ,
63
69
uris : false ,
64
70
literals : true ,
65
71
restrict : [ xsd . string ] ,
72
+ function : 'strEnds' ,
66
73
} , {
67
74
id : 'filter:stringContains' ,
68
75
label : 'Contains' ,
69
76
i18nKey : 'filters.contains' ,
70
77
uris : false ,
71
78
literals : true ,
72
79
restrict : [ xsd . string ] ,
80
+ function : 'contains' ,
73
81
} , {
74
82
id : 'filter:regex' ,
75
83
label : 'Matches regular expression' ,
76
84
i18nKey : 'filters.matchRegex' ,
77
85
uris : false ,
78
86
literals : true ,
79
87
restrict : [ xsd . string ] ,
88
+ function : 'regex' ,
80
89
} ] ) ;
81
90
82
91
export const groupLabels = new Collection ( [ {
You can’t perform that action at this time.
0 commit comments