[Developers] MQL query for included types
Philip Kendall
philip-freebase at shadowmagic.org.uk
Sun Jul 19 15:43:58 UTC 2009
On Sun, Jul 19, 2009 at 07:18:19PM +0400, Iain Sproat wrote:
> I've been using the following query for finding included types:
>
> > [{
> > "/freebase/type_hints/included_types": [],
> > "id":"/royalty/noble_person"
> > }]
>
>
> which works just fine; but I was curious as to why it doesn't show up in the
> /freebase/type_hints<http://www.freebase.com/view/freebase/type_hints?domain=/freebase>table
> in the client nor in the following query? (only 29 no. are ever
> shown)
Because /royalty/noble_person isn't typed as a /freebase/type_hints.
There's no requirement at the MQL level that a node be typed as an X in
order to have properties from X's schema (the web client does enforce
this though).
Cheers,
Phil
--
Philip Kendall <philip at shadowmagic.org.uk>
http://www.shadowmagic.org.uk/
More information about the Developers
mailing list