[Developers] a question about the new reconciliation service

Raymond Yee raymond.yee at gmail.com
Mon Jul 20 02:26:12 UTC 2009


Peter Burns wrote:
> Hi Raymond,
>
> I just ran your data on Spreadsheet Loader ( 
> http://data.labs.freebase.com/recon/recon.html ) and got this as the 
> output
>
> /type/object/name /type/object/type /music/composition/composer 
> /wikipedia/en_id /base/jsbach/bach_composition/bwv id 
> /music/composition/composer:id Wie schön leuchtet der Morgenstern 
> /base/jsbach/bach_composition Johann Sebastian Bach 1505635 1 
> /guid/9202a8c04000641f800000000b12cc81 /en/johann_sebastian_bach
>
> Rather than
>
>> /type/object/name 	/type/object/type 	/music/composition/composer 
>> /wikipedia/en_id 	/base/jsbach/bach_composition/bwv 	id 
>> /music/composition/composer:id
>> Wie schön leuchtet der Morgenstern 	/base/jsbach/bach_composition 
>> Johann Sebastian Bach 	1505635 	1 
>> /guid/9202a8c04000641f800000000b12cc81 	/en/johann_sebastian_bach
>>
>
I think that we got the same thing -- I was copying and pasting from 
Excel (to which I had pasted my output)
> Can you tell me what browser, browser version, and OS you're using?
Firefox 3.5.1 on Win XP SP 2
>
> I did notice that Spreadsheet Loader didn't make use of the 
> /wikipedia/en_id key you provided, I've created a bug report because 
> it definitely should: https://bugs.freebase.com/browse/DTG-107
Thanks -- I don't think I have permission to look at 
https://bugs.freebase.com/browse/DTG-107 though.
>
>> The output in  terms of triples:
>> {"s":"/guid/9202a8c04000641f800000000b12cc81","p":"/type/object/type","o":"/base/jsbach/bach_composition"}
>> {"s":"/guid/9202a8c04000641f800000000b12cc81","p":"/music/composition/composer","o":"/en/johann_sebastian_bach"}
>> {"s":"/guid/9202a8c04000641f800000000b12cc81","p":"/base/jsbach/bach_composition/bwv","o":"1"}
>> {"s":"/en/johann_sebastian_bach","p":"/type/object/type","o":"/music/composer"}
>> {"s":"/en/johann_sebastian_bach","p":"/music/composer/compositions","o":"/guid/9202a8c04000641f800000000b12cc81"}
>> I asked the service to upload the triples and got the following response:
>>
>> {
>>   "status": {
>>     "code": 200,
>>     "response": "OK"
>>   },
>>   "elapsed_time": "create took 10.0159645081 ms",
>>   "result": {
>>     "added": 5,
>>     "job_id": 10,
>>     "status_url": "http:\/\/data.labs.freebase.com\/spreadsheet\/10",
>>     "loader": "<freeq.client.loader.tripleloader.TripleLoader instance at 0x158b758>",
>>     "queue": "spreadsheet",
>>     "action_type": "LOAD_TRIPLE"
>>   }
>>
>> }
>> But when I go to http://data.labs.freebase.com/spreadsheet/10, I get 
>> a 404 error.  
>
> Ah, right, that's a bug in our deploy of tripleloader to data.labs, 
> sorry about that.  I've created a bug to track it 
> here: https://bugs.freebase.com/browse/DM-526
>
> For the moment however, if you add 'freeq' to the beginning of the 
> path, the url works, so 
> : http://data.labs.freebase.com/freeq/spreadsheet/10
>
>> Furthermore, when I go 
>> to http://www.sandbox-freebase.com/history/view/en/wie_schon_leuchtet_der_morgenstern  
>> I see no sign of any action by the TripLoader.  
>
> Yes, all of the assertions in your upload had already been made, so 
> there was nothing new for it to do.  We don't expose that information 
> as well as we might.
Good point -- yes, there was nothing for the TripleLoader to do!

Just one more data point:  I tried to do reconciliation on BWV 2 for 
which I've not already written the BWV or the type 
(http://www.sandbox-freebase.com/view/en/ach_gott_vom_himmel_sieh_darein)  
I fed

/type/object/name 	/type/object/type 	/music/composition/composer 
/wikipedia/en_id 	/base/jsbach/bach_composition/bwv
Ach Gott, vom Himmel sieh darein 	/base/jsbach/bach_composition 	Johann 
Sebastian Bach 	2229414 	2


into the reconciliation engine, had to select Bach as the composer, and 
then got

/type/object/name    /type/object/type    /music/composition/composer    
/wikipedia/en_id    /base/jsbach/bach_composition/bwv    id    
/music/composition/composer:id
Ach Gott, vom Himmel sieh darein    /base/jsbach/bach_composition    
Johann Sebastian Bach    2229414    2    None    /en/johann_sebastian_bach

The reconciler wants to create a new topic for BWV 2.

Anything I should do to formulate the input in a more helpful way?

-Raymond

   
>
> Thanks for giving it a shot Raymond, please let me know about other 
> issues as you see them.
>
> -Peter
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20090719/50f74a6f/attachment.htm 


More information about the Developers mailing list