FAQ Database Discussion Community


Way to dump the relations from Freebase?

nlp,semantic-web,freebase,dbpedia,wikidata
I have ran through the Google API for Freebase, but still confusing. Is there simple way to dump the relations from Freebase? I want to dump all entity-name-pair with a specific relation (e.g. marry_with, ...), and also want the chinese entity names. Should I write MQL to query all entity...

Freebase Search API - Get All Results

java,google-api,resultset,freebase
Is it possible now to get all results from Freebase Search API? Today I was trying 2 approaches in Java: 1) www.googleapis.com/freebase/v1/search?filter=..." Using "cursor"(integer) and "limit" options. 2) www.freebase.com/ajax/156b.lib.www.tags.svn.freebase-site.googlecode.dev/cuecard/mqlread.ajax?&query= Try to simulate 'Query Editor' (https://www.freebase.com/query) Using "cursor" from the previous results set (String). But in both of these approaches I...

How can I have access to Included Types without using Freebase API

freebase
I want to build the subtype and super type between types of Freebase.For example; the include Types of US President freebase-link are: /people/person government/politician These two types are super types of US President. Since the client version of Freebase will be shut down at the end of June and I...

How to use the ASK WHERE statement with multiple conditions (sparql)

sparql,freebase
I want to check if an entity has one of the types listed below. If it does then the query must return true. PREFIX basekb:<http://rdf.basekb.com/ns/> basekb:music.release_track basekb:book.written_work basekb:book.book basekb:music.release basekb:music.album basekb:tv.tv_series.episode basekb:music.composition basekb:music.recording basekb:film.film basekb:fictional_universe.fictional_character Entity m.0109yb6 has the following types. The sparql query should return true http://rdf.basekb.com/ns/common.topic...

converting freebase MQL to SPARQL

rdf,sparql,semantic-web,freebase,mql
following freebase MQL finds 5 artists and 50 albums for each artists. [{ "type" : "/music/artist", "name":null, "album" : [{ "name" : null, "count":null, "limit":50 }], "limit":5 }] first try - without a subquery I can write SPARQL like this: SELECT ?artist ?album WHERE { ?artist :type :/music/artist . ?artist...

What is the meaning of “equivalent webpages” in Freebase?

webpage,freebase
I started to work on Freebase. I have some confusion concerning webpages: In the following link they describe equivalent webpages as links to outside web pages. These outside pages are Wikipedia pages and Freebase pages, IMDb pages etc. What do they mean by "outside pages"? I didn't understand, outside to...

Request specific properties from Google Freebase Topic API

api,freebase,mql
I'd like to query only specific properties like "/common/topic/description", "/common/topic/image" and "/common/topic/notable_for" of a certain topic. It would be even better if I could request those properties for several topics at once. Or does it has to be just "/common/topic" filter? Update I tried this query for topic /en/the_doors https://www.googleapis.com/freebase/v1/topic/en/the_doors?filter=(all%20/common/topic/image%20/common/topic/description)...

Freebase rdf API: get rdf triple with a specific tail

google-api,rdf,freebase
I want to get triples which has a specific tail. For example get triples with /m/3s31es as their tail and the results like: /m/111111 /has/name /m/3s31es /m/222222 /has/city /m/3s31es /m/333333 ... /m/3s31es ... Is there an freebase api to implement this? Thank you...

Why am I getting “GC overhead limit exceeded” when I use “arq” to query local rdf files

rdf,sparql,freebase
I am using ARQ in order to query local RDF files. The command that I am using is the following: ./arq --data /home/datasets/a-m-00027.nt --results CSV --query myQuery.sparql myQuery.sparql contains the query: PREFIX basekb:<http://rdf.basekb.com/ns/> PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?x FROM </home/data/a-m-00027.nt> WHERE {?x rdf:type basekb:music.release} LIMIT 10 Exception Exception in thread "main"...

Trying to understand “expected types” and “type.property.schema” properties in Freebase

rdf,freebase,rdfs
Property: expected type Definition: The expected type of the object referred to by this property [1]. is expected type equalt to rdfs:range? Is it the most probable type among all other types that the object might have? Property: type.property.schema Definition: The link from a property to its underlying type. This...

why is Sparql endpoint on local sever not returning the full set of entities for a given type?

c++,sparql,freebase
Introduction I have freebase uploaded to Virtuoso open-source. The databaset is located on the following server: http://SERVER_SPARQL:8890/sparql. I want to extract the description of all the entities that have the type common.topic. C++ class In order to access the database I am using curlpp and c++. I am pretty sure...