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
56
57
58
59
60
61
62
63
64
|
{
"description": "Test the `_ASK` profile (#2270, `smwgQueryProfiler`, `smwgQueryResultCacheType`)",
"setup": [
{
"namespace": "SMW_NS_PROPERTY",
"page": "Has page",
"contents": "[[Has type::Page]]"
},
{
"page": "Example/P0911/1",
"contents": "[[Has page::Example/P0911/1]]"
},
{
"page": "Example/P0911/Q.1",
"contents": "{{#ask: [[Has page::Example/P0911/1]] |limit=50 |offset=0 }}"
}
],
"tests": [
{
"type": "parser",
"about": "#0",
"subject": "Example/P0911/Q.1#_QUERY7f8c02d826a5987a65a9de7ba8d9abfd",
"assert-store": {
"semantic-data": {
"strict-mode-valuematch": false,
"propertyCount": 7,
"propertyKeys": [
"_ASKST",
"_ASKFO",
"_ASKSI",
"_ASKDE",
"_ASKDU",
"_ASKPA",
"_SKEY"
],
"propertyValues": [
"{\"limit\":50,\"offset\":0,\"sort\":[\"\"],\"order\":[\"asc\"],\"mode\":1}"
]
}
}
}
],
"settings": {
"wgContLang": "en",
"wgLang": "en",
"smwgQueryResultCacheType": "hash",
"smwgQueryProfiler" : [
"SMW_QPRFL_DUR",
"SMW_QPRFL_PARAMS"
],
"smwgPageSpecialProperties": [
"_MDAT"
],
"smwgNamespacesWithSemanticLinks": {
"NS_MAIN": true,
"SMW_NS_PROPERTY": true
}
},
"meta": {
"version": "2",
"is-incomplete": false,
"debug": false
}
}
|