On the Freebase website topic pages they have a section called "Related Topics". So for example, in the case of Toy Story it has: Toy Story 2, Cars, Finding Nemo & Monsters, Inc
I've read through examples in the Query Editor, the manual, Stack Overflow and Google but I can't find a way to duplicate that in MQL. Does anyone have any idea how to do that in MQL?
This is an internal Freebase only feature and is not available to the public (also, it's going away when the website is relaunched "soon").
Freebase staff have previously said that you should file a request on the Freebase JIRA if you want this feature to be made available publicly, but they seem to use the bug tracker more as a bitbucket than anything else.
Related
I know that Google Dictionary was discontinued in 2011, but the dictionary information and definitions are still available through google search results:
Does anyone know whether this information can be accessed through the Custom Search API or the Translate API?
I found this related question (but sadly without a satisfying answer).
I also needed Google Dictionary API for my project, it was not present so I decided to create one.
I scrapped the WebPage for the url https://www.google.com/#q=define+term where term is any word you want to get meaning of, and created the API, you can find it here Google Dictionary API.
How to use
The basic syntax of a URL request to the API is shown below:
https://api.dictionaryapi.dev/api/v2/entries/<--language_code-->/<--word-->
As an example, to get definition of English word hello, you can send request to:
https://api.dictionaryapi.dev/api/v2/entries/en/hello
The API also provides other meanings of the word, example sentences, and synonyms, if any.
If you want me to include any other details, please comment and I will happily extend the API to cover your needs.
In case you wish to see the code, it is on github.
Google Dictionary's content is licenced from Oxford Dictionaries' Lexico. Their API can be accessed from here.
Note their free access platform ("prototype") has a number of limitations:
1000 requests per month
Limited data access
Limited request rate
It doesn't look promising from the API Explorer
https://developers.google.com/apis-explorer/#search/dictionary/
I hope this is the right place to ask this question.
I am attempting to attribute Freebase, but this website: https://www.freebase.com/policies/attribution
Does not produce any HTML code or image.
My question is: How do I give proper attribution to Freebase in a mobile app? Specifically, iOS.
Or, is the citation included in the API response sufficient?
Example:
citation = {
provider = Wikipedia;
statement = "Description licensed under the Creative Commons Attribution-ShareAlike License (http://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License).";
uri = "http://en.wikipedia.org/wiki/Georgia_Institute_of_Technology";
};
EDIT:
I've tried to access the website via Safari, Mozilla Firefox, and Google Chrome. All of which do not show any HTML code or image.
EDIT 2:
I've recently found this webpage, which seems to cover all types of licensing for Freebase. Although, I think some of the content is outdated.
http://legal.stefanomazzocchi.user.dev.freebaseapps.com/licensing
Looks like they were the victim of their own API decommissioning. If you look at the information returned by the Topic API, it includes attribution information for the given topic. Basically what they want is:
if you reference a single topic, your attribution should include a link to the equivalent Freebase topic
if you link to multiple topics or derive general info from Freebase, you should link to the Freebase home page.
if you're writing an academic paper, you cite the original Bollacker et al paper on Freebase.
Of course, not only am I not your lawyer or Google's lawyer, but I'm not a lawyer at all and this communication does not establish a client-lawyer relationship. :-)
This question is coming from a non-technical person. I have asked a team to build a sort of RSS reader. In essence, its a news aggregator. What we had in mind at first was to source news directly from specific sources: ft.com, reuters.com, and bloomberg.com.
Now, the development team has proposed a certain way of doing it (because it'll be easier)... which is to use news.google.com and return whatever is the result. Now I know this has questionable legality and we are not really that comfortable with that fact, but while the legal department is checking that.. we have proceeded working with a prototype.
Now comes the technical problem... because the method was actually simulating search via news.google.com, after a period of time it returns a captcha. I'm suspicious that its because the method was SEARCHING WITH RESULTS SHOWN AS RSS as opposed to an outright RSS... however the dev team says RSS is exactly the same thing... and that it will give captcha as well.
I have my doubts. If thats the case, how have the other news aggregator sites done their compilation of feeds from different sources?
For your reference, here is the same of the URL that eventually gives the CAPTCHA
https://news.google.com/news/feeds?hl=en&gl=sg&as_qdr=a&authuser=0&q=dbs+bank+singapore&bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&biw=1280&bih=963&um=1&ie=UTF-8&output=rss
"Searching" is usually behind a captcha because it is very resource intensive, thus they do everything they can to prevent bots from searching. A normal RSS feed is the opposite of resource intensive. To summarize: normal RSS feeds will probably not trigger CAPTCHA's.
Since Google declared their News API deprecated as of May 26, 2011, maybe using NewsCred as suggested in this group post http://productforums.google.com/forum/#!topic/news/RBRH8pihQJI could be an option for your commercial use.
I have been looking for an autosuggest search script and I have finally found one that I like, the only problem is that I cannot find a way to get it to run off our database results.
Is there any way to customize this script so that it runs from our own database, and not off the freebase pre-defined data types?
http://www.freebase.com/docs/suggest
Have you tried overriding service_url and service_path ? There are also the corresponding params for the flyout service. It's documented in the docs that you pointed to.
As masouras says, you can override service_url and service_path, but that's not particularly helpful unless you have another service which provides the same APIs as Freebase.
Dae Park recently posted a recipe to the Freebase mailing list which might help - however, I'm not aware of anyone who's actually managed to get Suggest working with anything other than Freebase.
I am tinkering with Freebase, and trying things with the query editor and everything looks great. I'm still reading the fine manual, but can't seem to get the point if this may be used as a web search replacement for showing refined data to the user. The main question is:
If {q1, q2, q3 ....} be the query the user submits - how do I programatically map each query term to the freebase query key:value pair?
I am not sure if it can entirely replace the current search engines as of now.I have just written a blog post for handling a basic query(more will follow) in C# for freebase.
http://2guysfrommumbai.wordpress.com/
If you like the java stuff you can go to,
https://github.com/narphorium/freebase-java-api
this is a more complete api,and i have used it with good success.
You can append multiple queries using q1,q2,q3 as parameters,more details are available on the freebase developer site.
Hope this helps.