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
[[Category:Village]] [[Location::+]]
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 t2
INNER JOIN
  "smw_di_coords" AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
  (t2.o_id=1052
   AND (t4.p_id=510)
  )
  AND t0.smw_iw!=':smw'
  AND t0.smw_iw!=':smw-delete'
  AND t0.smw_iw!=':smw-redi'
ORDER BY
  t0.smw_sort ASC
LIMIT
  6
OFFSET
  2
SQL Explain
Limit  (cost=23.18..23.24 rows=3 width=76)
  └──   Unique  (cost=23.14..23.24 rows=5 width=76)
        └──   Sort  (cost=23.14..23.16 rows=5 width=76)
              Sort Key: t0.smw_sort, t0.smw_id, t0.smw_title, t0.smw_namespace, t0.smw_iw, t0.smw_subobject, t0.smw_sortkey
              └──   Nested Loop  (cost=2.05..23.09 rows=5 width=76)
                    └──   Hash Join  (cost=1.77..7.36 rows=5 width=8)
                          Hash Cond: (t2.s_id = t4.s_id)
                          └──   Seq Scan on smw_fpt_inst t2  (cost=0.00..5.36 rows=45 width=4)
                                Filter: (o_id = 1052)
                          └──   Hash  (cost=1.39..1.39 rows=31 width=4)
                                └──   Seq Scan on smw_di_coords t4  (cost=0.00..1.39 rows=31 width=4)
                                      Filter: (p_id = 510)
                    └──   Index Scan using smw_object_ids_smw_id_idx on smw_object_ids t0  (cost=0.28..3.14 rows=1 width=76)
                          Index Cond: (smw_id = t2.s_id)
                          Filter: ((smw_iw <> ':smw'::text) AND (smw_iw <> ':smw-delete'::text) AND (smw_iw <> ':smw-redi'::text))
Auxilliary Tables
No auxilliary tables used.
Query Metrics
Query-Size:2
Query-Depth:1
Errors and Warnings
None
 Location
Villages:Cambridge Makespace51° 58' 1.85" N, 0° 47' 34.04" W