ASK Queries¶
Description¶
ASK is the query language to extract data from Semantic MediaWikis.
The wiki needs to have a public API that supports those queries.
Example Code¶
<div id="table-ask-query" class="plastic-js" style="height: auto; width: 100%;">
<div class="plastic-query" type="application/ask-query"
data-url="http://semwiki-exp01.multimedia.hs-augsburg.de/ba-wiki/api.php">
[[Kategorie:Mitarbeiter]]
| ?Vorname=Vorname
| ?Nachname=Nachname
| ?Mail=Mail
| ?Festnetz=Festnetz
| ?Handy=Handy
</div>
<div class="plastic-options" type="application/json">
{
"benchmark": true
}
</div>
<div class="plastic-display" data-module="advanced-table" type="application/json">
{
"tableClasses": "table table-condensed smaller-font",
"paging": true,
"searching": true,
"ordering": true,
"orderMulti": true
}
</div>
</div>
Live Example¶
[[Kategorie:Mitarbeiter]]
| ?Vorname=Vorname
| ?Nachname=Nachname
| ?Mail=Mail
| ?Festnetz=Festnetz
| ?Handy=Handy
{
"tableClasses": "table table-condensed smaller-font",
"paging": true,
"searching": true,
"ordering": true,
"orderMulti": true
}