76 lines
1.7 KiB
JSON
76 lines
1.7 KiB
JSON
{
|
|
"description": "Test `_CONC` to use `CONCEPT_CACHE_ALL` (#1050, skip all SPARQL repository)",
|
|
"setup": [
|
|
{
|
|
"namespace": "SMW_NS_PROPERTY",
|
|
"page": "Has description",
|
|
"contents": "[[Has type::Text]]"
|
|
},
|
|
{
|
|
"page": "Page-one",
|
|
"contents": "[[Has description::Bar]] [[Category:Q0203]]"
|
|
},
|
|
{
|
|
"page": "Page-two",
|
|
"contents": "[[Has description::Foo]] [[Category:Q0203]]"
|
|
},
|
|
{
|
|
"namespace": "SMW_NS_CONCEPT",
|
|
"page": "Concept-for-any-description",
|
|
"contents": "{{#concept: [[Has description::+]] [[Category:Q0203]] }}"
|
|
}
|
|
],
|
|
"tests": [
|
|
{
|
|
"type": "query",
|
|
"about": "#0 any value with CONCEPT_CACHE_ALL set (wiki configuration requires the cache to be computed off-line)",
|
|
"condition": "[[Concept:Concept-for-any-description]]",
|
|
"printouts": [],
|
|
"parameters": {
|
|
"limit": "10"
|
|
},
|
|
"assert-queryresult": {
|
|
"count": 0,
|
|
"error": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "concept",
|
|
"about": "#1 Check cache",
|
|
"condition": "[[Concept:Concept-for-any-description]]",
|
|
"parameters": {
|
|
"limit": "10"
|
|
},
|
|
"assert-queryresult": {
|
|
"count": 0,
|
|
"error": 1
|
|
},
|
|
"conceptcache": [
|
|
{
|
|
"concept": "Concept-for-any-description",
|
|
"count": 2
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"settings": {
|
|
"smwgQConceptCaching": "CONCEPT_CACHE_ALL",
|
|
"smwgNamespacesWithSemanticLinks": {
|
|
"NS_MAIN": true,
|
|
"SMW_NS_PROPERTY": true,
|
|
"SMW_NS_CONCEPT": true
|
|
}
|
|
},
|
|
"meta": {
|
|
"skip-on": {
|
|
"elastic": "CONCEPT_CACHE_ALL isn't implemented",
|
|
"virtuoso": "CONCEPT_CACHE_ALL isn't implemented",
|
|
"sesame": "CONCEPT_CACHE_ALL isn't implemented",
|
|
"fuseki": "CONCEPT_CACHE_ALL isn't implemented",
|
|
"blazegraph": "CONCEPT_CACHE_ALL isn't implemented"
|
|
},
|
|
"version": "2",
|
|
"is-incomplete": false,
|
|
"debug": false
|
|
}
|
|
} |