Actions

Special

Semantic 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:Villages]]
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_fpt_inst" AS t1
INNER JOIN
  "t2" AS t2 ON t1.o_id=t2.id) ON t0.smw_id=t1.s_id
WHERE
  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
Limit  (cost=694.63..694.77 rows=55 width=112)
  └──   Sort  (cost=694.51..697.79 rows=1314 width=112)
        Sort Key: t0.smw_sort
        └──   HashAggregate  (cost=630.69..643.83 rows=1314 width=112)
              Group Key: t0.smw_sort, t0.smw_id, t0.smw_title, t0.smw_namespace, t0.smw_iw, t0.smw_subobject, t0.smw_sortkey
              └──   Merge Join  (cost=353.47..483.20 rows=8428 width=112)
                    Merge Cond: (t1.o_id = t2.id)
                    └──   Sort  (cost=173.69..175.34 rows=661 width=116)
                          Sort Key: t1.o_id
                          └──   Hash Join  (cost=127.25..142.72 rows=661 width=116)
                                Hash Cond: (t1.s_id = t0.smw_id)
                                └──   Seq Scan on smw_fpt_inst t1  (cost=0.00..13.29 rows=829 width=8)
                                └──   Hash  (cost=110.82..110.82 rows=1314 width=112)
                                      └──   Seq Scan on smw_object_ids t0  (cost=0.00..110.82 rows=1314 width=112)
                                            Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
                    └──   Sort  (cost=179.78..186.16 rows=2550 width=4)
                          Sort Key: t2.id
                          └──   Seq Scan on t2  (cost=0.00..35.50 rows=2550 width=4)
Auxilliary Tables
  • Temporary table t2
      Recursively computed hierarchy for element(s) (1017).
      SELECT s_id FROM "smw_fpt_subc" WHERE o_id=1017 LIMIT 1
Query Metrics
Query-Size:1
Query-Depth:0
Errors and Warnings
None
 PopulationPart of realmPart of provinceHasMap
Njom90BiesenBasco 
Ometak4SchapEzland 
Outan250Nanalanda Territory 
Pachia550Mea 
Phia240FonticiaAla 
Plartea230BiesenBasco 
Rovika80PalanAkingea 
Rurdet390PalanAkingea 
Sachang340PalanAkingea 
Schal (hamlet)90PalanAkingea 
Schramberg60BiesenColle 
Selmwald40SchapSchaperach County 
Slinahagri300Nanalanda Territory 
Swinvale220BiesenColle 
Togho200MunSasanguk 
TongilMunCheor Land 
Toran350PalanAkingea 
Troidel180SchapEzland 
Vohl160NjombiaNanalanda Territory 
Vopna320PalanAkingeaX
Weierbach90PalanAkingea 
Ziegwald100BiesenColle