Semantic search
SQLStore debug output
ASK Query
[[Category:Companies:CompanyContact]] [[Companies:postcode::WC2A 1AN]]
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='328513')
)
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='328513')
)
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 | |
---|---|---|---|
01132739900 | LONDON | 53° 50' 23.65" N, 1° 26' 59.71" W | |
01189977920 | LONDON | 51° 27' 13.31" N, 0° 58' 16.62" W | |
01213624035 | LONDON | 52° 33' 36.07" N, 1° 49' 20.69" W | |
01226200364 | LONDON | 53° 33' 4.99" N, 1° 30' 38.60" W | |
01612454650 | LONDON | 53° 28' 26.16" N, 2° 14' 59.64" W | |
02070256500 | LONDON | 51° 30' 39.99" N, 0° 8' 4.99" W | |
02072012942 | LONDON | 51° 30' 3.80" N, 0° 9' 37.18" W | |
02072248778 | LONDON | 51° 31' 25.04" N, 0° 9' 39.96" W | |
02074002180 | LONDON | 51° 31' 4.71" N, 0° 6' 43.76" W | |
02075294763 | LONDON | 51° 30' 54.86" N, 0° 8' 46.98" W | |
02076389571 | LONDON | 51° 31' 1.75" N, 0° 5' 8.88" W | |
02077157470 | LONDON | 51° 30' 16.15" N, 0° 1' 5.19" W | |
02082226330 | LONDON | 51° 30' 25.93" N, 0° 13' 23.67" W | |
02084399390 | LONDON | 51° 27' 38.69" N, 0° 18' 15.65" W | |
08452300711 | LONDON | 52° 44' 51.51" N, 1° 8' 49.61" W |