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
[[Found in::+]] [[Housing class::Middle]] [[Housing type::Urban]]
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
  `smw_object_ids` AS t0
INNER JOIN
  (`smw_di_wikipage` AS t2
INNER JOIN
  `t3` AS t3 ON t2.p_id=t3.id
INNER JOIN
  `smw_di_blob` AS t5 ON t2.s_id=t5.s_id
INNER JOIN
  `smw_di_blob` AS t7 ON t2.s_id=t7.s_id) ON t0.smw_id=t2.s_id
WHERE
  (
   ((t5.o_hash='Middle') AND t5.p_id=2021579)
   AND (
   (t7.o_hash='Urban') AND t7.p_id=2021581)
  )
  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
  50
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt5refs_id, p_id, o_hash, s_id_2o_hash258const90Using index condition; Using where; Using temporary; Using filesort
1SIMPLEt0eq_refPRIMARY, smw_id, smw_iw, smw_iw_2PRIMARY4drwiki.t5.s_id1Using where
1SIMPLEt2refs_id, p_id, s_id_2, s_id_3s_id4drwiki.t5.s_id1Using index; Distinct
1SIMPLEt3eq_refPRIMARYPRIMARY4drwiki.t2.p_id1Distinct
1SIMPLEt7refs_id, p_id, o_hash, s_id_2s_id8drwiki.t5.s_id, const1Using where; Distinct
Auxilliary Tables
  • Temporary table t3
      Recursively computed hierarchy for element(s) (2021295).
      SELECT s_id FROM `smw_fpt_subp` WHERE o_id=2021295 LIMIT 1
Query Metrics
Query-Size:5
Query-Depth:1
Errors and Warnings
None
 ClassTypeFormRestrictionJusticeFreeTotalUpdated
Riverhaven Warrior Mage GuildMiddleUrbanDoorWarrior Magecity3617 August 2022
Riverpine CircleLower
Middle
Rural
Urban
Freecity03815 August 2022
Rossgallan KeepMiddleUrbanFreeHumanscity81014 August 2022
Selridge RoadMiddleUrbanFreecity3524 July 2023
South Bridge FlatsLower
Middle
Upper
UrbanDoorcity0515 August 2022
South Elemental TowerMiddleRural
Urban
DoorWarrior Magenone0106 July 2022
Street of the Four MoonsMiddleUrbanFreecity01222 August 2023
Swithen's CourtLower
Middle
UrbanFreecity01411 July 2022
Taelbert's InnMiddleUrbanDoorcity0814 August 2022
The Enclave at Fang CoveLower
Middle
Upper
Rural
Urban
Freenone02312 August 2022
Therenborough InnMiddleUrbanDoorcity1214 August 2022
Tierskel WayMiddleUrbanFreecity71024 July 2023
Upper Cobra RoadMiddleUrbanFreecity5524 July 2023
Vela'tohr Valley Cleric's CloistersMiddleUrbanDoorClericnone0511 August 2022
West Elemental TowerMiddleUrbanDoorWarrior Magenone21017 July 2022
Whitehall CommonsMiddleUrbanDoor
Free
Empathcity0815 August 2022
Willow WalkMiddleRural
Urban
Free
Tree
Empathcity26218 October 2023