Open main menu

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
SQLStore debug output
ASK Query
[[Category:Companies:CompanyContact]] [[Companies:postcode::WC2B 4HN]]
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_wikipage` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
  (t2.o_id='518'
   AND (t4.p_id='523' AND t4.o_id='554192')
  )
  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
  1
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEt4refs_id,o_id,p_id,s_id_2,s_id_3,o_id_2,o_id_3o_id5const17Using where; Using temporary; Using filesort
1SIMPLEt2refs_id,o_id,s_id_2,o_id_2s_id4callto_wikidb.t4.s_id1Using where
1SIMPLEt0eq_refPRIMARY,smw_id,smw_iw,smw_iw_2PRIMARY4callto_wikidb.t4.s_id1Using where
Auxilliary Tables
No auxilliary tables used.
Query Metrics
Query-Size:3
Query-Depth:1
Errors and Warnings
None
 Companies:townCompanies:countyHas coordinates
01189516720LONDON51° 27' 18.94" N, 0° 58' 11.27" W
01273712150LONDON50° 49' 26.90" N, 0° 8' 39.37" W
01344353880LONDON51° 24' 59.09" N, 0° 44' 50.07" W
01372751200LONDON51° 20' 3.44" N, 0° 15' 53.56" W
01392221300LONDON50° 43' 21.53" N, 3° 31' 30.82" W
01483400980LONDON51° 14' 15.63" N, 0° 34' 2.11" W
01622679779LONDON51° 16' 26.45" N, 0° 31' 26.54" E
02070096000LONDON51° 30' 53.21" N, 0° 7' 57.56" W
02070547200LONDON51° 30' 48.25" N, 0° 6' 58.73" W
02070760860LONDON51° 31' 7.92" N, 0° 8' 22.92" E
02072022610LONDON51° 31' 24.55" N, 0° 7' 33.05" W
02072877783LONDON51° 30' 53.55" N, 0° 7' 58.84" W
02073879373LONDON51° 31' 26.42" N, 0° 8' 25.67" W
02077441300LONDON51° 30' 49.38" N, 0° 7' 6.55" W
02087426100LONDON51° 29' 41.56" N, 0° 13' 33.72" W
08455000666LONDON50° 46' 21.09" N, 1° 36' 17.77" W