Semantic search
From Who Called Me
SQLStore debug output
ASK Query
[[Category:Companies:CompanyContact]] [[Companies:postcode::W5 2PJ]]
SQL Query
SELECT DISTINCT
t0.smw_id AS id,
t0.smw_title AS t,
t0.smw_namespace AS ns,
t0.smw_iw AS iw,
t0.smw_subobject AS so,
t0.smw_sortkey AS sortkey, t0.smw_sort
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t2
INNER JOIN
`smw_di_wikipage` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id='518'
AND (t4.p_id='523' AND t4.o_id='719515')
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
55
OFFSET
1
t0.smw_id AS id,
t0.smw_title AS t,
t0.smw_namespace AS ns,
t0.smw_iw AS iw,
t0.smw_subobject AS so,
t0.smw_sortkey AS sortkey, t0.smw_sort
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t2
INNER JOIN
`smw_di_wikipage` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id='518'
AND (t4.p_id='523' AND t4.o_id='719515')
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
55
OFFSET
1
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t4 | ref | s_id,o_id,p_id,s_id_2,s_id_3,o_id_2,o_id_3 | o_id | 5 | const | 21 | Using where; Using temporary; Using filesort |
1 | SIMPLE | t2 | ref | s_id,o_id,s_id_2,o_id_2 | s_id | 4 | callto_wikidb.t4.s_id | 1 | Using where |
1 | SIMPLE | t0 | eq_ref | PRIMARY,smw_id,smw_iw,smw_iw_2 | PRIMARY | 4 | callto_wikidb.t4.s_id | 1 | Using where |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:3Query-Depth:1
Errors and Warnings
NoneCompanies:town | Companies:county | Has coordinates | |
---|---|---|---|
01224379911 | LONDON | 57° 8' 54.78" N, 2° 5' 35.72" W | |
01302953031 | LONDON | 53° 31' 32.30" N, 1° 7' 50.34" W | |
01495750033 | LONDON | 51° 41' 3.31" N, 3° 0' 57.85" W | |
01582555306 | LONDON | 51° 52' 53.18" N, 0° 25' 17.69" W | |
01604636000 | LONDON | 52° 14' 15.83" N, 0° 53' 25.96" W | |
01895611013 | EALING | LONDON | 51° 31' 44.18" N, 0° 27' 6.11" W |
01926730812 | LONDON | 52° 16' 56.93" N, 1° 31' 52.59" W | |
02033444854 | EALING | LONDON | 51° 30' 50.69" N, 0° 18' 0.19" W |
02084509398 | LONDON | 51° 34' 4.89" N, 0° 13' 57.48" W | |
02085679123 | LONDON | 51° 30' 51.54" N, 0° 18' 1.24" W | |
02085705748 | LONDON | 51° 28' 7.65" N, 0° 21' 44.62" W | |
02087431907 | LONDON | 51° 30' 22.49" N, 0° 15' 43.77" W | |
02088409979 | LONDON | 51° 30' 51.54" N, 0° 18' 1.24" W | |
07702247771 | LONDON | 54° 51' 9.71" N, 1° 50' 3.52" W | |
07716744933 | EALING | LONDON | 51° 6' 42.22" N, 0° 51' 27.46" W |
07730377507 | LONDON | 51° 32' 40.15" N, 0° 1' 23.87" W | |
07749474316 | LONDON | 51° 35' 3.97" N, 0° 6' 1.07" W | |
07854152012 | LONDON | 51° 30' 31.18" N, 0° 35' 18.85" W | |
07858818454 | LONDON | 54° 36' 21.94" N, 6° 59' 48.31" W | |
07870533673 | LONDON | 53° 26' 28.09" N, 2° 55' 48.31" W |