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::WC2A 1AN]]
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='328513')
  )
  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_id5const16Using 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
01132739900LONDON53° 50' 23.65" N, 1° 26' 59.71" W
01189977920LONDON51° 27' 13.31" N, 0° 58' 16.62" W
01213624035LONDON52° 33' 36.07" N, 1° 49' 20.69" W
01226200364LONDON53° 33' 4.99" N, 1° 30' 38.60" W
01612454650LONDON53° 28' 26.16" N, 2° 14' 59.64" W
02070256500LONDON51° 30' 39.99" N, 0° 8' 4.99" W
02072012942LONDON51° 30' 3.80" N, 0° 9' 37.18" W
02072248778LONDON51° 31' 25.04" N, 0° 9' 39.96" W
02074002180LONDON51° 31' 4.71" N, 0° 6' 43.76" W
02075294763LONDON51° 30' 54.86" N, 0° 8' 46.98" W
02076389571LONDON51° 31' 1.75" N, 0° 5' 8.88" W
02077157470LONDON51° 30' 16.15" N, 0° 1' 5.19" W
02082226330LONDON51° 30' 25.93" N, 0° 13' 23.67" W
02084399390LONDON51° 27' 38.69" N, 0° 18' 15.65" W
08452300711LONDON52° 44' 51.51" N, 1° 8' 49.61" W