I have downloaded the Freebase dump from https://developers.google.com/freebase/data?hl=en, but I am confused about the relation of the file.
I know the format of the dump is <subject> <predicate> <object> .. If I want to extract the alias subset of Freebase, like http://www.freebase.com/common/topic/alias?instances&lang=en, how can I do for this?
I have tried to filter the lines that contains the mid or '/common/topic/alias', but the result is not what I want.
Is there any library to parse Freebase? Thanks!
Follow up:
I have two more questions.
- Is there a list that shows all the namespace in freebase? (e.g.
type.object.nameis the name of object) - How can extract all the 'type of (IS A)' relations? (e.g. C++ IS A programming language)