Semantic search
From Who Called Me
SQLStore debug output
ASK Query
[[Category:Companies:CompanyContact]] [[Companies:postcode::W1G 9RE]]
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='815138')
)
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='815138')
)
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 | 16 | 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 | |
---|---|---|---|
01132041085 | LONDON | 53° 47' 48.30" N, 1° 33' 2.16" W | |
01179065290 | LONDON | 51° 27' 14.27" N, 2° 35' 48.42" W | |
01214527120 | LONDON | 52° 28' 9.36" N, 1° 55' 23.06" W | |
01216434488 | LONDON | 52° 28' 47.34" N, 1° 54' 6.74" W | |
01325387780 | LONDON | 54° 31' 41.47" N, 1° 30' 54.47" W | |
01382561771 | LONDON | 56° 27' 49.28" N, 3° 3' 18.36" W | |
01383842284 | LONDON | 56° 2' 54.38" N, 3° 25' 34.18" W | |
01417736730 | LONDON | 55° 51' 37.82" N, 4° 6' 49.10" W | |
01612283090 | LONDON | 53° 28' 51.24" N, 2° 14' 20.73" W | |
01618864580 | LONDON | 53° 27' 32.30" N, 2° 17' 11.67" W | |
01903868296 | LONDON | 50° 48' 50.77" N, 0° 33' 23.24" W | |
01912361150 | LONDON | 55° 1' 8.01" N, 1° 37' 19.67" W | |
01912602211 | LONDON | 54° 58' 11.10" N, 1° 37' 5.14" W | |
02032192850 | LONDON | 51° 31' 1.69" N, 0° 8' 52.98" W | |
02074370200 | LONDON | 51° 30' 58.26" N, 0° 8' 53.23" W |