I need to get a list of cities in french for freebase suggest.
I'm trying something like
$(".location_input").suggest({type:'/location/citytown', name: [{ lang: '/lang/fr'}] } );
or
$(".location_input").suggest({type:'/location/citytown', lang: '/lang/fr'} );
But it doesn't help this way. Any ideas? Documentations is a bit unclear...
Any ideas on how to select all citytowns from certain administrative division? Can be any country. Tried to search by fips_10_4_region_code but can't get it working, it seems that /location/citytown doesn't have this property
...
I am having problems with the freebase MQL login service. I am making a post request then the freebase api should send back headers which I will then analyse and get information from.
But the only header I am getting is HTTP/1.0 200 OK
Code
class myFreebaseClass {
....
function doLogin() {
echo $uri = "http://".$this->config['ap...
Hi am doing some testing on the Freebase sandbox, but I can't get the following request to work. It hangs for ages then returns nothing. I have also outputted curl_getinfo() if it helps anyone work out where I am going wrong.
echo $uri = "http://".$this->config['apiSandboxHost'].'/'.$this->config['apiWritePath'].'={"create":"unles...
Hi,
Is it possible to remove the type of research (for example 'Film'), inside the list of items returned from freebase jQuery suggestion?
Thanks for your attention.
Simone
...
I'm trying to write a MQL query to format a search result in freebase (the "output" parameter in the search API). I essentially want to find the (simple) values of all the properties of a given search result (without knowing anything about the types of the result a priori). By "simple", I mean only the default properties if the values ar...
I have a logger that functions properly at the start of a script, then breaks in the middle. It looks like its handler is getting overwritten by a str, but I can't figure out where.
At the start of the script, I'm printing the handler and its level. The following code:
print 'Array of handlers', logger.handlers
for h in logger.ha...
I'm using the Freebase Python library. It creates a log before executing:
self.log = logging.getLogger("freebase")
Where is this log in the file system? It's not in the executing directory or tmp.
...