{ "description": "Test in-text annotation for different `_dat` input/output (en, skip virtuoso, `smwgDVFeatures`)", "setup": [ { "namespace": "SMW_NS_PROPERTY", "page": "Has date", "contents": "[[Has type::Date]]" }, { "page": "Example/P0413/1", "contents": "[[Has date::Feb 11 2000 10:00:01]]" }, { "page": "Example/P0413/1a", "contents": "{{#ask: [[Example/P0413/1]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/2", "contents": "[[Has date::Feb 11 2000]]" }, { "page": "Example/P0413/2a", "contents": "{{#ask: [[Example/P0413/2]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/3", "contents": "[[Has date::2000]]" }, { "page": "Example/P0413/3a", "contents": "{{#ask: [[Example/P0413/3]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/4", "contents": "[[Has date::Feb 11 2000 10:00:01 PM]]" }, { "page": "Example/P0413/4a", "contents": "{{#ask: [[Example/P0413/4]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/5", "contents": "[[Has date::Feb 11 2000 22:00:01]]" }, { "page": "Example/P0413/5a", "contents": "{{#ask: [[Example/P0413/5]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/6", "contents": "[[Has date::2000-02-11T22:00:01]]" }, { "page": "Example/P0413/6a", "contents": "{{#ask: [[Example/P0413/6]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/7", "contents": "[[Has date::2000-02-11T22:00:01+02:00]]" }, { "page": "Example/P0413/7a", "contents": "{{#ask: [[Example/P0413/7]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/8", "contents": "[[Has date::2000 February 2]]" }, { "page": "Example/P0413/8a", "contents": "{{#ask: [[Example/P0413/8]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/9", "contents": "[[Has date::2-3-2000]]" }, { "page": "Example/P0413/9a", "contents": "{{#ask: [[Example/P0413/9]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/10", "contents": "[[Has date::2/3/2000]]" }, { "page": "Example/P0413/10a", "contents": "{{#ask: [[Example/P0413/10]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "skip-on": { "virtuoso": "Virtuoso 6.1 does not support BC/BCE dates" }, "page": "Example/P0413/11", "contents": "[[Has date::Jan 1 300 BC]]" }, { "skip-on": { "virtuoso": "Virtuoso 6.1 does not support BC/BCE dates" }, "page": "Example/P0413/11a", "contents": "{{#ask: [[Example/P0413/11]] |?Has date |?Has date#GR |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date |?Has date#JD=JD }}" }, { "skip-on": { "virtuoso": "Virtuoso 6.1 does not support BC/BCE dates" }, "page": "Example/P0413/12", "contents": "[[Has date::14000000000 BC]] (WIN-OS only allows 2147483647)" }, { "skip-on": { "virtuoso": "Virtuoso 6.1 does not support BC/BCE dates" }, "page": "Example/P0413/12a", "contents": "{{#ask: [[Example/P0413/12]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/13", "contents": "[[Has date::Feb 11 2000 Jl]]" }, { "page": "Example/P0413/13a", "contents": "{{#ask: [[Example/P0413/13]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date |?Has date#JL=JL Date |?Has date#GR=GR Date }}" }, { "page": "Example/P0413/14", "contents": "[[Has date::Feb 11 1492 Gr]]" }, { "page": "Example/P0413/14a", "contents": "{{#ask: [[Example/P0413/14]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date |?Has date#JL=JL Date |?Has date#GR=GR Date }}" }, { "page": "Example/P0413/15", "contents": "[[Has date::Feb 11 2000 10:00 GMT]]" }, { "page": "Example/P0413/15a", "contents": "{{#ask: [[Example/P0413/15]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date |?Has date#JL=JL Date |?Has date#GR=GR Date }}" }, { "page": "Example/P0413/16", "contents": "[[Has date::2000-02-22]]" }, { "page": "Example/P0413/16a", "contents": "{{#ask: [[Example/P0413/16]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "skip-on": { "virtuoso": "Virtuoso 6.1 does not support BC/BCE dates" }, "page": "Example/P0413/17", "contents": "[[Has date::11000 BC]]" }, { "skip-on": { "virtuoso": "Virtuoso 6.1 does not support BC/BCE dates" }, "page": "Example/P0413/17a", "contents": "{{#ask: [[Example/P0413/17]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date }}" }, { "page": "Example/P0413/18", "contents": "[[Has date::2488346.0804977 JD]]" }, { "page": "Example/P0413/18a", "contents": "{{#ask: [[Example/P0413/18]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date |?Has date#JD=JD }}" }, { "page": "Example/P0413/19", "contents": "[[Has date::2488346.0804977 MJD]]" }, { "page": "Example/P0413/19a", "contents": "{{#ask: [[Example/P0413/19]] |?Has date |?Has date#- |?Has date#ISO=ISO Date |?Has date#MEDIAWIKI=MW Date |?Has date#JD=JD }}" } ], "tests": [ { "type": "parser", "about": "#0 Complete date with time", "subject": "Example/P0413/1", "assert-store": { "semantic-data": { "strictPropertyValueMatch": false, "propertyCount": 3, "propertyKeys": [ "Has_date", "_SKEY", "_MDAT" ], "propertyValues": [ "2000-02-11T10:00:01" ] } }, "assert-output": { "to-contain": [ "Feb 11 2000 10:00:01" ] } }, { "type": "parser", "about": "#1", "subject": "Example/P0413/1a", "assert-output": { "to-contain": [ "