[Developers] Hierarchical included types

Tom Morris tfmorris at gmail.com
Fri May 29 15:44:34 UTC 2009


On Fri, May 29, 2009 at 4:36 AM, Philip Kendall
<philip-freebase at shadowmagic.org.uk> wrote:
> On Thu, May 28, 2009 at 10:30:14AM -0700, Kirrily Robert wrote:
>>
>> I *think* that the hierarchy-walking happens in the schema editor,
>> when you add included types.  So with the situation you just
>> described, since project focus came after sports facility was
>> designed, we need to go back and add project focus as an included type
>> to sports facility (and anything else that had structure as an
>> included type).
>
> [{
... [MQL query elided] ...
> }]
>
> gives some likely candidates for this :-)

There's a table of the 45 types at
http://www.freebase.com/view/user/tfmorris/default_domain/views/structures_not_project_focus
if someone wants to clean them up by hand.

If someone wants a little MQL exercise though, it might be worth doing
a sweep of the entire type hierarchy (oops not hierarchy,
included_type tree) to look for inconsistencies.  This is unlikely to
be the only example.

Tom


More information about the Developers mailing list