{
	"description": "imported-from query (@see issues/4971)",
	"setup": [
		{
			"namespace": "NS_MEDIAWIKI",
			"page": "Smw import foaf",
			"contents": "http://xmlns.com/foaf/0.1/|[http://www.foaf-project.org/ Friend Of A Friend]\n name|Type:Text\n homepage|Type:URL\n"
		},
		{
			"namespace": "SMW_NS_PROPERTY",
			"page": "Foaf:homepage",
			"contents": "[[Imported from::foaf:homepage]]"
		},
		{
			"page": "Page1",
			"contents": "{{#ask: [[Imported from::+]] |?Imported from |format=plainlist  }}"
		}
	],
	"tests": [
		{
			"type": "parser",
			"about": "#1 (output imported-from query)",
			"subject": "Page1",
			"assert-output": {
				"to-contain": [
					"<a href=\"/wiki/Property:Foaf:homepage\" title=\"Property:Foaf:homepage\">Foaf:homepage</a> (<span class=\"smw-highlighter\" data-type=\"1\" data-state=\"inline\" data-title=\"Property\" title=\"&quot;Imported from&quot; is a predefined property that describes a relation to an imported vocabulary and is provided by Semantic MediaWiki.\" data-content=\"&quot;Imported from&quot; is a predefined property that describes a relation to an &lt;a rel=&quot;nofollow&quot; class=&quot;external text&quot; href=&quot;https&#58;//www.semantic-mediawiki.org/wiki/Help:Import&#95;vocabulary&quot;&gt;imported vocabulary&lt;/a&gt; and is provided by &lt;a rel=&quot;nofollow&quot; class=&quot;external text&quot; href=&quot;https&#58;//www.semantic-mediawiki.org/wiki/Help:Special&#95;properties&quot;&gt;Semantic MediaWiki&lt;/a&gt;.\"><span class=\"smwbuiltin\"><a href=\"/wiki/Property:Imported_from\" title=\"Property:Imported from\">Imported from</a></span><span class=\"smwttcontent\"></span></span>: <a href=\"/wiki/MediaWiki:Smw_import_foaf\" title=\"MediaWiki:Smw import foaf\">foaf:homepage</a> (<a rel=\"nofollow\" class=\"external text\" href=\"http://xmlns.com/foaf/0.1/\">foaf</a> | <a rel=\"nofollow\" class=\"external text\" href=\"http://www.foaf-project.org/\">Friend Of A Friend</a>))"
				]
			}
		}
	],
	"settings": {
		"smwgNamespacesWithSemanticLinks": {
			"NS_MAIN": true,
			"SMW_NS_PROPERTY": true
		}
	},
	"meta": {
		"version": "2",
		"is-incomplete": false,
		"debug": false
	}
}
