Semantic search
From Who Called Me
SQLStore debug output
ASK Query
[[Category:Companies:CompanyContact]] [[Companies:postcode::AB10 1JB]]
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='24503')
)
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='24503')
)
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 | 21 | 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 | |
---|---|---|---|
01224725506 | ABERDEEN | 57° 12' 11.93" N, 2° 13' 8.49" W | |
01224729922 | ABERDEEN | 57° 12' 39.50" N, 2° 13' 32.85" W | |
01224748480 | ABERDEEN | ABERDEENSHIRE | 57° 8' 54.37" N, 2° 16' 43.29" W |
01224771123 | ABERDEEN | 57° 12' 11.93" N, 2° 13' 8.49" W | |
01236625242 | ABERDEEN | 55° 51' 21.40" N, 3° 58' 1.68" W | |
01248853571 | ABERDEEN | 53° 18' 54.96" N, 4° 13' 50.70" W | |
01312282083 | ABERDEEN | 55° 56' 30.83" N, 3° 12' 16.76" W | |
01343820753 | ABERDEEN | 57° 37' 43.04" N, 3° 7' 26.21" W | |
01382214033 | ABERDEEN | 56° 29' 4.96" N, 3° 1' 7.53" W | |
01382214252 | ABERDEEN | 56° 28' 23.34" N, 3° 1' 5.75" W | |
01414251145 | ABERDEEN | GRAMPIAN | 55° 51' 28.18" N, 4° 18' 48.34" W |
01414279222 | ABERDEEN | 55° 50' 57.55" N, 4° 17' 40.37" W | |
01416440965 | ABERDEEN | 55° 46' 51.00" N, 4° 16' 5.03" W | |
01463715223 | ABERDEEN | 57° 29' 19.23" N, 4° 13' 38.09" W | |
01466794300 | ABERDEEN | 57° 26' 58.38" N, 2° 47' 36.26" W | |
01569763881 | ABERDEEN | 56° 57' 49.79" N, 2° 14' 6.11" W | |
07717368213 | ABERDEEN | 51° 55' 55.64" N, 0° 15' 26.91" E | |
07747186950 | ABERDEEN | 52° 1' 30.70" N, 0° 2' 24.51" E | |
07795371778 | ABERDEEN | 56° 59' 46.74" N, 2° 12' 50.89" W | |
07856110248 | ABERDEEN | 53° 48' 18.19" N, 1° 47' 8.93" W |