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 41::~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 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 t4.p_id=17718)
  )
   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
1SIMPLEt4ranges_id, p_id, o_hash, s_id_2p_id262185Using index condition; Using temporary; Using filesort
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
No auxilliary tables used.
Query Metrics
Query-Size:3
Query-Depth:1
Errors and Warnings
None
  • FS50155381(P) - Cornwall County Council - 06/02/2008
  • FS50155388(P) - East Sussex County Council - 06/02/2008
  • FS50155420(P) - Royal Borough of Kensington and Chelsea - 06/02/2008
  • FS50155391(P) - Tameside Metropolitan Borough Council - 04/02/2008
  • FS50155398(P) - Leicestershire County Council - 04/02/2008
  • FS50155422(P) - Shropshire County Council - 04/02/2008
  • FS50155385(P) - Gwynedd Council - 04/02/2008
  • FS50155380(P) - Bedfordshire County Council - 04/02/2008
  • FS50155384(P) - Carmarthenshire County Council - 04/02/2008
  • FS50155387(P) - East Riding of Yorkshire Council - 04/02/2008
  • FS50155427(P) - Warwickshire County Council - 04/02/2008
  • FS50155430(P) - Worcestershire County Council - 04/02/2008
  • FS50155400(P) - Lincolnshire County Council - 04/02/2008
  • FS50083381 - Department of Health - 21/01/2008
  • FS50088977 - Metropolitan Police Service - 08/01/2008
  • FS50101567(P) - East London and The City Mental Health NHS Trust - 03/12/2007
  • FS50146982(P) - NHS London - 03/12/2007
  • FS50085775(P) - Scotland Office - 29/10/2007
  • FS50083358 - Home Office - 10/10/2007
  • FS50080312 - Doncaster MBC - 07/08/2007
  • FS50090383 - Vale of Glamorgan Council - 30/07/2007
  • FS50093052 - Department of Trade and Industry - 04/07/2007
  • FS50146950(P) - Monitor - 13/06/2007
  • FS50092069 - Sunderland City Council - 11/06/2007
  • FS50111838(P) - Royal Wolverhampton Hospitals NHS Trust - 17/04/2007
  • FS50105717 - Commission for Patient and Public Involvement in Health - 17/04/2007
  • FS50118044(P) - Leeds City Council - 10/04/2007
  • FS50151402 - Camelford Town Council - 14/03/2007
  • FS50069394 - Department of Trade and Industry - 13/02/2007
  • FS50090744 - Oxford City Council - 01/02/2007
  • FS50086121 - Hertfordshire County Council - 01/02/2007
  • FS50083667 - Tameside Metropolitan Borough Council - 22/01/2007
  • FS50101391 - National Archives - 11/12/2006
  • FS50070878 - Department of Health - 27/11/2006
  • FS50081576 - Department of Culture Arts and Leisure (NI) - 05/10/2006
  • FS50065853 - Wolverhampton City Council - 28/09/2006
  • FER0126686 - Health Protection Agency (HPA) - 21/07/2006
  • FS50067633 - Pembrokeshire County Council - 06/06/2006
  • FS50065043 - Metropolitan Ambulance Service - 31/05/2006
  • FS50076850 - The Architect Registration Board - 21/03/2006
  • FAC0064579(P) - Southend-on-Sea NHS Primary Care Trust - 15/03/2006
  • FS50066753 - Derry City Council - 21/02/2006