Questions tagged [freebase]

Freebase was a large, Google owned, community-edited, general knowledge semantic database that could previously be accessed via a RESTful API. It was shut down in 2016.

Freebase was a large, community-edited, general knowledge semantic database that could be accessed via a RESTful API. Its core information is derived from Wikipedia, MusicBrainz, and OpenLibrary, among other sources. It retains links to those sources, as well as a large number of other sources of strong identifiers (Library of Congress, New York Times, IMDB, etc), allowing cross-referencing among the various sources.

It was originally developed by Metaweb and is now owned by Google. Data can be reused under a CC-BY attribution license.

Freebase was shutdown on May 2, 2016, although extracts of the data are available.

655 questions
4
votes
2 answers

Getting an objects property with slashes in it

I'm getting a json result back from an api request to the freebase database. This is part of the object returned called $json. A var dump of $json: stdClass Object ( [name] => Abomey [/location/statistical_region/population_growth_rate] =>…
stUrb
  • 6,612
  • 8
  • 43
  • 71
3
votes
1 answer

freebase search api

How can I only return results which have a notable type? IE when I have the default example: https://www.googleapis.com/freebase/v1/search?query=nirvana&indent=true It normally returns something like: { "mid": "/m/015k7", "name": "Gautama…
ere
  • 1,739
  • 3
  • 19
  • 41
3
votes
2 answers

Freebase MQL to list out all commons types for a given word?

I'm trying to figure out how to write a MQL query to get a list of all the types associated to a given word. For example I tried: { "id":null, "name":null, "name~=": "SOME_WORD", "type":"/type/type", "domain": { "id": null, …
ere
  • 1,739
  • 3
  • 19
  • 41
3
votes
1 answer

autocomplete with freebase and jsonp

I'm trying to use the example for Jquery-ui autocomplete to work with Freebase. Additionally I'm using the tag-it plugin... This is what I'm trying but doesn't work: $(function() { $("#tags").tagit({ tagSource: function( request,…
ere
  • 1,739
  • 3
  • 19
  • 41
3
votes
2 answers

Graph Traversing algorithms in Semantic web

I am asking about Algorithms that would be useful in Querying the Semantic web DB to get all the related RDFs to an original Object. i.e If the original Object is the movie "inception", I want an algorithm to build queries to get the RDFs of the…
smohamed
  • 3,234
  • 4
  • 32
  • 57
3
votes
2 answers

Retrieving freebase quad dump type names from id

I'm currently working on a project using the freebase dumps, which I insert assertions into a per-mid ordered LevelDB. My goal is to be able for a given name, like Bob Dylan, to retrieve every types linked to it name. For example, "Bob Dylan" would…
Oleiade
  • 6,156
  • 4
  • 30
  • 42
3
votes
2 answers

How to get person data using Freebase API?

After 30 mins of reading Freebase Wiki, still can't figure out how to extact person data from their API. I have person unique identifier ("/m/01vwllw") and want to extract all infos about that person (address, birthdate, etc). Any hint will be…
donkeykong
  • 203
  • 2
  • 13
3
votes
1 answer

Freebase "Key cursor is a reserved word"

Following the Freebase docs on Envelope Parameters, running { "cursor":true, "query":[{ "type":"/music/album", "artist":"The Police", "name":null, "limit":10 }] }​ results in error "Key cursor is a reserved word" as @Domenic…
Alec Wenzowski
  • 3,878
  • 3
  • 25
  • 40
3
votes
2 answers

How to express current date in MQL Freebase Query?

Freebase's metaweb query language can be used to retreive future events if you pass in an ISO8601 formatted date. [{ "id": null, "name": null, "start_date" : null, "type": "/time/event", "start_date>" : …
Alec Wenzowski
  • 3,878
  • 3
  • 25
  • 40
3
votes
1 answer

Eliminating MQL results on any_reverse reflection

I'm trying to get all events in a geo bounding box (that approximately covers France), but I want to exclude all recurring events, so I don't get heaps of French Tennis opens and the like. For this I used the following in my…
kmc
  • 660
  • 13
  • 25
3
votes
1 answer

Best API to retrieve zip code by user input city name (US only)?

I have a city name field I am getting value from (i.e. randomly formatted), such as "NEW YORK", "new york" or "new-york" or "ny". Having that field's value, I need to present user with a list of cities that have that value in their name in this…
Misha Reyzlin
  • 13,736
  • 4
  • 54
  • 63
3
votes
2 answers

Can jQuery.getJSON put a domain's cookies in the header of the request it makes?

(Note: See also the related question Can browsers react to Set-Cookie specified in headers in an XSS jquery.getJSON() request?) I can't seem to set a cookie (whose name is mwLastWriteTime) in the request header of a JSON operation. The request…
3
votes
1 answer

Any good music video API?

Does anyone know of a good music video API? Music video information on Freebase is lacking, the Internet Video Archive's API returns inconsistent results, and Yahoo's YQL Music API has unclear language on what they consider a commercial…
Matt Norris
  • 8,596
  • 14
  • 59
  • 90
3
votes
1 answer

Finding all entity names from deprecated freebase

I'm training a few Machine learning models that represent words as vectors, using freebase as training data. Since the API has been deprecated, I'm working with raw freebase dump, which is now a list of 3.1 billion triples, containing more than 500…
Srinivas R
  • 33
  • 5
3
votes
0 answers

Error 400 Bad Request when accessing google APIs

I am trying to access google Knowledge graph API except am encountering the error com.google.api.client.http.HttpResponseException: 400 Bad Request "message": "API key not valid. Please pass a valid API key.", but I do not get it, my API key is the…
Chrome Lanta
  • 67
  • 1
  • 11