Semantic search

From CODECS: Online Database and e-Resources for Celtic Studies
Condition
Printout selection
Options
Parameters [
limit:

The maximum number of results to return
offset:

The offset of the first result
link:

Show values as links
headers:

Display the headers/property names
mainlabel:

The label to give to the main page name
intro:

The text to display before the query results, if there are any
outro:

The text to display after the query results, if there are any
searchlabel:

Text for continuing the search
default:

The text to display if there are no query results
import-annotation:

Additional annotated data are to be copied during the parsing of a subject
propsep:

The separator between the properties of a result entry
valuesep:

The separator between the values for a property of a result
template:

The name of a template with which to display the printouts
named args:

Name the arguments passed to the template
userparam:

A value passed into each template call, if a template is used
class:

An additional CSS class to set for the list
introtemplate:

The name of a template to display before the query results, if there are any
outrotemplate:

The name of a template to display after the query results, if there are any
sep:

The separator between results
Sort options
Delete
Add sorting condition
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
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt6refs_id, o_id, p_id, s_id_2, s_id_3, o_id_2, o_id_3o_id_39const, const53Using temporary; Using filesort
1SIMPLEt3refs_id, o_id, p_id, s_id_2, s_id_3, o_id_2, o_id_3p_id8const, codecs2023.t6.s_id1Using where
1SIMPLEt0eq_refPRIMARY, smw_id, smw_iw, smw_iw_2PRIMARY4codecs2023.t6.s_id1Using where
Auxilliary Tables
No auxilliary tables used.
Query Metrics
Query-Size:3
Query-Depth:1
Errors and Warnings
None
includes: 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)