Semantic search

From Who Called Me
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::W5 2PJ]]
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='719515')
  )
  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_id5const21Using 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
01224379911LONDON57° 8' 54.78" N, 2° 5' 35.72" W
01302953031LONDON53° 31' 32.30" N, 1° 7' 50.34" W
01495750033LONDON51° 41' 3.31" N, 3° 0' 57.85" W
01582555306LONDON51° 52' 53.18" N, 0° 25' 17.69" W
01604636000LONDON52° 14' 15.83" N, 0° 53' 25.96" W
01895611013EALINGLONDON51° 31' 44.18" N, 0° 27' 6.11" W
01926730812LONDON52° 16' 56.93" N, 1° 31' 52.59" W
02033444854EALINGLONDON51° 30' 50.69" N, 0° 18' 0.19" W
02084509398LONDON51° 34' 4.89" N, 0° 13' 57.48" W
02085679123LONDON51° 30' 51.54" N, 0° 18' 1.24" W
02085705748LONDON51° 28' 7.65" N, 0° 21' 44.62" W
02087431907LONDON51° 30' 22.49" N, 0° 15' 43.77" W
02088409979LONDON51° 30' 51.54" N, 0° 18' 1.24" W
07702247771LONDON54° 51' 9.71" N, 1° 50' 3.52" W
07716744933EALINGLONDON51° 6' 42.22" N, 0° 51' 27.46" W
07730377507LONDON51° 32' 40.15" N, 0° 1' 23.87" W
07749474316LONDON51° 35' 3.97" N, 0° 6' 1.07" W
07854152012LONDON51° 30' 31.18" N, 0° 35' 18.85" W
07858818454LONDON54° 36' 21.94" N, 6° 59' 48.31" W
07870533673LONDON53° 26' 28.09" N, 2° 55' 48.31" W