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 6SD]]
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='1108296')
  )
  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_id5const18Using 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
01224576977ABERDEEN57° 8' 47.57" N, 2° 5' 26.85" W
01224708470ABERDEENSCOTLAND57° 11' 27.47" N, 2° 5' 0.50" W
01224735483ABERDEEN57° 5' 47.88" N, 2° 15' 57.95" W
01224781257ABERDEEN57° 4' 10.75" N, 2° 9' 15.47" W
01224862415ABERDEEN57° 7' 1.57" N, 2° 11' 57.44" W
01224898810ABERDEEN57° 6' 35.00" N, 2° 4' 47.57" W
01224937888ABERDEEN57° 8' 54.37" N, 2° 16' 43.29" W
01236606599ABERDEEN55° 50' 46.90" N, 4° 0' 46.53" W
01358743470ABERDEEN57° 15' 0.44" N, 2° 3' 39.07" W
01467629926ABERDEEN57° 16' 13.81" N, 2° 22' 9.73" W
01479811161ABERDEEN57° 11' 28.37" N, 3° 49' 46.61" W
01674672157ABERDEEN56° 42' 55.04" N, 2° 27' 13.06" W
01708686268ABERDEEN51° 28' 29.10" N, 0° 17' 19.49" E
01738564080ABERDEEN56° 23' 56.30" N, 3° 25' 13.68" W
01779475718ABERDEEN57° 29' 28.59" N, 1° 48' 54.02" W
01779491144ABERDEEN57° 30' 39.09" N, 1° 46' 51.99" W
07737174571ABERDEEN55° 56' 8.19" N, 3° 13' 35.93" W