Semantic search

From FOIwiki
Jump to navigationJump to search
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
import-annotation:

Additional annotated data are to be copied during the parsing of a subject
propsep:

The separator between the properties of a result entry
valuesep:

The separator between the values for a property of a result
template:

The name of a template with which to display the printouts
named args:

Name the arguments passed to the template
userparam:

A value passed into each template call, if a template is used
class:

An additional CSS class to set for the list
introtemplate:

The name of a template to display before the query results, if there are any
outrotemplate:

The name of a template to display after the query results, if there are any
sep:

The separator between results
Sort options
Delete
Add sorting condition
Debug output SQLStore
ASK Query
[[Category:ICO Decision Notice]] [[FOI 36::~Complaint* Upheld]]
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, t7.o_sortkey
FROM
  `wiki_smw_object_ids` AS t0
INNER JOIN
  (`wiki_smw_fpt_inst` AS t2
INNER JOIN
  (`wiki_smw_di_blob` AS t4
INNER JOIN
  `wiki_t5` AS t5 ON t4.p_id=t5.id) ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
INNER JOIN
  `wiki_smw_di_time` AS t7 ON t0.smw_id=t7.s_id
WHERE
  (t2.o_id=17895
   AND (
   (t4.o_hash LIKE 'Complaint% Upheld')
  ))
   AND (t7.p_id=17617)
  AND t0.smw_iw!=':smw'
  AND t0.smw_iw!=':smw-delete'
  AND t0.smw_iw!=':smw-redi'
ORDER BY
  t7.o_sortkey DESC
LIMIT
  55
OFFSET
  50
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt5ALLPRIMARY4Using temporary; Using filesort
1SIMPLEt4refs_id, p_id, o_hash, s_id_2p_id4alexsken_foiwiki.t5.id38Using index condition
1SIMPLEt7refs_id, p_id, p_id_2, s_id_2s_id_28alexsken_foiwiki.t4.s_id, const1Using index
1SIMPLEt0eq_refPRIMARY, smw_id, smw_iw, smw_iw_2PRIMARY4alexsken_foiwiki.t4.s_id1Using where
1SIMPLEt2refs_id, o_id, s_id_2, o_id_2s_id_29alexsken_foiwiki.t4.s_id, const1Using index; Distinct
Auxilliary Tables
  • Temporary table t5
      Recursively computed hierarchy for element(s) (17644).
      SELECT s_id FROM `wiki_smw_fpt_subp` WHERE o_id=17644 LIMIT 1
Query Metrics
Query-Size:3
Query-Depth:1
Errors and Warnings
None
  • FS50119029 - House of Lords Appointments Commission - 12/03/2008
  • FS50117628 - Ministry of Justice - 31/01/2008
  • FS50113234 - Northern Ireland Court Service - 28/01/2008
  • FS50084349(P) - Ministry of Justice - 20/11/2007
  • FS50078471 - Cabinet Office - 19/11/2007
  • FS50131785(P) - Gloucestershire County Council - 19/11/2007
  • FS50087614 - Cabinet Office - 29/10/2007
  • FS50075271 - Cranfield University - 23/07/2007
  • FS50093052(P) - Department of Trade and Industry - 04/07/2007
  • FS50108125 - Home Office - 04/07/2007
  • FS50085777 - East Hampshire District Council - 04/07/2007
  • FS50093255 - Southampton University Hospitals NHS Trust - 02/07/2007
  • FS50109031 - South Warwickshire NHS Trust - 14/06/2007
  • FS50074348 - Department for Constitutional Affairs - 27/03/2007
  • FS50080115(P) - Cabinet Office - 26/03/2007
  • FS50069394 - Department of Trade and Industry - 13/02/2007
  • FS50079486 - Liverpool City Council - 10/01/2007
  • FS50081543 - Department for Transport - 29/11/2006
  • FS50081576 - Department of Culture Arts and Leisure (NI) - 05/10/2006
  • FS50073979 - Invest (Northern Ireland) - 24/07/2006
  • FS50086128 - Cabinet Office - 03/07/2006
  • FS50064464 - Norfolk County Council - 07/06/2006
  • FS50073980 - Ministry of Defence - 19/04/2006
  • FS50080353 - De Montefort University - 07/03/2006