{ "description": "Test RDF output generation on pages that contain incoming error annotations (`wgContLang=en`, `wgLang=es`, syntax=rdf/turtle)", "setup": [ { "namespace": "SMW_NS_PROPERTY", "page": "Has area without unit", "contents": "[[Has type::Quantity]]" }, { "page": "Example/R0008/1", "contents": "[[Has area without unit::1 m]]" } ], "tests": [ { "type": "rdf", "about": "#0 incoming (error) is exported in canonical form (especially when user language is different)", "exportcontroller": { "print-pages": [ "Property:Has area without unit" ], "parameters": { "backlinks": true, "recursion": "1", "revisiondate": false } }, "assert-output": { "to-contain": [ "", "Has area without unit", "Has area without unit", "" ], "not-contain": [ "", "Tiene valor incorrecto para" ] } }, { "type": "rdf", "about": "#1 (turtle)", "exportcontroller": { "syntax": "turtle", "print-pages": [ "Property:Has area without unit" ], "parameters": { "backlinks": true, "recursion": "1", "revisiondate": false } }, "assert-output": { "to-contain": [ "property:Has_area_without_unit", "rdf:type owl:DatatypeProperty ;", "rdfs:label \"Has area without unit\" ;", "swivt:wikiNamespace \"102\"^^xsd:integer ;", "swivt:wikiPageSortKey \"Has area without unit\" ;", "swivt:type .", "", "swivt:masterPage ;", "property:Has_improper_value_for property:Has_area_without_unit ;" ] } } ], "settings": { "smwgExportBCNonCanonicalFormUse": false, "smwgNamespacesWithSemanticLinks": { "NS_MAIN": true, "NS_CATEGORY": true, "SMW_NS_PROPERTY": true }, "wgContLang": "en", "wgLang": "es", "smwgNamespace": "http://example.org/id/" }, "meta": { "skip-on": { "mediawiki": [ ">1.42.x", "Skipping, broken due to missing 4, 5, 6 in #1" ] }, "version": "2", "is-incomplete": false, "debug": false } }