Help:Inline Queries

From Lexicon Leponticum

Jump to: navigation, search

Some short examples how to insert automatic results of semantic searches in pages. A detailed instruction can be found on SMW/Semantic Search. To search within Lexicon Leponticum for defined properties, please use the semantic search.



Displays result lists in different formats.

Simple Queries

{{#ask: [[Category:Category_name]] }}
{{#ask: [[Property_name::Property_value]] }}
{{#ask: [[Category:Category_name]][[Property_name::Property_value]] }}
{{#ask: [[Category:Category_name]][[Property_name::Property_value_1]] OR
     [[Category:Category_name]][[Property_name::Property_value_2]] }}

{{#ask: [[Namespace:+]] }}
{{#ask: [[Category_name:+]] }}
{{#ask: [[Property_name::+]] }}

{{#ask: [[Property_name::~*Part_of_property_value*]] }}

Additional Printouts of Properties


Result Formats


Additional Parameters

|searchlabel= ... view full list
|default=no result




  • The code {{#ask:[[Category:Reference]] [[type_reference::palaeographical study]] |?title= |sort=sortdate |order=desc |format=ol |limit=4 |searchlabel= ... all palaeographical studies}} will display:
  1. Stifter 2010 (Lepontische Studien: Lexicon Leponticum und die Funktion von san im Lepontischen)
  2. Zavaroni 2008 (La bilingue gallo-camuna di Voltino e CIL V 4883)
  3. Markey 2006 (Early Celticity in Slovenia and at Rhaetic Magrè (Schio))
  4. Rubat Borel 2006 (Annexe 2. Nuovi dati per la storia delle lingue celtiche della Cisalpina)
  5. ... all palaeographical studies


Displays only the value of the very property of the very page.

{{#show: Page_name | ?Property_to_display }}


  • The code {{#show: BS·3.1 | ?language }} will display "Latin".
  • The code {{#show: Zavaroni 2008 | ?type_reference }} will display "palaeographical study".
Personal tools