You need to formulate a query within a query, using subquery syntax. I believe it goes something like this:
<ask> [[Category:Person]] [[Name:=*]] [[Participant of ::<q> [[Category:Event]] [[Has location country::Austria]] </q>]] </ask> See http://ontoworld.org/wiki/Help:Semantic_search#Subqueries for documentation on this. Wes ----- Original Message ----- From: "Jones, David H" <[EMAIL PROTECTED]> To: <semediawiki-user@lists.sourceforge.net> Sent: Monday, May 21, 2007 11:05 AM Subject: [Semediawiki-user] Inline query question: Queries across categories > Can I formulate the following query as an inline query? (example based on People and Event categories at Ontoworld.org) > > "Give me a list of all people who are attending any event in Austria." > > Below are several attempts to do this which do NOT work. > > <ask> > [[Category:Person]] > [[Name:=*]] > [[Participant of ::*]] > [[Has location country::Austria]] > </ask> > > <ask> > [[Category:Person]] > [[Category:Event]] > [[Name:=*]] > [[Participant of ::*]] > [[Has location country::Austria]] > </ask> > > Dave Jones > [EMAIL PROTECTED] > > > ------------------------------------------------------------------------- > 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