Semantic search

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
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
class:

An additional CSS class to set for the table
transpose:

Display table headers vertically and results horizontally
sep:

The separator between results
Sort options
Delete
Add sorting condition
Debug output SQLStore
ASK Query
[[Category:Object]] [[sortdate find::≥1910]] [[sortdate find::≤1919.9999]]
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
  `smw_object_ids` AS t0
INNER JOIN
  (`smw_fpt_inst` AS t2
INNER JOIN
  `smw_di_number` AS t4 ON t2.s_id=t4.s_id
INNER JOIN
  `smw_di_number` AS t6 ON t2.s_id=t6.s_id) ON t0.smw_id=t2.s_id
INNER JOIN
  `smw_di_blob` AS t9 ON t0.smw_id=t9.s_id
WHERE
  (t2.o_id=622
   AND (
   (t4.o_sortkey>='1910') AND t4.p_id=916)
   AND (
   (t6.o_sortkey<='1919.9999') AND t6.p_id=916)
  )
   AND (t9.p_id=2598877)
  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
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt6ranges_id, p_id, o_sortkey, p_id_2, s_id_2p_id1355Using index condition; Using temporary; Using filesort
1SIMPLEt4refs_id, p_id, o_sortkey, p_id_2, s_id_2s_id_28tirwebspas52.t6.s_id, const1Using where; Using index
1SIMPLEt2refs_id, o_id, s_id_2, o_id_2s_id_29tirwebspas52.t6.s_id, const1Using index
1SIMPLEt0eq_refPRIMARY, smw_id, smw_iw, smw_iw_2PRIMARY4tirwebspas52.t6.s_id1Using where
1SIMPLEt9refs_id, p_id, s_id_2s_id8tirwebspas52.t6.s_id, const1
Auxilliary Tables
No auxilliary tables used.
Query Metrics
Query-Size:5
Query-Depth:1
Errors and Warnings
None
 sortdate find
AS-3 potsherd1,912
AS-4 potsherd1,912
AS-5 potsherd1,912
AS-6 potsherd1,912
AS-7 potsherd1,912
AS-8 potsherd1,912
AS-9 potsherd1,912
AS-10 potsherd1,912
AS-11 potsherd1,912
BZ-16 chisel1,911
MA-1 antler1,912
MA-2 antler1,912
MA-3 antler1,912
MA-4 antler1,912
MA-5 antler1,912
MA-6 antler1,912
MA-7 antler1,912
MA-8 antler1,912
MA-9 antler1,912
MA-10 antler1,912
MA-11 antler1,912
MA-12 antler1,912
MA-13 antler1,912
MA-14 antler1,912
MA-15 antler1,912
MA-16 antler1,912
MA-17 antler1,912
MA-18 antler1,912
MA-19 antler1,912
MA-20 antler1,912
MA-21 antler1,912
MA-22 antler1,912
MA-23 antler1,912
MA-24 ingot1,912
SZ-75 handle1,912