Semantic search
From Who Called Me
SQLStore debug output
ASK Query
[[Category:Companies:CompanyContact]] [[Companies:postcode::E3 3JG]]
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='628604')
)
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='628604')
)
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 | 29 | 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 | |
---|---|---|---|
01216855000 | LONDON | 52° 29' 8.28" N, 1° 55' 32.22" W | |
01228523575 | LONDON | 54° 53' 48.42" N, 2° 57' 8.82" W | |
01233211411 | LONDON | 51° 7' 45.03" N, 0° 53' 45.04" E | |
01314678070 | LONDON | 55° 55' 55.60" N, 3° 18' 59.38" W | |
01460259242 | LONDON | 50° 55' 46.70" N, 2° 55' 34.51" W | |
01494888500 | LONDON | 51° 37' 12.09" N, 0° 46' 52.35" W | |
01513486725 | LONDON | 53° 16' 6.28" N, 2° 52' 36.99" W | |
01513488919 | LONDON | 53° 16' 6.28" N, 2° 52' 36.99" W | |
01795415110 | LONDON | 51° 20' 43.99" N, 0° 43' 14.34" E | |
01953859700 | LONDON | 52° 37' 57.34" N, 1° 22' 24.48" E | |
02070781233 | BOW | LONDON | 51° 31' 25.89" N, 0° 0' 27.74" W |
02070789523 | BOW | LONDON | 51° 31' 25.89" N, 0° 0' 27.74" W |
02072401092 | LONDON | 51° 31' 0.06" N, 0° 7' 32.10" W | |
02082839510 | LONDON | 51° 20' 47.71" N, 0° 28' 41.03" W | |
02392214629 | LONDON | 50° 50' 14.56" N, 1° 2' 40.70" W | |
02892639287 | LONDON | 54° 28' 47.34" N, 5° 57' 29.31" W | |
08447424036 | LONDON | 53° 34' 15.26" N, 0° 37' 11.44" W | |
08452007619 | LONDON | 54° 20' 40.61" N, 2° 44' 27.19" W | |
08452007628 | LONDON | 53° 23' 59.74" N, 1° 24' 15.17" W | |
08452007632 | LONDON | 53° 59' 12.49" N, 1° 5' 59.24" W | |
08452007634 | LONDON | 53° 45' 6.65" N, 0° 16' 39.23" W | |
08452007685 | LONDON | 55° 50' 0.16" N, 4° 9' 58.42" W | |
08452007692 | LONDON | 56° 29' 21.05" N, 3° 6' 32.20" W | |
08452007694 | LONDON | 55° 36' 28.97" N, 4° 38' 32.04" W | |
08452007695 | LONDON | 55° 50' 48.12" N, 4° 28' 25.45" W | |
08452007852 | LONDON | 55° 55' 45.82" N, 3° 24' 36.07" W | |
08452007863 | LONDON | 51° 29' 25.86" N, 0° 4' 35.82" W | |
08452007951 | LONDON | 55° 50' 28.41" N, 4° 28' 35.64" W |