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 40::Complaint Not 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, t0.smw_sort
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
WHERE
  (t2.o_id=17895
   AND (
   (t4.o_hash='Complaint Not upheld')
  ))
  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
  30
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEt5ALLPRIMARY4Using temporary; Using filesort
1SIMPLEt4refs_id, p_id, o_hash, s_id_2p_id262alexsken_foiwiki.t5.id, const1Using index condition
1SIMPLEt2refs_id, o_id, s_id_2, o_id_2s_id_29alexsken_foiwiki.t4.s_id, const1Using index
1SIMPLEt0eq_refPRIMARY, smw_id, smw_iw, smw_iw_2PRIMARY4alexsken_foiwiki.t4.s_id1Using where
Auxilliary Tables
  • Temporary table t5
      Recursively computed hierarchy for element(s) (17650).
      SELECT s_id FROM `wiki_smw_fpt_subp` WHERE o_id=17650 LIMIT 1
Query Metrics
Query-Size:3
Query-Depth:1
Errors and Warnings
None
  • FS50073305 - Hull City Council - 20/09/2006
  • FS50074144 - Jobcentre Plus - 18/12/2007
  • FS50074146 - Nottinghamshire County Council - 12/06/2007
  • FS50074577 - Metropolitan Police Service - 09/06/2006
  • FS50074784 - South Gloucestershire Council - 03/01/2007
  • FS50074788 - Northern Ireland Office - 27/02/2007
  • FS50074995 - Calderdale Council - 16/05/2007
  • FS50075171 - Transport for London - 05/05/2006
  • FS50075174 - Office for Standards in Education - 19/11/2007
  • FS50075365 - St Albans City and District Council - 05/03/2007
  • FS50075602 - The Architect Registration Board - 12/02/2007
  • FS50076657 - Lancashire County Council - 12/07/2006
  • FS50076806 - Medicines and Healthcare Products Regulatory Agency - 22/01/2007
  • FS50076855 - Legal Services Commission - 23/10/2006
  • FS50077877 - South Tyneside Council - 01/10/2007
  • FS50078522 - BBC - 14/03/2007
  • FS50078583 - Commission for Local Administration in England - 23/05/2007
  • FS50078588 - Avon and Somerset Constabulary - 22/02/2006
  • FS50080115 - Cabinet Office - 26/03/2007
  • FS50080312 - Doncaster MBC - 07/08/2007
  • FS50081409 - Avon and Somerset Constabulary - 07/03/2006
  • FS50081570 - Broadland District Council - 27/11/2006
  • FS50081574 - Home Office - 22/01/2007
  • FS50081575 - Foreign and Commonwealth Office - 23/07/2007
  • FS50081722 - Her Majesty's Revenue and Customs - 19/12/2007
  • FS50081798 - Gwent Police Authority - 14/05/2007
  • FS50082251 - Plymouth City Council - 23/08/2006
  • FS50082254 - Plymouth City Council - 23/08/2006
  • FS50082420 - Valuation Office Agency - 30/07/2007
  • FS50082424 - Newry and Mourne District Council - 10/04/2006
  • FS50082472 - Home Office - 19/04/2006
  • FS50082767 - BBC - 04/09/2006
  • FS50083545 - Home Office - 12/06/2006
  • FS50083603 - Department for Culture, Media and Sport - 11/07/2006
  • FS50084357 - BBC - 25/03/2008
  • FS50084360 - Plymouth City Council - 23/08/2006
  • FS50085777 - East Hampshire District Council - 04/07/2007
  • FS50085780 - NHS Litigation Authority - 27/09/2006
  • FS50086131 - Newcastle Upon Tyne NHS - 09/08/2006
  • FS50086317 - HM Treasury - 05/10/2006
  • FS50086498 - Her Majesty's Chief Inspector of Schools in Wales - 14/05/2007
  • FS50086598 - Staffordshire Police - 06/04/2006
  • FS50086626 - Gloucestershire County Council - 13/03/2007
  • FS50086696 - University of Northampton - 23/12/2008
  • FS50086866 - Ministry of Justice - 25/06/2007
  • FS50086918 - University of Leicester - 23/12/2008
  • FS50087443 - Maldon District Council - 13/07/2006
  • FS50087796 - Norfolk County Council - 23/04/2007
  • FS50088137 - General Medical Council - 26/02/2008
  • FS50088378 - National Archives - 02/06/2008