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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

YouTube : Get a 400 error when I try to update TopicDetails for a specific channel Id

Issue summary: Get a 400 error when I try to update TopicDetails (topicIds + topicCategories) for a specific channel Id. Expected output: { "topicIds": [ "/m/02vx4", ...
0 votes
0 answers
10 views

Is it possible to run KBQA method on self-constructed graphs?

It's common that a KBQA method can run on some big databases such as wikidata or FreeBase, but what if run this on a self-constructed graph that only contain informations from a certain field? For ...
  • 21
0 votes
0 answers
66 views

How to get the subject and object values from freebase given the relation?

I downloaded the freebase dump to find triples. I used zgrep to pull a sample of the profession relation (predicate) like this: zgrep -a '/ns/people.person.profession' -m 20 freebase-rdf-latest.gz ...
0 votes
0 answers
132 views

How can I extract triples from the Freebase dump?

I would like to collect a large knowledge base of triples as: subject, object, predicate, so I downloaded the Freebase dump from the developers page, which contains triples in RDF format, and I want ...
0 votes
0 answers
68 views

Negation does not work as expected for SPARQL property paths

According to SPARQL Property Paths, negation is expressed with the operator !, i.e., !(a|b|c|d) means any relations that do not fall into {a, b, c, d}. Based one this definition, I find the following ...
  • 2,322
0 votes
1 answer
90 views

How to Map Freebase to Wikipedia in Python

I met a problem when trying to map the Freebase to Wikipedia, due to the deprecation of the Freebase. I know there is a method by downloading the Freebase Dump and replace the Freebase to Wikipedia, ...
1 vote
0 answers
123 views

How to go from text to an RDF triple on Freebase?

I'm trying to work with Freebase database and I'm having difficulty understanding how they encode each word. From the documentation: "In Freebase, objects have MIDs that look like /m/012rkqx. In ...
  • 1,540
0 votes
1 answer
141 views

How to build an N-hop SPARQL (virtuoso) query which returns all paths (1-N hops) starting from a provided topic entity?

I am trying to build a subgraph of freebase based on a given topic entity, as the time taken to query the full freebase is too time consuming. My first attempt at building a 3-hop subgraph was as ...
0 votes
1 answer
31 views

Why DISTINCT keyword lead to different entity for these two queries?

Query 1 PREFIX ns: <http://rdf.freebase.com/ns/> SELECT DISTINCT ?x WHERE { FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en')) ?x ns:type.object.type ns:religion....
  • 2,322
0 votes
1 answer
27 views

How can I understand the this part of Freebase?

enter image description here "(m/0m48smv)" Based on my knowledge, this should response page title from Wikipedia which has a specific id. How can I know the page title?
0 votes
1 answer
111 views

how can I get the Freebase Easy dataset as one structured file?

I downloaded the Freebase Easy dataset (3.3GB). I want to investigate this dataset in typing some entities. e.g: German (types in freebase: location, country, land.....). How can I CONCATENATE these ...
2 votes
1 answer
52 views

Why is a code instead of the string used in RDF for an object?

For example: entity:f06574 rdfs:label "Orioles" Or such a format: :tt0268252 a :Movie . In either case, f06574 and tt0268252 are code, not the actual string of the entity or instance. One reason ...
  • 1,545
2 votes
2 answers
109 views

Should i use an auto-increment primary key although i already have a UNIQUE column?

Is there any reason to use id int auto-increment for a primary key while a UNIQUE column (that is not a foreign key or anything) already exists in a table? I'm reading someone else's thesis about a ...
0 votes
1 answer
364 views

Extract entities from text using Knowledge Bases in Python

I have an entity extraction tasks which needs KBs like wikidata, freebase, DBpedia. Given the huge size of them, it is hard to download and extract entities from them. Is there a python client which ...
  • 1,038
1 vote
0 answers
180 views

Invalid characters and other problems in RDF knowledge graphs

I've been processing some older versions of some medium and large sized knowledge graphs in N-Triples and Turtle format, such as: a 2012 version of Freebase a 2015 version of Wikidata a 2017 version ...
  • 556
0 votes
1 answer
232 views

how to reverse engineer Google's entity ids

Google is using entities everywhere nowadays and they are usually prefixed with /m/ and /g/ (but I have also seen some /t/ lately) I am wondering how the numbering works. For /m/ there is a schema ...
  • 363
0 votes
1 answer
160 views

Load Freebase using python

I got freebase-vectors-skipgram1000-en.bin.gz from https://code.google.com/archive/p/word2vec/ Then rename it to freebase-vectors-skipgram1000-en.bin and used it in my code import gensim.models....
user avatar
2 votes
1 answer
1k views

Google Knowledge Graph API Usage

I'd like to clarify how to use the Google knowledge graph API to obtain more specific information about an entity, such as the height or birthday of a person. For instance, the documentation ...
0 votes
0 answers
117 views

How to represent this statement in RDF?

My iPhone 6's screen size is 6 inches and red color. Vocabulary are the following: iPhone 6 screen size 6 inches color red Questions: 1) How to link 'iPhone 6' node with the 'screen' node? 2) '...
  • 9,823
0 votes
0 answers
319 views

how to search multi hop triplets from freebase via sparql effectively

I'm now retrieving multi hop triplets from freebase via sparql, I would like to start from one mid and retrieve 2 hops away from the mid. So usually, I do things like PREFIX ns:<http://rdf....
  • 43
0 votes
1 answer
924 views

Extract Data Dump From Freebase in Python

With the Data Dump Freebase Triples (freebase-rdf-latest.gz) downloaded from website, What would be the optimal process to open and read this file in order to extract information, let's say relative ...
  • 508
10 votes
2 answers
2k views

How to get place description using Google API or any other API?

I am using Google API to get the place information and store it into database. Using Google API I am able to get address, opening hours, rating and reviews as shown in below image. But, I am not ...
  • 3,395
1 vote
1 answer
133 views

Can knowledge graphs deal with a sentence including a preposition or adjective

I am thinking of how suitable knowledge graphs such as "Google Knowledge Graph", "WordNet", "Yago", or "FreeBase" is for representing facts including a preposition or adjective. For example, "Obama ...
  • 4,905
14 votes
1 answer
800 views

Knowledge Graph API in BigQuery

Is there a dump of the Knowledge Graph API on BigQuery or can I query Knowledge graph API via BigQuery SQL language? Felipe has this wonderful talk on querying Freebase via SQL but Freebase is no ...
  • 15.7k
1 vote
1 answer
487 views

Freebase data dump query entities and relations

From the Freebase dump available here, I need to find the relation between two entities. Eg. entity1 = "barack_obama" entity2 = "USA" get_relation_from_freebase(entity1, entity2) -> "...
  • 1,053
1 vote
1 answer
313 views

How to make SPARQL queries faster on Virtuoso by controlling query execution order?

I have set up a Virtuoso server for hosting Freebase data (version 07.20.3217, built Jan 5 2017; I really appreciate if you can have a try). Let's consider this scenario: find the largest location (...
1 vote
1 answer
395 views

how can I translate the subject like "www.freebase.com/m/0cz9079" into words that can be read by human beings?

Now I get freebase-FB2M.txt in the SimpleQuestion dataset like the picture below, how can I translate the subject like www.freebase.com/m/0cz9079 into words that can be read by human beings? In more ...
2 votes
1 answer
213 views

Determine Categorical Hierarchy Level of Freebase MID Value

After using the Google Cloud Vision API, I received MID values in the format of /m/XXXXXXX (not necessarily 7 characters at the end though). What I would like to do is determine how specific one MID ...
1 vote
1 answer
251 views

Looking for qrels file of TREC Million Query Track and Web Track queries

I am using annotation TREC queries (TREC Million Query Track and Web Track queries) from this page . I could not find qrel files for evaluation my result of these queries. I just find this page which ...
4 votes
1 answer
2k views

Entity name not found by its mid in freebase

We are working on a research project for answering questions with a knowledge base. We adopted the dataset SimpleQuestions (https://research.fb.com/projects/babi/). We loaded the latest freebase data ...
0 votes
0 answers
164 views

How to get the MID of all compound value types from Freebase data dump

I want to process all the triples with compound value types(CVT). Since the Freebase website is shut down, it's hard find docs.
1 vote
1 answer
670 views

Entity Relations from freebase dump

I want to dump all entity-name-pair with a relation. Example : subject predicate object <freebase/ns/g.11bc7__xnw> <freebase/ns/people.place_lived.location> <freebase/ns/m.02_286&...
2 votes
0 answers
250 views

How to extract freebase' data for triples(entity,relation,entity)?

I want to extract freebase'data for triples(entity,relation,entity),but the api of freebase is closed.
  • 21
2 votes
1 answer
2k views

API for Google 'People Also Search For' - Android

As the Freebase API is deprecated, and i used the KnowledgeGraph API to get the list of 'People also search for' , but the requirement is not fulfilled, Please suggest an API to get the results. and ...
0 votes
0 answers
72 views

Backend Error Code 500 with google freebase query

I am using the following example code available at freebase documentation. import json import urllib api_key = open(".api_key").read() query = 'blue bottle' service_url = 'https://www.googleapis.com/...
  • 1,900
3 votes
1 answer
810 views

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 ...
2 votes
1 answer
271 views

Efficiently querying abstract elements using WikiData Sparql

I'm trying to build a query to fetch instances of / any subclasses of abstract elements such as "human" (Q5) by name, however the query fails with a timeout, probably because it has too many nodes to ...
1 vote
2 answers
138 views

Freebase: Instances missing in dump

I want to extract all companies from the Freebase dump. However multiple instances appear to be missing in the dump. For example Volkswagen (/m/07ywl) seems to be not included. I searched for the MID ...
  • 1,234
0 votes
1 answer
580 views

Entity ranking in Google Knowledge graph for Freebase entities

Each entity in freebase had a popularity score which was available through search API . This score was and is not available in the dump. This score is apparently available through the Knowledge ...
  • 3
0 votes
1 answer
245 views

Getting Freebase Topics TODAY?

So even though Google shut down Freebase, when you ping the YouTube API, it still tags the videos using Freebase IDs. Is there a place I can go to now, to match these IDs to their topics?
6 votes
1 answer
2k views

How to use Google Knowledge Graph API

In what useful way can I use Google Knowledge Graph API at the moment? Let's say I have the MID for 1990 FIFA World Cup, which is /m/014nm_ and I make this request: GET https://kgsearch....
  • 987
1 vote
1 answer
47 views

Can't access mqlread API

I am trying to access the mqlread API from Freebase but am getting a "Not Found" 404: api_key = open("freebaseApiKey").read() mqlread_url = 'https://www.googleapis.com/freebase/v1/mqlread' mql_query =...
4 votes
1 answer
2k views

How to use `relevantTopicIds` from YouTube Data API v3?

As stated in this documentation: "Search with Freebase Topics" and in the available video as well, the YouTube Data API v3 offers certain Freebase MIDs when using topicDetails as an argument for part. ...
  • 987
0 votes
1 answer
138 views

Alternatives to freebase usercontent API which have been shut down

I use Freebase data dump as core dataset for my travel application. Cities may have one or more associated images identified by MIDs(the freebase identifier for all things) . I was able to use the ...
  • 3
0 votes
0 answers
753 views

Youtube API topic id search not working

I am trying to search using YouTube Data API for a particular topic id that is '/m/06j8x'. I am getting 0 results. GET https://www.googleapis.com/youtube/v3/search?part=snippet&topicId=%2Fm%...
0 votes
1 answer
174 views

How to read from Java a RDF freebase concept?

I would like to read a freebase dump like this from Java: http://rdf.freebase.com/ns/m.0cycc I tried to read it from Jena using the following code: OntModel om = ModelFactory....
1 vote
1 answer
585 views

How do I map Freebase topic ids to the corresponding topic names?

I am using Youtube Analytics API. In the response I get the topics of channel as Freebase TopicIds. Since the Freebase API is deprecated now, how can I get the topic names to corresponding ids? I had ...
2 votes
0 answers
81 views

How to get answers to natural language questions from freebase?

I have massive amounts of natural language questions in the format of "Subject-entity [tab] relationship [tab] Object-entity [tab] question" as follows: www.freebase.com/m/01jp8ww www.freebase.com/...
1 vote
1 answer
1k views

How to use the Wikidata API or an alternative to Freebase [closed]

I have a couple of years of programming experience in Java (Android) and this is my first time with the use of API's to retrieve JSON data. So to get basic facts on a queried topic I thought of using ...
  • 1,447
0 votes
2 answers
119 views

Extract electronic products subset from Freebase dump and query it

I have downloaded the Freebase dump from https://developers.google.com/freebase/data?hl=en, I know the format of the dump is <subject> <predicate> <object>, but I am confused ...

1
2 3 4 5
14