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, 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='Complaint Not 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_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
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
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
  • FS50202556 - General Medical Council - 14/10/2009
  • FS50192069 - Newcastle College - 14/10/2009
  • FS50190664 - National Offender Management Service - 28/09/2009
  • FS50226713 - Manchester City Council - 28/09/2009
  • FS50250552 - Department for Transport - 24/09/2009
  • FER0157856 - London Borough of Camden - 24/09/2009
  • FS50229268 - Leicester City Council - 23/09/2009
  • FS50233972 - Hampshire Constabulary - 17/09/2009
  • FS50174035 - Chief Constable of Lancashire Constabulary - 14/09/2009
  • FS50115412 - Northern Ireland Office - 14/09/2009
  • FS50204940 - Lancashire County Council - 10/09/2009
  • FS50190517 - Liverpool City Council - 09/09/2009
  • FS50232866 - Metropolitan Police Service - 02/09/2009
  • FS50132796 - Ministry of Defence - 02/09/2009
  • FS50208722 - Backwell Parish Council - 02/09/2009
  • FS50138960 - Cambridgeshire Constabulary - 26/08/2009
  • FS50224509 - Eastbourne Borough Council - 26/08/2009
  • FS50256105 - General Medical Council - 25/08/2009
  • FS50246906 - London Borough of Newham - 24/08/2009
  • FS50242843 - Judicial Appointments Commission - 24/08/2009
  • FS50178463 - Newcastle College - 11/08/2009
  • FS50174518 - London Borough of Bromley - 03/08/2009
  • FS50111290 - Brownhills Community Technology College - 03/08/2009
  • FS50194697 - Bedgrove Junior School - 30/07/2009
  • FS50222787 - Independent Police Complaints Commission - 28/07/2009
  • FS50146608 - Wakefield Metropolitan District Council - 27/07/2009
  • FS50241410 - General Medical Council - 16/07/2009
  • FS50196328 - Department for Children, Schools and Families - 13/07/2009
  • FS50208265 - Heart of England NHS Foundation Trust - 13/07/2009
  • FS50199605 - HM Revenue and Customs - 09/07/2009
  • FS50197501 - Wirral University Teaching Hospital NHS Foundation Trust - 29/06/2009
  • FS50212869 - Cardiff University - 29/06/2009
  • FS50169737 - Metropolitan Police Service - 24/06/2009
  • FS50210434 - Chief Constable of Kent Police - 24/06/2009
  • FS50125005 - Trafford Metropolitan Borough Council - 17/06/2009
  • FS50166779 - Greater Manchester Police - 17/06/2009
  • FS50154865 - Her Majesty's Revenue and Customs - 10/06/2009
  • FS50208056 - General Medical Council - 08/06/2009
  • FS50195769 - Ferry Hill Town Council - 08/06/2009
  • FS50240978 - London Borough of Enfield - 02/06/2009
  • FS50170381 - Metropolitan Police Service - 20/04/2009
  • FS50165472 - BBC - 31/03/2009
  • FS50188732 - Ministry of Defence - 30/03/2009
  • FS50151464 - Department of Health - 30/03/2009
  • FS50197666 - University of Bradford - 30/03/2009
  • FS50155868 - Her Majesty's Courts Service - 25/03/2009
  • FS50145203 - Caerphilly County Borough Council - 24/03/2009
  • FS50165494 - Her Majesty's Courts Service - 19/03/2009
  • FS50144708 - Ministry of Justice - 17/03/2009
  • FS5073382 - Chief Constable of West Yorkshire Police - 16/03/2009