I'm trying to figure out if there's a way to determine whether a given article refers to a Person, Organization or Location. I imagine the answer lies somewhere in the "categories" and "clcategories" parameters... however, here's the issue.
Take Albert Einstein for example. The results for the query:
...show me that, indeed, Albert Einstein is a member of the category "People from Berlin".
Similarly, just by browsing through the Category tree on Wikipedia, I can show that "People from Berlin" is a subcategory of the category "People", via this path:
People > People_categories_by_parameter > People by place > People by city > People by country and city > People by city in Germany > People from Berlin
However, Albert Einstein isn't (directly) a member of the category "People", so this query:
...gets me no results under Categories, i.e. it's not a match.
Is there some way to find out whether a page is a member of any Category X, where category X is a descendant of a specified Category Y?
Thanks!