I have a category called actors and another called film. The category film has the property 'hasBudget' and 'hasActor'. Each actor has the property 'hasNationality'.
I need a to display a list of Australian actors who have features in films with a budget above 40 million.
I use the following query to list the actors and the corresponding films and the budget.
{{#ask:[[Category:Actor]] [[hasNationality::Australia]] [[-hasActor::<q>
[[Category:Film]] [[hasBudget::>40000000]]</q>]]
|?#
|?-HasActor
|?HasBudget
|format=broadtable
|link=all
|headers=show
|searchlabel=... further results
|class=sortable wikitable smwtable
}}
However this is not able to pick the budget from the subquery. How can I extract the budget property?
Any help is very much appreciated..thanks