Hi Nils, if I understand your example you have several pages with an annotation like
[[hasVehicle::Car]] Now you're on the 'Car' page and want to search for all pages that have this annotated. That is done by <ask>[[hasVehicle::{{Pagename}}]]</ask> In order to get a nicer layout use <ask format="table" intro="These pages use me as a vehicle:"> [[hasVehicle::{{Pagename}}]]</ask> If I got your question wrong it's because of the heat in my office ;) Cheers, Markus Diplomand Computer Science in Media Professional Services ontoprise GmbH Amalienbadstraße 36 (Raumfabrik 29) 76227 Karlsruhe Germany [EMAIL PROTECTED] www.ontoprise.de -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED] Gesendet: Dienstag, 17. April 2007 13:02 An: semediawiki-user@lists.sourceforge.net Betreff: [Semediawiki-user] Inline query for siblings I want to search for similar pages. Lets say several pages have a common relation to [[parent::Root]] How can i do an inline search on one page for pages who share that relation to the same page/object? I tried something like <ask>[[parent::<q>{{PAGENAME}} [[parent::*]]</q>]]</ask> It's possible to do such a search with Special:SearchTriple or Special:SearchByRelation but apparently not in inline queries. Or am i just unable to formulate a correct query? Thanks in advance. Nils ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Semediawiki-user mailing list Semediawiki-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Semediawiki-user mailing list Semediawiki-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user