Semantic 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
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:High schools]] [[City.In county.In region::Bay Area]]
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_t3` AS t3 ON t2.o_id=t3.id
INNER JOIN
  (`wiki_smw_di_wikipage` AS t4
INNER JOIN
  (`wiki_smw_di_wikipage` AS t6
INNER JOIN
  `wiki_smw_di_wikipage` AS t8 ON t6.o_id=t8.s_id) ON t4.o_id=t6.s_id) ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
  (
   (t4.p_id='318791'
   AND (t6.p_id='318798'
   AND (t8.p_id='318803' AND t8.o_id='9617')
  ))
  )
  AND t0.smw_iw!=':smw'
  AND t0.smw_iw!=':smw-delete'
  AND t0.smw_iw!=':smw-redi'
ORDER BY
  t0.smw_sort ASC
LIMIT
  205
OFFSET
  200
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEt8refs_id,o_id,p_id,s_id_2,s_id_3,o_id_2,o_id_3o_id5const9Using where; Using temporary; Using filesort
1SIMPLEt6refs_id,o_id,p_id,s_id_2,s_id_3,o_id_2,o_id_3o_id_39transitunlimited.t8.s_id,const3
1SIMPLEt4refs_id,o_id,p_id,s_id_2,s_id_3,o_id_2,o_id_3o_id_39transitunlimited.t6.s_id,const3
1SIMPLEt0eq_refPRIMARY,smw_id,smw_iw,smw_iw_2PRIMARY4transitunlimited.t4.s_id1Using where
1SIMPLEt2refs_id,o_id,s_id_2,o_id_2s_id_24transitunlimited.t4.s_id1Using where; Using index; Distinct
1SIMPLEt3eq_refPRIMARYPRIMARY4transitunlimited.t2.o_id1Distinct
Auxilliary Tables
  • Temporary table t3
      Recursively computed hierarchy for element(s) ('1840').
      SELECT s_id FROM `wiki_smw_fpt_subc` WHERE o_id='1840' LIMIT 1
Query Metrics
Query-Size:5
Query-Depth:3
Errors and Warnings
None
 City
Sonoma Valley High SchoolSonoma
South San Francisco High SchoolSouth San Francisco
St Francis High School (Mountain View)Mountain View
St Vincent De Paul High SchoolPetaluma
St. Helena High SchoolSt. Helena
St. Ignatius College PreparatorySan Francisco
St. Patrick-St. Vincent High SchoolVallejo
Stratford PreparatorySan Jose
Summit Preparatory Charter High SchoolRedwood City
Summit Shasta High SchoolDaly City
Tamalpais High SchoolMill Valley
Tennyson High SchoolHayward
Terra Linda High SchoolSan Rafael
Terra Nova High SchoolPacifica
The College Preparatory SchoolOakland
The Harker School Upper School CampusSan Jose
The King's AcademySunnyvale
The Nueva School San Mateo CampusSan Mateo
The Quarry Lane SchoolDublin
Thurgood Marshall High SchoolSan Francisco
University Preparatory AcademySan Jose
Urban SchoolSan Francisco
Vacaville High SchoolVacaville
Vallejo High SchoolVallejo
Valley Christian High School (Dublin)Dublin
Valley Christian High School (San Jose)San Jose
Vanden High SchoolFairfield
Vintage High SchoolNapa
Washington High School (Fremont)Fremont
Westmont High SchoolCampbell
Westmoor High SchoolDaly City
Will C. Wood High SchoolVacaville
William C. Overfelt High SchoolSan Jose
Willow Glen High SchoolSan Jose
Windsor High SchoolWindsor
Woodside High SchoolWoodside
Woodside Priory SchoolPortola Valley
Yerba Buena High SchoolSan Jose
Ygnacio Valley High SchoolConcord