Semantic search

Jump to navigation Jump 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
[[Range::≤26]] [[Class::!Mechanoid Weapons]] [[Name::!Uranium slug cannon]] [[Name::!Autocannon]] [[Name::!Mini-turret gun]]
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
  `mr_smw_object_ids` AS t0
INNER JOIN
  (`mr_smw_di_number` AS t2
INNER JOIN
  (`mr_smw_di_wikipage` AS t4
INNER JOIN
  `mr_smw_object_ids` AS t6 ON t4.o_id=t6.smw_id) ON t2.s_id=t4.s_id
INNER JOIN
  `mr_smw_di_blob` AS t7 ON t2.s_id=t7.s_id
INNER JOIN
  `mr_smw_di_blob` AS t9 ON t2.s_id=t9.s_id
INNER JOIN
  `mr_smw_di_blob` AS t11 ON t2.s_id=t11.s_id) ON t0.smw_id=t2.s_id
WHERE
  (
   (t2.o_sortkey<='26') AND t2.p_id=21348
   AND (t4.p_id=21335
   AND (t6.smw_sortkey!='Mechanoid Weapons')
  )
   AND (
   (t7.o_hash!='Uranium slug cannon') AND t7.p_id=2936)
   AND (
   (t9.o_hash!='Autocannon') AND t9.p_id=2936)
   AND (
   (t11.o_hash!='Mini-turret gun') AND t11.p_id=2936)
  )
  AND t0.smw_iw!=':smw'
  AND t0.smw_iw!=':smw-delete'
  AND t0.smw_iw!=':smw-redi'
ORDER BY
  t0.smw_sort ASC
LIMIT
  55
OFFSET
  0
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt2ranges_id, p_id, o_sortkey, p_id_2, s_id_2p_id1338100.00Using index condition; Using temporary; Using filesort
1SIMPLEt0eq_refPRIMARY, smw_id, smw_iw, smw_iw_2PRIMARY4rimworld_wiki_new.t2.s_id150.01Using where
1SIMPLEt7refs_id, p_id, s_id_2, o_hashs_id8rimworld_wiki_new.t2.s_id, const156.05Using where; Distinct
1SIMPLEt9refs_id, p_id, s_id_2, o_hashs_id8rimworld_wiki_new.t2.s_id, const171.96Using where; Distinct
1SIMPLEt4refs_id, o_id, p_id, s_id_2, s_id_3, o_id_2, o_id_3s_id_38rimworld_wiki_new.t2.s_id, const1100.00Using where; Using index; Distinct
1SIMPLEt6eq_refPRIMARY, smw_id, smw_sortkeyPRIMARY4rimworld_wiki_new.t4.o_id1100.00Using where; Distinct
1SIMPLEt11refs_id, p_id, s_id_2, o_hashs_id8rimworld_wiki_new.t2.s_id, const199.99Using where; Distinct
Auxilliary Tables
No auxilliary tables used.
Query Metrics
Query-Size:10
Query-Depth:1
Errors and Warnings
None
 Range
Autopistol25.9
Chain shotgun12.9
Charge rifle25.9
EMP grenades12.9
EMP launcher23.9
Flamebow22.9
Frag grenades12.9
Grenadier armor12.9
Heavy SMG22.9
Incendiary launcher23.9
LMG25.9
Machine pistol19.9
Molotov cocktails12.9
Pila18.9
Pump shotgun15.9
Recurve bow25.9
Revolver25.9
Short bow22.9
Smoke launcher23.9
Tactical turret gun19.9