Freebase Query with "JOINS"

Posted by codemonkey on Stack Overflow See other posts from Stack Overflow or by codemonkey
Published on 2011-01-01T19:43:05Z Indexed on 2011/01/01 19:54 UTC
Read the original article Hit count: 307

Filed under:
|
|
|

... Yeah, yeah, I know traditional joins don't exist. I actually like the freebase query methodology in theory, just having a little trouble getting it to actually work for me : )

Anyone have a dumb-simple example of getting Freebase data via MQL that pulls from two different "tables"? In particular, I'm trying to get automotive data... so for example, pulling fields from both /automotive/model_year and /automotive/trim_year.

I've read the documentation (for hours actually). There's a distinct possibility that I'm looking right at such an example somewhere and just not seeing it because my OLTP brain just doesn't comprehend what it's seeing.

* Note * ... that the two "types" I'm working with above are siblings, not parent/child. Does freebase even allow joining data between sibling nodes... I see examples of queries pulling from parent/child, but not from siblings I don't think (or I've overlooked them).

© Stack Overflow or respective owner

Related posts about sql

Related posts about join