list of all mids

84 views
Skip to first unread message

Lucian Velea

unread,
May 25, 2015, 1:13:06 AM5/25/15
to freebase...@googlegroups.com
Hi,

Is it a way I could get a list of all mids and their readable names in
Freebase?

Thank you,
Lucian

Tom Morris

unread,
May 25, 2015, 5:19:50 AM5/25/15
to freebase...@googlegroups.com
On Mon, May 25, 2015 at 1:13 AM, Lucian Velea <lucian...@lexica.ro> wrote:

> Is it a way I could get a list of all mids and their readable names in
> Freebase?

The easiest way to generate that would be to filter the data dump:
https://developers.google.com/freebase/data#freebase-rdf-dumps

Tom

Lucian

unread,
May 25, 2015, 4:14:00 PM5/25/15
to freebase...@googlegroups.com
Thank you.

I don't have experience with files of this size. I guess it can be done with a command line tool like grep, but I don't know how.

Can you help me a little more?

Thank you,
Lucian

Tom Morris

unread,
May 27, 2015, 2:53:04 PM5/27/15
to freebase...@googlegroups.com
On Mon, May 25, 2015 at 4:14 PM, Lucian <lucian...@lexica.ro> wrote:
Thank you.

I don't have experience with files of this size. I guess it can be done with a command line tool like grep, but I don't know how.

Can you help me a little more?

This will give you the English labels for all MIDs:


If you have plenty of disk space and an unreliable network connection (or think you might want to extract multiple subsets), you could break apart the pipe and download the file separately first.  If you want a different language, change the @en part (although not all languages will be present for all topics).

Tom

Tom


Thank you,
Lucian


On Monday, May 25, 2015 at 12:19:50 PM UTC+3, Tom Morris wrote:
On Mon, May 25, 2015 at 1:13 AM, Lucian Velea <lucian...@lexica.ro> wrote:

> Is it a way I could get a list of all mids and their readable names in
> Freebase?

The easiest way to generate that would be to filter the data dump:
https://developers.google.com/freebase/data#freebase-rdf-dumps

Tom

--
You received this message because you are subscribed to the Google Groups "Freebase Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to freebase-discu...@googlegroups.com.
To post to this group, send email to freebase...@googlegroups.com.
Visit this group at http://groups.google.com/group/freebase-discuss.
For more options, visit https://groups.google.com/d/optout.

Lucian

unread,
Jun 3, 2015, 2:32:58 AM6/3/15
to freebase...@googlegroups.com
I finally did it :)

But it seems I get /type/id

I'd like /type/object/mid and their readable names.

Is it a way to get them?

Thank you very much,
Lucian
Reply all
Reply to author
Forward
0 new messages