Semantic search
From Lexicon Leponticum
Jump to navigationJump to search
Debug output SQLStore
ASK Query
[[Category:Inscription]] [[orientation::180]] [[orientation::+]]
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, t9.o_hash
FROM
`lexlep_smw_object_ids` AS t0
INNER JOIN
(`lexlep_smw_fpt_inst` AS t2
INNER JOIN
`lexlep_t3` AS t3 ON t2.o_id=t3.id
INNER JOIN
`lexlep_smw_di_number` AS t4 ON t2.s_id=t4.s_id
INNER JOIN
`lexlep_smw_di_number` AS t6 ON t2.s_id=t6.s_id) ON t0.smw_id=t2.s_id
INNER JOIN
`lexlep_smw_di_blob` AS t9 ON t0.smw_id=t9.s_id
WHERE
(
((t4.o_sortkey='180') AND t4.p_id=716)
AND (t6.p_id=716)
)
AND (t9.p_id=1199080)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t9.o_hash 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, t9.o_hash
FROM
`lexlep_smw_object_ids` AS t0
INNER JOIN
(`lexlep_smw_fpt_inst` AS t2
INNER JOIN
`lexlep_t3` AS t3 ON t2.o_id=t3.id
INNER JOIN
`lexlep_smw_di_number` AS t4 ON t2.s_id=t4.s_id
INNER JOIN
`lexlep_smw_di_number` AS t6 ON t2.s_id=t6.s_id) ON t0.smw_id=t2.s_id
INNER JOIN
`lexlep_smw_di_blob` AS t9 ON t0.smw_id=t9.s_id
WHERE
(
((t4.o_sortkey='180') AND t4.p_id=716)
AND (t6.p_id=716)
)
AND (t9.p_id=1199080)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t9.o_hash ASC
LIMIT
55
OFFSET
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t3 | ALL | PRIMARY | 2 | Using temporary; Using filesort | ||||
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, o_id_2 | o_id_2 | 5 | lexlepwebu54.t3.id | 71 | Using index | |
1 | SIMPLE | t4 | ref | s_id, p_id, o_sortkey, p_id_2, s_id_2 | s_id_2 | 17 | lexlepwebu54.t2.s_id, const, const | 1 | Using index | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | lexlepwebu54.t2.s_id | 1 | Using where | |
1 | SIMPLE | t9 | ref | s_id, p_id, s_id_2 | s_id | 8 | lexlepwebu54.t2.s_id, const | 1 | ||
1 | SIMPLE | t6 | ref | s_id, p_id, p_id_2, s_id_2 | s_id | 8 | lexlepwebu54.t2.s_id, const | 1 | Using index; Distinct |
Auxilliary Tables
- Temporary table t3
Recursively computed hierarchy for element(s) (1276).
SELECT s_id FROM `lexlep_smw_fpt_subc` WHERE o_id=1276 LIMIT 1
Query Metrics
Query-Size:4Query-Depth:1
Errors and Warnings
NoneInscription | orientation |
---|---|
BG·2.1 | 180 |
BG·3 | 180 |
BG·5.1 | 180 |
BG·29 | 180 |
BG·30 | 180 |
BG·31 | 180 |
BG·36.1 | 180 |
BG·38 | 180 |
BG·40 | 180 |
BG·41.13 | 180 |
BS·1 | 180 |
BS·19 | 180 |
BS·23 | 180 |
BS·24 | 180 |
BS·25 | 180 |
CO·66 | 180 |
CO·72 | 180 |
GR·3 | 180 |
MI·1 | 180 |
MI·10.2 | 180 |
MI·10.5 | 180 |
MI·13 | 180 |
MI·17 | 180 |
MI·18 | 180 |
MI·22 | 180 |
MI·23 | 180 |
MI·26 | 180 |
NM·1 | 180 |
PD·1 | 180 |
PG·2 | 90 180 270 |
TI·2 | 180 |
TI·5 | 180 |
TI·8 | 180 |
TI·46 | 180 |
TI·50 | 180 |
VA·8 | 180 |
VA·12 | 180 |
VA·13 | 180 |
VA·14 | 180 |
VA·16 | 180 |
VA·19 | 180 |
VA·20 | 180 |
VA·21 | 180 |
VA·27 | 180 |
VA·28.1 | 180 |
VA·28.3 | 180 |
VR·7 | 180 |
VR·22 | 180 |
VR·32 | 180 |
VR·33 | 180 |