We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f7c586 commit d4a95bbCopy full SHA for d4a95bb
lib/query/woqlDoc.js
@@ -19,13 +19,21 @@ function convert(obj) {
19
},
20
};
21
} if (typeof (obj) === 'string') {
22
+ if (obj.indexOf('v:') === -1) {
23
+ return {
24
+ '@type': 'Value',
25
+ data: {
26
+ '@type': 'xsd:string',
27
+ '@value': obj,
28
+ },
29
+ };
30
+ }
31
+
32
return {
33
'@type': 'Value',
- data: {
- '@type': 'xsd:string',
- '@value': obj,
- },
34
+ variable: obj.split(':')[1],
35
36
37
// eslint-disable-next-line no-use-before-define
38
} if (obj instanceof Var) {
39
0 commit comments