[Data-modeling] architecture schema task DA-841: included types

brendan brendan at metaweb.com
Tue Jul 7 18:09:13 UTC 2009


(https://bugs.freebase.com/browse/DA-841).  the /architecture/ 
structure type is the root type for several other architecture types  
(building, house, skyscraper, tower), meaning those types have  
"structure" as an included type. Sometime ago, we agreed that / 
architecture/structure "is-a" location.  /location/location was added  
as an included type for "structure".

I'd like to add "/location/location" as an included type for the  
following 4 types:

/architecture/building, house, skyscraper, tower

(I know we had a discussion about removing the tower type. I've punted  
on that since we didn't find consensus , and it's doing no harm)

[skip this part if you already understand type inclusion]
The included type system is really just a hint for the freebase.com  
"application".  In particular, when a user adds a new type to a topic,  
the list of included types associated with that type will *also* be  
added to that topic. But the process is not recursive.  So, for  
example, if I mark a topic as a "house", it will also be marked as a  
"structure" but the included types for structure (e.g. "/location/ 
location") will not be added to that topic.  This is by design.  I  
think the basic justification for the design choice is that it's  
easier to maintain these things explicitly rather than have complex  
chains of inclusion that are difficult to keep track of.  At any rate,  
this inclusion does not happen at the mql layer and my proposed change  
should not affect any existing users/apps.

There are a number of types outside of /architecture that include / 
architecture/structure.  Arguably, all should include "/location/ 
location".  Frankly, this scenario makes a pretty good case *for* type  
inclusion chaining.  Maintaining type inclusion on all the following  
types (with different admins) seems a little daunting.

/theater/theater
/sports/sports_facility
/cricket/cricket_stadium
/religion/place_of_worship
/olympics/olympic_venue
/base/fires/fire_station

and a bunch more /base types


brendan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/data-modeling/attachments/20090707/f636ec79/attachment-0001.htm 


More information about the Data-modeling mailing list