How to store data like Freebase does?

后端 未结 6 393
刺人心
刺人心 2021-01-31 12:49

I admit that this is basically a duplicate question of Use freebase data on local server? but I need more detailed answers than have already been given there

I\

6条回答
  •  再見小時候
    2021-01-31 13:21

    A good news for freebase dump users is that Freebase now offer RDF dump now: http://wiki.freebase.com/wiki/Data_dumps . It is in turtle format, so it is very convenient to use any graph database designed for RDF.

    My suggestion is also 4store: http://4store.org/ . it is simple and easy to use. You could use http request to do the SPARQL operation.

    One tricky thing in my project is that the "." used in Freebase dump (to represent shorten URL) is not recognizable to 4store. So I add a bracket "<>" o all the columns contained "." and deal with the shorten URL myself.

提交回复
热议问题