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 RDF those MIDs become m.012rkqx. Likewise, Freebase schema like /common/topic are written as common.topic".
If I understand correctly, the library RDFLib is used to work with the RDF triples.
Say I have a word Penguin. How can I get the corresponding encoding that was used on the graph? That is, the MID/URI/RDF object/subject that is used to encode Penguin on the graph. I'm trying to find the corresponding triples to specific words, but I don't know their encodings so I can't look them up on the graph.