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
[[Resource 1::+]] [[!Category:Building]] [[!Category:Furniture]] [[!Category:Miscellaneous]] [[!Category:Security]] [[!Category:Production]] [[!Category:Floor]]
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, idst12.smw_sort
FROM
  `mr_smw_object_ids` AS t0
INNER JOIN
  (`mr_smw_di_wikipage` AS t2
INNER JOIN
  `mr_smw_object_ids` AS t5 ON t2.s_id=t5.smw_id
INNER JOIN
  `mr_smw_object_ids` AS t6 ON t2.s_id=t6.smw_id
INNER JOIN
  `mr_smw_object_ids` AS t7 ON t2.s_id=t7.smw_id
INNER JOIN
  `mr_smw_object_ids` AS t8 ON t2.s_id=t8.smw_id
INNER JOIN
  `mr_smw_object_ids` AS t9 ON t2.s_id=t9.smw_id
INNER JOIN
  `mr_smw_object_ids` AS t10 ON t2.s_id=t10.smw_id) ON t0.smw_id=t2.s_id
LEFT OUTER JOIN
  (`mr_smw_di_wikipage` AS t12
INNER JOIN
  `mr_smw_object_ids` AS idst12 ON idst12.smw_id=t12.o_id) ON t0.smw_id=t12.s_id
   AND (t12.p_id=197510)
WHERE
  (t2.p_id=191170
   AND (t5.smw_sortkey!='Building')
   AND (t6.smw_sortkey!='Furniture')
   AND (t7.smw_sortkey!='Miscellaneous')
   AND (t8.smw_sortkey!='Security')
   AND (t9.smw_sortkey!='Production')
   AND (t10.smw_sortkey!='Floor')
  )
  AND t0.smw_iw!=':smw'
  AND t0.smw_iw!=':smw-delete'
  AND t0.smw_iw!=':smw-redi'
ORDER BY
  idst12.smw_sort ASC
LIMIT
  10
OFFSET
  10
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt2refs_id, p_id, s_id_2, s_id_3p_id4const496100.00Using index; Using temporary; Using filesort
1SIMPLEt5eq_refPRIMARY, smw_id, smw_sortkeyPRIMARY4rimworld_wiki_new.t2.s_id179.92Using where
1SIMPLEt8eq_refPRIMARY, smw_id, smw_sortkeyPRIMARY4rimworld_wiki_new.t2.s_id182.53Using where
1SIMPLEt9eq_refPRIMARY, smw_id, smw_sortkeyPRIMARY4rimworld_wiki_new.t2.s_id195.34Using where
1SIMPLEt7eq_refPRIMARY, smw_id, smw_sortkeyPRIMARY4rimworld_wiki_new.t2.s_id199.35Using where
1SIMPLEt0eq_refPRIMARY, smw_id, smw_iw, smw_iw_2PRIMARY4rimworld_wiki_new.t2.s_id150.01Using where
1SIMPLEt6eq_refPRIMARY, smw_id, smw_sortkeyPRIMARY4rimworld_wiki_new.t2.s_id1100.00Using where
1SIMPLEt10eq_refPRIMARY, smw_id, smw_sortkeyPRIMARY4rimworld_wiki_new.t2.s_id1100.00Using where
1SIMPLEt12refs_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 index
1SIMPLEidst12eq_refPRIMARY, smw_idPRIMARY4rimworld_wiki_new.t12.o_id1100.00
Auxilliary Tables
No auxilliary tables used.
Query Metrics
Query-Size:7
Query-Depth:1
Errors and Warnings
None
 Production Facility 1TypeType2
StoolBuildingFurniture
Rustic rug (medium)BuildingFloor
VentBuildingTemperature
Spikecore stone tileFloor
Wall torch lampBuildingFurniture