How to search in freebase to the middle

I just dumped data from Freebase, but when I see in the data, I see "/ m / 03lp844", which is in the middle. But how do I get more details from this middle? I can not find anything in the documentation.

So, I dumped the data about the film, and when I watch the actors, it shows only a bunch of averages, but I also need the name of the actor.

Many thanks.

+7
source share
3 answers

You should look at the Freebase schema so that you understand how everything is connected to each other. In the case of films and actors, they are interconnected by a node / film / performance intermediary. You will need to follow the link from the movies to these nodes and from there to the associated player (and look at the actor / type / object / name property).

+2
source

The middle is the uniq id for each object in freebase. Thus, you will see many edges pointing to other averages. Indeed, I think that only when the related information is not simple values ​​such as string, number, etc., it will be in the middle. One easy way to see if these averages refer to the use of rdf api: you can request the key / en / michael _jordan: https://www.googleapis.com/freebase/v1/rdf/en/michael_jordan or you can request averages values: https://www.googleapis.com/freebase/v1/rdf/m/054c1 and you can get the name of the names of the actors using the edge "rdfs: name". The result shown to you by the RDF api should be familiar. All triples begin with a key or middle in a freebase dump.

other interesting apis: http://wiki.freebase.com/wiki/API you can search, get a description, find everything related to the middle, etc. Hope this helps.

+1
source

You can use the Freebase MQLRead api, for example, this will return a json string throughout the "general topic" about "micheal jordan"

https://www.googleapis.com/freebase/v1/mqlread?query= {"id": "/ en / michael_jordan", "limit": 1, "*": null, "type": "/ general / subject" }

This will display all types that / en / micheal _jordan has.

https://www.googleapis.com/freebase/v1/mqlread?query= {"id": "/ en / michael_jordan", "limit": 1, "*": null}

0
source

All Articles