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::AB10 1JB]]
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='24503')
  )
  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
01224725506ABERDEEN57° 12' 11.93" N, 2° 13' 8.49" W
01224729922ABERDEEN57° 12' 39.50" N, 2° 13' 32.85" W
01224748480ABERDEENABERDEENSHIRE57° 8' 54.37" N, 2° 16' 43.29" W
01224771123ABERDEEN57° 12' 11.93" N, 2° 13' 8.49" W
01236625242ABERDEEN55° 51' 21.40" N, 3° 58' 1.68" W
01248853571ABERDEEN53° 18' 54.96" N, 4° 13' 50.70" W
01312282083ABERDEEN55° 56' 30.83" N, 3° 12' 16.76" W
01343820753ABERDEEN57° 37' 43.04" N, 3° 7' 26.21" W
01382214033ABERDEEN56° 29' 4.96" N, 3° 1' 7.53" W
01382214252ABERDEEN56° 28' 23.34" N, 3° 1' 5.75" W
01414251145ABERDEENGRAMPIAN55° 51' 28.18" N, 4° 18' 48.34" W
01414279222ABERDEEN55° 50' 57.55" N, 4° 17' 40.37" W
01416440965ABERDEEN55° 46' 51.00" N, 4° 16' 5.03" W
01463715223ABERDEEN57° 29' 19.23" N, 4° 13' 38.09" W
01466794300ABERDEEN57° 26' 58.38" N, 2° 47' 36.26" W
01569763881ABERDEEN56° 57' 49.79" N, 2° 14' 6.11" W
07717368213ABERDEEN51° 55' 55.64" N, 0° 15' 26.91" E
07747186950ABERDEEN52° 1' 30.70" N, 0° 2' 24.51" E
07795371778ABERDEEN56° 59' 46.74" N, 2° 12' 50.89" W
07856110248ABERDEEN53° 48' 18.19" N, 1° 47' 8.93" W