<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://www.kruedewagen.de/w/index.php?action=history&amp;feed=atom&amp;title=Hilfe%3ASemantic_MediaWiki</id>
	<title>Hilfe:Semantic MediaWiki - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://www.kruedewagen.de/w/index.php?action=history&amp;feed=atom&amp;title=Hilfe%3ASemantic_MediaWiki"/>
	<link rel="alternate" type="text/html" href="https://www.kruedewagen.de/w/index.php?title=Hilfe:Semantic_MediaWiki&amp;action=history"/>
	<updated>2026-04-29T23:43:29Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in www.kruedewagen.de</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://www.kruedewagen.de/w/index.php?title=Hilfe:Semantic_MediaWiki&amp;diff=9533&amp;oldid=prev</id>
		<title>Rkr: Die Seite wurde neu angelegt: „== Semantic Queries == The power of Semantic MediaWiki is based on queries towards properties or categories.  References: *[http://semantic-mediawiki.org/wiki/…“</title>
		<link rel="alternate" type="text/html" href="https://www.kruedewagen.de/w/index.php?title=Hilfe:Semantic_MediaWiki&amp;diff=9533&amp;oldid=prev"/>
		<updated>2015-11-03T08:25:03Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „== Semantic Queries == The power of Semantic MediaWiki is based on queries towards properties or categories.  References: *[http://semantic-mediawiki.org/wiki/…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Semantic Queries ==&lt;br /&gt;
The power of Semantic MediaWiki is based on queries towards properties or categories.&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
*[http://semantic-mediawiki.org/wiki/Help:Semantic_search Help:Semantic search]&lt;br /&gt;
*[http://semantic-mediawiki.org/wiki/Help:Inline_queries Help:Inline queries]&lt;br /&gt;
&lt;br /&gt;
Pages in this wiki with query examples:&lt;br /&gt;
*&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
=== A sample query ===&lt;br /&gt;
According to the sample &amp;quot;E-Mail&amp;quot; property from above, this is an example on how to query a list of pages containing such an &amp;quot;E-Mail&amp;quot; property:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{#ask:[[E-Mail::+]]&lt;br /&gt;
|?E-Mail&lt;br /&gt;
|format=table&lt;br /&gt;
|mainlabel=Page&lt;br /&gt;
|limit=10&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result:&lt;br /&gt;
{{#ask:[[E-Mail::+]]&lt;br /&gt;
|?E-Mail&lt;br /&gt;
|format=table&lt;br /&gt;
|mainlabel=Page&lt;br /&gt;
|limit=10&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Count ===&lt;br /&gt;
Count the number of queried items:&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;{{#ask:[[Category:Dictionary]]|format=count}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
There are currently &amp;#039;&amp;#039;&amp;#039;{{#ask:[[Category:Dictionary]]|format=count}}&amp;#039;&amp;#039;&amp;#039; items in the [[:Category:Dictionary]].&lt;br /&gt;
&lt;br /&gt;
=== Page result column ===&lt;br /&gt;
If you want to move the result wiki page to the right you can use &amp;quot;?=Wiki Page&amp;quot; and &amp;quot;mainlabel=-&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{#ask:[[-Has subobject::+]][[PropAbbrDictDefinition::+]]&lt;br /&gt;
|?PropAbbrDictDefinition&lt;br /&gt;
|?PropAbbrDictContext &lt;br /&gt;
|?=Wiki Page&lt;br /&gt;
|format=table&lt;br /&gt;
|mainlabel=-&lt;br /&gt;
|limit=5&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{#ask:[[-Has subobject::+]][[PropAbbrDictDefinition::+]]&lt;br /&gt;
|?PropAbbrDictDefinition&lt;br /&gt;
|?PropAbbrDictContext &lt;br /&gt;
|?=Wiki Page&lt;br /&gt;
|format=table&lt;br /&gt;
|mainlabel=-&lt;br /&gt;
|limit=5&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Formatting Output using Templates ===&lt;br /&gt;
In order to format all aspects of the query output, you can assign templates to the query like&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{ #ask:  [[Category:Dictionary]] &lt;br /&gt;
|?Heading 1&lt;br /&gt;
|?Heading 2&lt;br /&gt;
|?Heading 3&lt;br /&gt;
|format=template&lt;br /&gt;
|template=&amp;lt;name&amp;gt;&lt;br /&gt;
|introtemplate=&amp;lt;name&amp;gt;&lt;br /&gt;
|outrotemplate=&amp;lt;name&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
*[http://semantic-mediawiki.org/wiki/Help:Template_format Help:Template format]&lt;br /&gt;
&lt;br /&gt;
==== Tips and Tricks ====&lt;br /&gt;
*Use &amp;#039;&amp;#039;link=none&amp;#039;&amp;#039; if you want to format internal or external links, especially with properties from type URL. Or use &amp;quot;#&amp;quot; for each single field. See also [http://wikimedia.7.n6.nabble.com/creating-replacement-text-for-URL-in-ask-results-table-td591660.html creating-replacement-text-for-URL-in-ask-results-table].&lt;br /&gt;
*Use &amp;lt;nowiki&amp;gt;&amp;lt;nowiki/&amp;gt;&amp;lt;/nowiki&amp;gt; element in order to avoid line breaks if a property is not set. Useful in templates. Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{#if: {{{DefinitionGlobal|}}}|[[PropGlossaryDefinitionGlobal::{{{DefinitionGlobal|}}}]]}}&amp;lt;nowiki/&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
See following examples about using such formatting templates.&lt;br /&gt;
&lt;br /&gt;
=== Subqueries ===&lt;br /&gt;
See [[/Subqueries|Subqueries]].&lt;br /&gt;
&lt;br /&gt;
=== Query for recent changes ===&lt;br /&gt;
There is a built-in property that can be used to query for modification date. See [[Help:Semantic_MediaWiki/Queries/Modification_date|Modification date]].&lt;/div&gt;</summary>
		<author><name>Rkr</name></author>
	</entry>
</feed>