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 1PS]]
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='92469')
  )
  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_id5const17Using 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
01224316390ABERDEEN57° 9' 3.92" N, 2° 8' 11.50" W
01224316831ABERDEEN57° 8' 1.06" N, 2° 8' 36.87" W
01224472139ABERDEENABERDEENSHIRE57° 7' 7.05" N, 2° 4' 24.02" W
01224483342ABERDEEN57° 9' 46.93" N, 2° 6' 58.07" W
01224627250ABERDEEN57° 8' 59.30" N, 2° 6' 55.42" W
01224643019ABERDEEN57° 8' 38.05" N, 2° 6' 40.57" W
0122470336657° 11' 14.47" N, 2° 5' 45.02" W
01224714545ABERDEEN57° 10' 53.44" N, 2° 10' 51.36" W
01224791132ABERDEEN57° 12' 11.17" N, 2° 17' 16.12" W
0122489424257° 7' 43.02" N, 2° 4' 56.43" W
01261843210GRAMPIAN57° 38' 43.28" N, 2° 38' 30.83" W
01330822931ABERDEEN57° 3' 4.88" N, 2° 30' 6.54" W
0145464224551° 32' 55.87" N, 2° 33' 10.30" W
01493443883ABERDEEN52° 36' 3.71" N, 1° 43' 23.35" E
0165189112957° 25' 41.42" N, 2° 23' 53.23" W
01872321155ABERDEEN50° 17' 13.32" N, 5° 4' 45.40" W