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::W1G 9RE]]
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='815138')
  )
  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
01132041085LONDON53° 47' 48.30" N, 1° 33' 2.16" W
01179065290LONDON51° 27' 14.27" N, 2° 35' 48.42" W
01214527120LONDON52° 28' 9.36" N, 1° 55' 23.06" W
01216434488LONDON52° 28' 47.34" N, 1° 54' 6.74" W
01325387780LONDON54° 31' 41.47" N, 1° 30' 54.47" W
01382561771LONDON56° 27' 49.28" N, 3° 3' 18.36" W
01383842284LONDON56° 2' 54.38" N, 3° 25' 34.18" W
01417736730LONDON55° 51' 37.82" N, 4° 6' 49.10" W
01612283090LONDON53° 28' 51.24" N, 2° 14' 20.73" W
01618864580LONDON53° 27' 32.30" N, 2° 17' 11.67" W
01903868296LONDON50° 48' 50.77" N, 0° 33' 23.24" W
01912361150LONDON55° 1' 8.01" N, 1° 37' 19.67" W
01912602211LONDON54° 58' 11.10" N, 1° 37' 5.14" W
02032192850LONDON51° 31' 1.69" N, 0° 8' 52.98" W
02074370200LONDON51° 30' 58.26" N, 0° 8' 53.23" W