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::SE1 8NW]]
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='154730')
  )
  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
01212301650LONDON52° 28' 47.34" N, 1° 54' 6.74" W
01223321195LONDON52° 11' 52.29" N, 0° 7' 45.10" E
01244311855LONDON53° 11' 23.60" N, 2° 53' 16.69" W
01618271890LONDON53° 28' 57.63" N, 2° 14' 42.85" W
01622882300LONDON51° 18' 5.21" N, 0° 29' 38.13" E
01865790744LONDON51° 45' 14.37" N, 1° 15' 48.01" W
01985212020LONDON51° 12' 50.73" N, 2° 11' 40.61" W
02070934445LONDON51° 30' 38.31" N, 0° 5' 48.51" W
02073245200LONDON51° 31' 25.64" N, 0° 5' 4.56" W
02074293333LONDON51° 30' 38.31" N, 0° 5' 48.51" W
02075353100LONDON51° 30' 23.83" N, 0° 6' 14.75" W
02076297411LONDON51° 30' 23.83" N, 0° 6' 14.75" W
02077356660LONDON51° 29' 34.50" N, 0° 7' 16.58" W
02086363000LONDON51° 30' 23.83" N, 0° 6' 14.75" W
02087635959LONDON51° 20' 14.76" N, 0° 6' 55.26" W