Semantic search
From Who Called Me
SQLStore debug output
ASK Query
[[Category:Companies:CompanyContact]] [[Companies:postcode::SW6 4LZ]]
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='552373')
)
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='552373')
)
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 | 15 | 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 | |
---|---|---|---|
0146064411 | LONDON | 50° 53' 7.48" N, 2° 57' 19.23" W | |
01606782808 | LONDON | UNITED KINGDOM | 53° 16' 18.78" N, 2° 32' 51.39" W |
02034740574 | LONDON | 51° 28' 49.57" N, 0° 6' 34.49" W | |
02076109232 | LONDON | 51° 28' 16.94" N, 0° 12' 22.69" W | |
02076109733 | LONDON | 51° 28' 17.62" N, 0° 12' 23.35" W | |
02076109754 | LONDON | 51° 28' 16.41" N, 0° 12' 24.01" W | |
02077318417 | FULHAM | LONDON | 51° 28' 16.94" N, 0° 12' 22.69" W |
02077366100 | LONDON | 51° 28' 17.65" N, 0° 12' 20.89" W | |
02078711984 | LONDON | 51° 28' 48.99" N, 0° 11' 50.14" W | |
02079936923 | LONDON | 51° 28' 15.95" N, 0° 12' 24.94" W | |
02081669989 | LONDON | 51° 30' 41.16" N, 0° 7' 3.05" W | |
02088771169 | LONDON | 51° 28' 17.62" N, 0° 12' 23.35" W | |
07762163128 | LONDON | 51° 30' 49.70" N, 0° 10' 56.34" W | |
07912302950 | LONDON | 53° 42' 40.50" N, 1° 53' 5.02" W |