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
0
votes
1 answer

from wikipedia title to freebase mid

Is there a way to map Wikipedia title link to Freebase mids? For example, wikipedia titles are: From_Russia_with_Love_(film), John_Barry_(composer), Lionel_Bart, Matt_Monro [{ "mid": null, "id": "/en/matt_monro" }] It works for titles like…
Ziqi
  • 2,445
  • 5
  • 38
  • 65
0
votes
1 answer

How to call freebase api using nodejs ExpressJS or Superagent

I have this Freebase query and need to use it in NodeJS + ExpressJS or NodeJS + Superagent. I tried Google API module and the Freebase module (that doesn't npm install!), but i'm very confuse about how to use. I dig into google and documentation…
Thales P
  • 371
  • 1
  • 6
  • 16
0
votes
1 answer

Freebase API - listing a city's tourist attractions by relevance

I'm trying to use Freebase to list tourist attractions for cities by relevance. Using the Topic API, it's simple to retrieve results for a certain city using its MID (e.g. "/m/04jpl" for London) https://…
0
votes
1 answer

JSON to get the value in the Freebase API

I am new to Google APIs and am trying to get a particular value using the Freebase API in PHP. I somehow designed the MQL and my MQL is currently as below. [{ "id": "/m/03np_7", "key": [{ "namespace": "/wikipedia/en_title", "*": null …
Ramesh
  • 765
  • 7
  • 24
  • 52
0
votes
1 answer

Freebase MQL Query to fetch all instances and their Wiki description

I want to fetch and save Wikipedia descriptions of all instances from /sports/sport to my database. It requires 2 API calls - one to fetch mid and another to fetch wiki description. Is it possible to combine the 2 queries to a single query? Thanks…
Vimal
  • 3
  • 1
0
votes
1 answer

Freebase rdf dump parsing for Name-Type exctraction..?

I have parsed freebase data dump and now have RDF like the following:
Sreedhar GS
  • 2,694
  • 1
  • 24
  • 26
0
votes
2 answers

How to get Wikipedia article data from Freebase suggest response

I'm looking for a simple way to get data about a university (name, native_name, city etc) from the Wikipedia infobox after a user selects a university from Freebase suggest. The dataset returned from freebase, however, is very small and doesn't…
Ariel
  • 3,383
  • 4
  • 43
  • 58
0
votes
1 answer

PHP - Where do i use a freebase API key?

I am confused by the getting started docs for Freebase, where would I use my API key in this example:
user2219915
  • 289
  • 3
  • 7
  • 19
0
votes
1 answer

Freebase query with inner joins on the statment

Can I create an inner join on free base that uses another query? I tried to create a join between 2 querys: The first, select all the artist that the genre is the same as nirvana without nirvana: [{ "id": null, "name": null, "name!=":…
royb
  • 693
  • 3
  • 9
  • 20
0
votes
1 answer

add OR operator on mql over freebase

i want to create query that show all the artists that thay are in Reggae and Rock music i try this but it not work.. [{ "id": null, "name": "Rock music", "or:name": "Reggae", "type": "/music/genre", "/music/genre/artists": [] }]
royb
  • 693
  • 3
  • 9
  • 20
0
votes
1 answer

Passing though an attribute in an Angularjs directive

I'm working a directive that is just a wrapper for the freebase search widget (jquery). This is the first directive I've tried making and I'm running into some problems. Desired functionality: 1. ability to pass in language (two letter code) for…
bornytm
  • 793
  • 1
  • 11
  • 27
0
votes
1 answer

Freebase rdf changed format?

I've been using the freebase rdf dump and in the latest dump (Jan 26, 2014) I noticed that the file size is smaller and the property looks a lot different. For example, the schema for University of Ottawa…
0
votes
2 answers

how to find out latest file name from a website using a shell script

I am relatively new to Shell Scripting and was facing the following issue. I want to download the latest freebase dump from http://commondatastorage.googleapis.com/freebase-public/ site. I know the file name format - freebase-rdf-.gz e.g…
Sameervb
  • 381
  • 3
  • 5
  • 15
0
votes
2 answers

Degrees of separation using Freebase and MQL?

I`ve been examining Freebase and some queries like this: Retrieving/storing All related Actors in Freebase and I`ve come up with an idea of finding out degrees of separation between chosen actors. Is there a way to make MQL find a link (by other…
MartinV
  • 11
0
votes
1 answer

Freebase query example in python

I know that I'm dyslexic and I don't have a PhD but I always find Google APIs incomprehensible. I just need an example on the following: Get the '/music/genre' list and then get the subgenres ('/music/genre/subgenre') of the e.g. first genre. And…
Diolor
  • 13,181
  • 30
  • 111
  • 179