{ "description": "Test RDF output generation on SubSemanticData traversal (#2177, `wgContLang=en`, `wgLang=en`)", "setup": [ { "namespace": "SMW_NS_PROPERTY", "page": "DeepExportRecord", "contents": "[[Has type::Record]] [[Has fields::Monolingual text;Number]]" }, { "namespace": "SMW_NS_PROPERTY", "page": "DeepDeepExportReference", "contents": "[[Has type::Reference]] [[Has fields::Monolingual text;Date]]" }, { "namespace": "SMW_NS_PROPERTY", "page": "DeepDeepExportRecord", "contents": "[[Has type::Record]] [[Has fields::DeepDeepExportReference]]" }, { "page": "Example/R0012/1", "contents": "{{#subobject: |DeepExportRecord=Test@en;12 |DeepExportRecord=Test@en;123 |DeepExportRecord=Test@en;1234 }}" }, { "page": "Example/R0012/2", "contents": "{{#subobject: |DeepDeepExportRecord=Test@en\\;1 Jan 1970 |DeepDeepExportRecord=Test@fr\\;1 Jan 1971 }}" } ], "tests": [ { "type": "rdf", "about": "#0 does not cause a SubSemanticDataException during the export", "exportcontroller": { "print-pages": [ "Example/R0012/1" ], "parameters": { "backlinks": true, "recursion": "1", "revisiondate": false } }, "assert-output": { "to-contain": [ "", "", "", "", "", "en", "Test", "Test" ] } }, { "type": "rdf", "about": "#1 stable IDs and `subobject->record->reference->monolingual text` traversal", "exportcontroller": { "print-pages": [ "Example/R0012/2" ], "parameters": { "backlinks": true, "recursion": "1", "revisiondate": false } }, "assert-output": { "to-contain": [ "", "", "", "", "", "", "", "1971-01-01Z", "1970-01-01Z", "Test", "Test" ] } } ], "settings": { "wgContLang": "en", "wgLang": "en", "smwgExportBCNonCanonicalFormUse": false, "smwgNamespacesWithSemanticLinks": { "NS_MAIN": true, "SMW_NS_PROPERTY": true }, "smwgNamespace": "http://example.org/id/" }, "meta": { "version": "2", "is-incomplete": false, "debug": false } }