Semantic search
From The Doctor Who Cuttings Archive
Jump to navigationJump to searchSQLStore debug output
ASK Query
[[Has Publication::Fine Tuning (Milwaukee)]] [[Category:Letters to the editor]] [[Has DatePublished::≥1 October 1983]] [[Has DatePublished::≤1 January 1985]]
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, t7.o_sortkey
FROM
`cutt_smw_object_ids` AS t0
INNER JOIN
(`cutt_smw_di_wikipage` AS t2
INNER JOIN
`cutt_smw_fpt_inst` AS t5 ON t2.s_id=t5.s_id
INNER JOIN
`cutt_smw_di_time` AS t7 ON t2.s_id=t7.s_id
INNER JOIN
`cutt_smw_di_time` AS t9 ON t2.s_id=t9.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.p_id='30442' AND t2.o_id='29147'
AND (t5.o_id='4455')
AND (
(t7.o_sortkey>='2445608.5') AND t7.p_id='30419')
AND (
(t9.o_sortkey<='2446066.5') AND t9.p_id='30419')
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t7.o_sortkey ASC
LIMIT
55
OFFSET
0
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, t7.o_sortkey
FROM
`cutt_smw_object_ids` AS t0
INNER JOIN
(`cutt_smw_di_wikipage` AS t2
INNER JOIN
`cutt_smw_fpt_inst` AS t5 ON t2.s_id=t5.s_id
INNER JOIN
`cutt_smw_di_time` AS t7 ON t2.s_id=t7.s_id
INNER JOIN
`cutt_smw_di_time` AS t9 ON t2.s_id=t9.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.p_id='30442' AND t2.o_id='29147'
AND (t5.o_id='4455')
AND (
(t7.o_sortkey>='2445608.5') AND t7.p_id='30419')
AND (
(t9.o_sortkey<='2446066.5') AND t9.p_id='30419')
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t7.o_sortkey ASC
LIMIT
55
OFFSET
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t2 | ref | s_id,o_id,p_id,s_id_2,s_id_3,o_id_2,o_id_3 | o_id | 5 | const | 26 | Using where; Using temporary; Using filesort |
1 | SIMPLE | t5 | ref | s_id,o_id,s_id_2,o_id_2 | s_id_2 | 9 | cuttings_wiki133.t2.s_id,const | 1 | Using index |
1 | SIMPLE | t7 | ref | s_id,p_id,o_sortkey,p_id_2,s_id_2 | s_id_2 | 8 | cuttings_wiki133.t2.s_id,const | 1 | Using where; Using index |
1 | SIMPLE | t9 | ref | s_id,p_id,o_sortkey,p_id_2,s_id_2 | s_id_2 | 8 | cuttings_wiki133.t2.s_id,const | 1 | Using where; Using index |
1 | SIMPLE | t0 | eq_ref | PRIMARY,smw_id,smw_iw,smw_iw_2 | PRIMARY | 4 | cuttings_wiki133.t2.s_id | 1 | Using where |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:7Query-Depth:1
Errors and Warnings
Noneletters to "Fine Tuning" | issue date |
---|---|
What Has Happened to "Who"? | 1983-11-01 |
Long Live Who | 1983-12-01 |
A Family Adventure | 1984-01-01 |
Who x Who x Who | 1984-02-01 |
How to Make a Snowball | 1984-03-01 |
Three More Votes for Who | 1984-05-01 |
An Appointment with the Doctor | 1984-06-01 |
Who's "It" in Brookfield | 1984-11-01 |