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
import-annotation:

Additional annotated data are to be copied during the parsing of a subject
propsep:

The separator between the properties of a result entry
valuesep:

The separator between the values for a property of a result
template:

The name of a template with which to display the printouts
named args:

Name the arguments passed to the template
userparam:

A value passed into each template call, if a template is used
class:

An additional CSS class to set for the list
introtemplate:

The name of a template to display before the query results, if there are any
outrotemplate:

The name of a template to display after the query results, if there are any
sep:

The separator between results
Sort options
Delete
Add sorting condition
No results.
Debug output SQLStore
ASK Query
[[Category:Equipment]] [[Owner::+]]
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
  "t3" AS t3 ON t2.o_id=t3.id
INNER JOIN
  "smw_di_wikipage" AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
  (
   (t4.p_id=9780)
  )
  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
Limit  (cost=241.29..242.39 rows=55 width=86)
  └──   Unique  (cost=240.29..251.23 rows=547 width=86)
        └──   Sort  (cost=240.29..241.66 rows=547 width=86)
              Sort Key: t0.smw_sort, t0.smw_id, t0.smw_title, t0.smw_namespace, t0.smw_iw, t0.smw_subobject, t0.smw_sortkey
              └──   Hash Join  (cost=145.75..215.41 rows=547 width=86)
                    Hash Cond: (t3.id = t2.o_id)
                    └──   Seq Scan on t3  (cost=0.00..35.50 rows=2550 width=4)
                    └──   Hash  (cost=145.21..145.21 rows=43 width=90)
                          └──   Nested Loop  (cost=47.79..145.21 rows=43 width=90)
                                └──   Hash Join  (cost=47.51..67.13 rows=49 width=12)
                                      Hash Cond: (t4.s_id = t2.s_id)
                                      └──   Bitmap Heap Scan on smw_di_wikipage t4  (cost=4.52..23.34 rows=31 width=4)
                                            Recheck Cond: (p_id = 9780)
                                            └──   Bitmap Index Scan on smw_di_wikipage_idx_pid_sid  (cost=0.00..4.51 rows=31 width=0)
                                                  Index Cond: (p_id = 9780)
                                      └──   Hash  (cost=23.55..23.55 rows=1555 width=8)
                                            └──   Seq Scan on smw_fpt_inst t2  (cost=0.00..23.55 rows=1555 width=8)
                                └──   Index Scan using smw_object_ids_pkey on smw_object_ids t0  (cost=0.28..1.58 rows=1 width=86)
                                      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
  • Temporary table t3
      Recursively computed hierarchy for element(s) (9784).
      SELECT s_id FROM "smw_fpt_subc" WHERE o_id=9784 LIMIT 1
Query Metrics
Query-Size:2
Query-Depth:1
Errors and Warnings
None