Semantic search
From CODECS: Online Database and e-Resources for Celtic Studies
Debug output SQLStore
ASK Query
[[Concept:References]] [[Pub is part of pub::Thornton ODNB]]
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
`o2a5_smw_object_ids` AS t0
INNER JOIN
(`o2a5_smw_di_wikipage` AS t3
INNER JOIN
`o2a5_smw_di_wikipage` AS t6 ON t3.s_id=t6.s_id) ON t0.smw_id=t3.s_id
WHERE
(t3.p_id=3835477 AND t3.o_id=4125602
AND (t6.p_id=4978060 AND t6.o_id=326046)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
30
OFFSET
25
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
`o2a5_smw_object_ids` AS t0
INNER JOIN
(`o2a5_smw_di_wikipage` AS t3
INNER JOIN
`o2a5_smw_di_wikipage` AS t6 ON t3.s_id=t6.s_id) ON t0.smw_id=t3.s_id
WHERE
(t3.p_id=3835477 AND t3.o_id=4125602
AND (t6.p_id=4978060 AND t6.o_id=326046)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
30
OFFSET
25
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t6 | ref | s_id, o_id, p_id, s_id_2, s_id_3, o_id_2, o_id_3 | o_id_3 | 9 | const, const | 53 | Using temporary; Using filesort | |
1 | SIMPLE | t3 | ref | s_id, o_id, p_id, s_id_2, s_id_3, o_id_2, o_id_3 | p_id | 8 | const, codecs2023.t6.s_id | 1 | Using where | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | codecs2023.t6.s_id | 1 | Using where |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:3Query-Depth:1
Errors and Warnings
Noneincludes: David E. Thornton, ‘Maredudd ab Owain (d. 999)’ • David E. Thornton, ‘Merfyn Frych (d. 844)’ • David E. Thornton, ‘Mordaf Hael (fl. c.550–c.575)’ • David E. Thornton, ‘Morgan ab Athrwys (d. c.665/710)’ • David E. Thornton, ‘Morgan Hen (d. 974)’ • David E. Thornton, ‘Muirchú (fl. 697)’ • David E. Thornton, ‘Nennius (fl. c.770–c.810)’ • David E. Thornton, ‘Ua Brolcháin, Flaithbertach (d. 1175)’ • David E. Thornton, ‘Euddogwy (supp. fl. late 6th cent.)’ • David E. Thornton, ‘Owain ab Edwin (d. 1105)’ • David E. Thornton, ‘Peulan (fl. 6th cent.)’ • David E. Thornton, ‘Probus (fl. 9th–11th cent.)’ • David E. Thornton, ‘Rhodri Mawr (b. before 844, d. 878)’ • David E. Thornton, ‘Rhun Hir (fl. 547–c.600)’ • David E. Thornton, ‘Rhydderch Hen (fl. c.573–c.612)’ • David E. Thornton, ‘Seiriol <St Seiriol> (fl. 6th cent.)’ • David E. Thornton, ‘Teilo (supp. fl. c.550)’ • David E. Thornton, ‘Tírechán <St Tírechán> (fl. c.690)’ • David E. Thornton, ‘Tysilio (fl. c.600)’ • David E. Thornton, ‘Urien Rheged (fl. c.560–c.580)’ • David E. Thornton, ‘Vortigern (fl. 5th cent.)’ • David E. Thornton, ‘Cadell Ddyrnllug (fl. 5th cent.)’ • David E. Thornton, ‘Cynddylan ap Cyndrwyn (fl. c.616–c.641)’ • David E. Thornton, ‘Cyngen ap Cadell (d. 854/5)’ • David E. Thornton, ‘Owain ap Hywel (b. before 929, d. 988)’