Problem to query Q5 type entities with Wikidata Reconcile

Issue #24 new
Former user created an issue

Hello, I tired to use Wikidata Reconcile to map a database about authors and I noticed we get a strange result with queries with Q5 type (human) entities:

https://tools.wmflabs.org/wikidata-reconcile/?query={%22query%22%3A%22victor+hugo%22%2C%22type%22%3A%22Q5%22}

This is the result of the query :

<br />
<font size='1'><table class='xdebug-error xe-fatal-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /data/project/wikidata-reconcile/public_html/index.php on line <i>63</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0097</td><td bgcolor='#eeeeec' align='right'>230528</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='/data/project/wikidata-reconcile/public_html/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0235</td><td bgcolor='#eeeeec' align='right'>240040</td><td bgcolor='#eeeeec'>runQuery(  )</td><td title='/data/project/wikidata-reconcile/public_html/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>207</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>14.3264</td><td bgcolor='#eeeeec' align='right'>24583496</td><td bgcolor='#eeeeec'><a href='http://www.php.net/function.json-decode' target='_new'>json_decode</a>
(  )</td><td title='/data/project/wikidata-reconcile/public_html/index.php' bgcolor='#eeeeec'>../index.php<b>:</b>63</td></tr>
</table></font>

I deduced the preceding URL from the one you give as exemple : https://tools.wmflabs.org/wikidata-reconcile/?query={%22query%22%3A%22cambridge%22%2C%22type%22%3A%22Q3918%22}. But I might done something wrong ?

Thanks,

Comments (0)

  1. Log in to comment