Semantic search
From Who Called Me
SQLStore debug output
ASK Query
[[Category:Companies:CompanyContact]] [[Companies:postcode::SE1 8NW]]
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='154730')
)
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='154730')
)
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 | |
---|---|---|---|
01212301650 | LONDON | 52° 28' 47.34" N, 1° 54' 6.74" W | |
01223321195 | LONDON | 52° 11' 52.29" N, 0° 7' 45.10" E | |
01244311855 | LONDON | 53° 11' 23.60" N, 2° 53' 16.69" W | |
01618271890 | LONDON | 53° 28' 57.63" N, 2° 14' 42.85" W | |
01622882300 | LONDON | 51° 18' 5.21" N, 0° 29' 38.13" E | |
01865790744 | LONDON | 51° 45' 14.37" N, 1° 15' 48.01" W | |
01985212020 | LONDON | 51° 12' 50.73" N, 2° 11' 40.61" W | |
02070934445 | LONDON | 51° 30' 38.31" N, 0° 5' 48.51" W | |
02073245200 | LONDON | 51° 31' 25.64" N, 0° 5' 4.56" W | |
02074293333 | LONDON | 51° 30' 38.31" N, 0° 5' 48.51" W | |
02075353100 | LONDON | 51° 30' 23.83" N, 0° 6' 14.75" W | |
02076297411 | LONDON | 51° 30' 23.83" N, 0° 6' 14.75" W | |
02077356660 | LONDON | 51° 29' 34.50" N, 0° 7' 16.58" W | |
02086363000 | LONDON | 51° 30' 23.83" N, 0° 6' 14.75" W | |
02087635959 | LONDON | 51° 20' 14.76" N, 0° 6' 55.26" W |