Help:Ask syntax/Annotation query marker

The   query marker marks an inline query as part of an annotation. It was introduced in CiteRef::gh:smw:2572.

Rationale
It is possible to use inline queries ( or  ) to create semantic annotations. In other words, you can set the value of a semantic property to the result of an inline query. Since caching is used, the property value will not be automatically updated when the query result changes.

You can now let Semantic MediaWiki know that the inline query is used inside of a semantic annotation via the annotation query marker. This then allows Semantic MediaWiki to update the property value when the query result changes.

Example
Output of a query used to provide the data value of an annotation:

SomeProperty::
 * Syntax

: More examples for this query marker
 * Link

Note
Post-processing of jobs created by this query marker is done by .CiteRef::gh:smw:3318 See also.