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
[[Concept:Step]]
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, t2.o_hash
FROM
  `smw_object_ids` AS t0
INNER JOIN
  `smw_di_blob` AS t2 ON t0.smw_id=t2.s_id
WHERE
  (t2.p_id=6517)
  AND t0.smw_iw!=':smw'
  AND t0.smw_iw!=':smw-delete'
  AND t0.smw_iw!=':smw-redi'
ORDER BY
  t2.o_hash ASC
LIMIT
  55
OFFSET
  50
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt2refs_id, p_id, s_id_2p_id4const58Using where; Using temporary
1SIMPLEt0eq_refPRIMARY, smw_id, smw_iw, smw_iw_2PRIMARY4wiki.t2.s_id1Using where
Auxilliary Tables
No auxilliary tables used.
Query Metrics
Query-Size:1
Query-Depth:0
Errors and Warnings
None
Stepnamekindreferencejavadoctexttestlevel
Gremlinsumreducing barriersum-stepoperates on a stream of numbers and sums the numbers together to yield a result3
Gremlintailfiltertail-step
GremlintoBulkSetterminalterminal-stepswill return all results in a weighted set and thus, duplicates preserved via weighting2
GremlintoListterminalterminal-stepswill return all results in a list2
GremlintoSetterminalterminal-stepswill return all results in a set and thus, duplicates removed2
GremlintryNextterminalterminal-stepswill return an Optional and thus, is a composite of hasNext()/next()2
Gremlinunionbranchrepeat-step2
Gremlinwherefilterwhere-stepfilters the current object based on either the object itself (Scope.local) or the path history of the object (Scope.global) (filter). This step is typically used in conjunction with either #match Step or select()-step, but can be used in isolation.2