freebase

Setup api key for freebase queries from appengine

烈酒焚心 提交于 2019-12-01 09:46:57
I have followed these instructions: https://developers.google.com/console/help/#generatingdevkeys/ . I registered the freebase service and added the Simple API key for browser apps to the query: https://api.freebase.com/api/service/mqlread?key=keygoeshere&query= {MQLquery} I then get the following error: {u'code': 100, u'message': u'Invalid API Key (Key not found)', u'stat': u'fail'} If I remove the key from the query it works locally but remotely I get: freebase api error on deployment to appengine: DownloadError: ApplicationError: 2 . Which I believe is due to freebase blocking the appengine

Freebase Java API full text retrieval

↘锁芯ラ 提交于 2019-11-30 20:34:51
问题 Is it possible to use the "text" MQL extension with the java api, so you can get the full description text. I mean sth like this:link but for the java api. 回答1: You can use the extended parameter in the query envelope to enable MQL extensions in your query. With the example query that Philip gave in the linked question, that would look like this: JSON query = o( "id", "/en/jimi_hendrix", "/common/topic/article", a(o( "text", o( "maxlength", 16384, "chars", null ) )) ); JSON envelope = o(

Freebase query for full topic summary

蹲街弑〆低调 提交于 2019-11-30 10:34:56
I'm trying to retrieve the full topic description/summary for some Freebase articles. I have been using the Freebase topic API, which returns this type of results: http://www.freebase.com/experimental/topic/standard?id=/en/jimi_hendrix But I notice that the description is not complete and ends with "...". Is there a way to use some Freebase API to obtain the article's full description? Does Freebase even store the complete description or does it just stores a portion of the description from Wikipedia? Freebase just stores a portion of the Wikipedia description but there is usually more than

Use freebase data on local server?

最后都变了- 提交于 2019-11-30 02:24:43
Are there any existing ways of using the freebase data dumps to create a database similar to what freebase offers, but on you own server? Pretty much freebase but locally and not through the API? I guess it would be possible to create, but are there any existing solutions for this already? Or any alternative solutions for similar data without using an API? I didnt find this for dbpedia either :| Take a look at the freebase-quad-rdfize project on Google Code. It should allow you to download the weekly Freebase quad dump and load it into the RDF triple store of your choice. An alternative to

Freebase query for full topic summary

荒凉一梦 提交于 2019-11-29 15:46:08
问题 I'm trying to retrieve the full topic description/summary for some Freebase articles. I have been using the Freebase topic API, which returns this type of results: http://www.freebase.com/experimental/topic/standard?id=/en/jimi_hendrix But I notice that the description is not complete and ends with "...". Is there a way to use some Freebase API to obtain the article's full description? Does Freebase even store the complete description or does it just stores a portion of the description from

Freebase Google data dumps searching for all films

半城伤御伤魂 提交于 2019-11-29 12:02:48
I am trying to work with Freebase data dumps. I try to get only the films Ids by searching the predicates that starts with "film.film". But like that I got alot of unrelated items. this is a predicate for example: film.film_character.portrayed_in_films_dubbed..film.dubbing_performance.film which brings Id of this url: http://www.freebase.com/m/0pc731y which is not a movie but a character in a movie. Can anybody help me please??? If you do a prefix search, you're going to get anything which matches the prefix. If you want IMDB ids, like your other question, you could search for: ns:type.object

How to extract Freebase Data Dump for a particular topic

≯℡__Kan透↙ 提交于 2019-11-29 10:44:36
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? 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. 来源: https://stackoverflow.com/questions/16594646/how

Use freebase data on local server?

浪子不回头ぞ 提交于 2019-11-28 23:16:25
问题 Are there any existing ways of using the freebase data dumps to create a database similar to what freebase offers, but on you own server? Pretty much freebase but locally and not through the API? I guess it would be possible to create, but are there any existing solutions for this already? Or any alternative solutions for similar data without using an API? I didnt find this for dbpedia either :| 回答1: Take a look at the freebase-quad-rdfize project on Google Code. It should allow you to

Freebase Google data dumps searching for all films

試著忘記壹切 提交于 2019-11-28 06:04:00
问题 I am trying to work with Freebase data dumps. I try to get only the films Ids by searching the predicates that starts with "film.film". But like that I got alot of unrelated items. this is a predicate for example: film.film_character.portrayed_in_films_dubbed..film.dubbing_performance.film which brings Id of this url: http://www.freebase.com/m/0pc731y which is not a movie but a character in a movie. Can anybody help me please??? 回答1: If you do a prefix search, you're going to get anything