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 1UR]]
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='230325')
  )
  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_id5const29Using 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
01202632700ABERDEEN50° 43' 10.68" N, 2° 4' 24.01" W
0122424812357° 8' 18.83" N, 2° 5' 14.06" W
0122433988057° 11' 18.02" N, 2° 5' 5.43" W
0122445378657° 8' 18.83" N, 2° 5' 14.06" W
0122447212957° 9' 56.27" N, 2° 7' 43.87" W
0122448454857° 9' 56.27" N, 2° 7' 43.87" W
01224619777ABERDEEN57° 9' 3.38" N, 2° 5' 55.22" W
01224632464ABERDEEN57° 8' 42.28" N, 2° 7' 7.56" W
01224897978ABERDEEN57° 7' 37.57" N, 2° 5' 42.21" W
01256324744ABERDEEN51° 16' 34.53" N, 1° 4' 12.42" W
01273673958ABERDEEN50° 49' 27.53" N, 0° 8' 13.56" W
01309676756ABERDEEN57° 36' 28.16" N, 3° 37' 50.55" W
01315555704ABERDEEN55° 57' 59.12" N, 3° 10' 6.74" W
01339887665ABERDEEN57° 4' 32.20" N, 2° 47' 15.68" W
01346516549ABERDEEN57° 41' 40.33" N, 2° 1' 21.48" W
01358742684ABERDEEN57° 13' 43.66" N, 2° 5' 34.26" W
01397702588ABERDEEN56° 49' 25.77" N, 5° 4' 52.62" W
01467643209ABERDEEN57° 13' 41.21" N, 2° 27' 16.23" W
01543578737ABERDEEN52° 40' 48.00" N, 2° 1' 36.87" W
01592720374ABERDEEN56° 9' 17.34" N, 3° 13' 9.46" W
01626833111ABERDEEN50° 35' 36.83" N, 3° 40' 29.76" W
0177947774057° 29' 28.72" N, 1° 48' 12.10" W
01779481956ABERDEEN57° 30' 10.62" N, 1° 46' 10.83" W
01905360210ABERDEEN52° 11' 18.20" N, 2° 12' 46.50" W
01989762884ABERDEEN51° 54' 43.86" N, 2° 34' 20.50" W
02380322023ABERDEEN50° 55' 23.51" N, 1° 26' 3.29" W
07748653665ABERDEEN51° 14' 18.50" N, 0° 47' 44.11" W
07866475702ABERDEEN57° 9' 1.22" N, 2° 7' 47.52" W