6

I want to extract music data from the freebase data dumps. (http://www.freebase.com/music)

Once I have the data dump how to I extract say the following properties http://www.freebase.com/music/recording?schema=

Will a better approach be get all songs and then fetch relevant information from it? If this is a good approach how should I go about extracting it?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
varunthacker
  • 2,204
  • 2
  • 19
  • 19

1 Answers1

7
zgrep $'\tns:music\.recording' freebase-rdf-{date}.gz | gzip > freebase-filtered.gz

should get you started. Depending on what other information you want, you may need to expand on it.

Tom Morris
  • 10,490
  • 32
  • 53