{ "description": "Test in-text annotation for `_dat` using JL/GR annotated values (en, `smwgDVFeatures`)", "setup": [ { "namespace": "SMW_NS_PROPERTY", "page": "Has date", "contents": "[[Has type::Date]]" }, { "page": "Example/P0420/1", "contents": "[[Has date::21 March 1685 JL]]" }, { "page": "Example/P0420/2", "contents": "[[Has date::21 March 1685 Jl]]" }, { "page": "Example/P0420/3", "contents": "[[Has date::21 March 1685 GR]]" }, { "page": "Example/P0420/1a", "contents": "{{#ask: [[Example/P0420/1]] |?Has date |?Has date#GR |?Has date#JL }}" }, { "page": "Example/P0420/2a", "contents": "{{#ask: [[Example/P0420/2]] |?Has date |?Has date#GR |?Has date#JL }}" }, { "page": "Example/P0420/3a", "contents": "{{#ask: [[Example/P0420/3]] |?Has date |?Has date#GR |?Has date#JL }}" } ], "tests": [ { "type": "parser", "about": "#0 JL calendar date with time", "subject": "Example/P0420/1", "assert-store": { "semantic-data": { "strictPropertyValueMatch": false, "propertyCount": 3, "propertyKeys": [ "Has_date", "_SKEY", "_MDAT" ], "propertyValues": [ "1685-03-31" ] } }, "assert-output": { "to-contain": [ "21 March 1685 JL" ] } }, { "type": "parser", "about": "#1 JL", "subject": "Example/P0420/1a", "assert-output": { "to-contain": [ "21 March 1685 JL", "31 March 1685", "21 March 1685 JL" ] } }, { "type": "parser", "about": "#2 JL", "subject": "Example/P0420/2a", "assert-output": { "to-contain": [ "21 March 1685 JL", "31 March 1685", "21 March 1685 JL" ] } }, { "type": "parser", "about": "#3 GR", "subject": "Example/P0420/3a", "assert-output": { "to-contain": [ "21 March 1685", "21 March 1685", "11 March 1685 JL" ] } } ], "settings": { "wgContLang": "en", "wgLang": "en", "smwgDVFeatures": [ "SMW_DV_TIMEV_CM" ] }, "meta": { "version": "2", "is-incomplete": false, "debug": false } }