Semantic search

From Forum Freie Lastenräder
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:

Specify an additional cascading style sheet class
widget:

Available widget
navigation:

Layout navigation control
overlay:

Enable image overlay
perrow:

The amount of images per row
widths:

The width of the images
heights:

The height of the images
autocaptions:

Use filename as caption when none is provided
fileextensions:

When using the filename as caption, also display the file extension
captionproperty:

The name of a semantic property present on the queried pages to be used as caption
imageproperty:

Name of a semantic property on the queried pages that points to images to use. When set, the queried pages themselves will not be displayed as images
redirects:

The name of a semantic property present on the queried pages which contain the redirect target
Sort options
Delete
Add sorting condition
Debug output SQLStore
ASK Query
[[Kategorie:Initiativen]]
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 ON t0.smw_id=t1.s_id
WHERE
  (t1.o_id=2063)
  AND t0.smw_iw!=':smw'
  AND t0.smw_iw!=':smw-delete'
  AND t0.smw_iw!=':smw-redi'
ORDER BY
  RAND()
LIMIT
  104
OFFSET
  99
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt1refs_id, o_id, s_id_2, o_id_2o_id_25const119Using index; Using temporary; Using filesort
1SIMPLEt0eq_refPRIMARY, smw_id, smw_iw, smw_iw_2PRIMARY4mw_ffl.t1.s_id1Using where
Auxilliary Tables
No auxilliary tables used.
Query Metrics
Query-Size:1
Query-Depth:0
Errors and Warnings
None