Semantic MediaWiki and related extensions
Querying and displaying data

When resolving a query request (i.e. resolving the parser function {{#ask ... }} or {{#show: ... }}) the QueryEngine has two distinct tasks to accomplish:

src/ParserFunctions

src/Query

src/Query/Language

Each condition element (e.g. [[Has foo::bar]] || [[!Foo]]) of a query is represented by a Description object allowing to express a query condition as as description AST.

src/Query/Result

src/Query/ResultPrinters

A ResultPrinter is the user facing output formatter that takes a QueryResult and transform its representation into a specific format by extending:

Examples


About | General disclaimer | Privacy policy