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

Freebase /g/ vs /m/ namespace ids

I have tried reading the Freebase wiki etc but can't find an answer for this seemingly simple question. What is the difference between /g/ and /m/ namespace ids? (I have been looking through the Freebase RFD dump as well as the online access.) For…
craighagerman
  • 373
  • 2
  • 8
4
votes
2 answers

Jena parsing issue for freebase RDF dump (Jan 2014)

I am trying to parse freebase dump file freebase-rdf-2014-01-12-00-00.gz (25 GB) using Jena. There has been many issues reported by Jena regarding bad data. Example - 150.0 not valid,true and false values not valid These issues I have resolved by…
4
votes
1 answer

Google’s Freebase API: Basic MQL Query and JSON Parse Example in Java?

Question What would a basic example of querying Freebase with MQL from the Java Freebase API (google-api-services-freebase) look like and what is the recommended way for processing the resulting data? I’m especially wondering how to “correctly” use…
Chriki
  • 15,638
  • 3
  • 51
  • 66
4
votes
1 answer

PHP strip all brackets from string

My PHP script calls the Freebase API and outputs a string that can contain any number of open then closed brackets. Each set of open then closed brackets can also contain any number of open then closed brackets itself. For example; $string = "random…
Callum Whyte
  • 2,379
  • 11
  • 36
  • 55
4
votes
1 answer

Freebase: how do you upload or link images to a topic?

I'm trying to add an image to this Freebase Topic: https://www.freebase.com/m/0w7kcd6?props= (The image I want to add is the image currently used in the linked wikipedia article, as well as the signature). The menu to the left of /common/topic/image…
s_a
  • 885
  • 3
  • 9
  • 22
4
votes
1 answer

Freebase returning empty results for MQL query of topic description

I try and use the google API freebase. I search for films description using the following query: [{ "id": "/m/027pfg", "name": null, "/common/topic/description": [] }] which result in : { "result": [{ "id": "/m/027pfg", …
Gidi
  • 181
  • 1
  • 10
4
votes
1 answer

What is the difference between notable_for and notable_types property?

I see that there are both /common/topic/notable_types and /common/topic/notable_for properties in the topic dump of Freebase. What is the difference between these two? I am assuming that both are providing the notable types of a topic.
London guy
  • 27,522
  • 44
  • 121
  • 179
4
votes
1 answer

Load Freebase full dump file to Virtuoso

I have downloaded the full RDF Freebase dump file 'freebase-rdf-2012-12-09-00-00.gz'(7.5GB) from this link http://download.freebaseapps.com/ This data dump uses the the Turtle RDF syntax as defined here http://wiki.freebase.com/wiki/Data_dumps How…
GML-VS
  • 1,101
  • 1
  • 9
  • 34
4
votes
1 answer

How to validate datetime object in SPARQL? (Virtuoso 22007 Error DT006)

I get the following error. Virtuoso 22007 Error DT006: Cannot convert -0359 to datetime : Incorrect month field length SPARQL query: define sql:big-data-const 0 #output-format:text/html define sql:signal-void-variables 1 select ?item …
nizam.sp
  • 4,002
  • 5
  • 39
  • 63
4
votes
2 answers

Freebase MQL filter where value == null?

Can get all triples with value null in specific field? All people with date_of_birth equal null? [ "type": "/people/person", "date_of_birth":null, "name":null ]
r4ge
  • 386
  • 3
  • 13
4
votes
2 answers

How may types are there in the Freebase database?

I read that for every entity, there can be one or more types associated with it. Overall, what are all the types available/covered in Freebase and is there a place where I can get this information?
London guy
  • 27,522
  • 44
  • 121
  • 179
4
votes
1 answer

freebase filter by multiple types

Is it possible to filter query by multiple types in freebase API? I need to search for keyword within two or three freebase types, but it seems that freebase API doesn't allow this option. In that case probably the only solution is to send two or…
jMn
  • 238
  • 1
  • 3
  • 11
4
votes
1 answer

Google Freebase Api C# .Net Example

I am new to developing with the Goolge API’s. I am trying to get the Google.Apis.Freebase.V1 API working in C#. Does anyone have a small example on using this API in C#? I have spent the last several days looking and can only find a couple of…
Scott
  • 151
  • 9
4
votes
3 answers

Reading Freebase data dump in python, read to few lines?

I am trying to use the freebase data dump, but it seams that I have some problems reading the files with python. It looks like that my program cant read all the lines. def test2(): count=0 for line in open(FREEBASE_TOPIC): count+=1 …
kimg85
  • 113
  • 1
  • 2
  • 7
4
votes
2 answers

Non unique query with Freebase MQL read google api

It seems I am only able to do unique queries (i.e. including an entity id in the query) with the new freebase MQL read api: The following searches on id and…
waigani
  • 3,570
  • 5
  • 46
  • 71