Semantic search
SQLStore debug output
ASK Query
[[Place.Latlong::+]] [[Provider::!OCTA]] [[Provider::!Anaheim Resort Transit]]
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_di_wikipage` AS t2
INNER JOIN
`wiki_t3` AS t3 ON t2.p_id=t3.id
INNER JOIN
`wiki_smw_di_coords` AS t4 ON t2.o_id=t4.s_id
INNER JOIN
(`wiki_smw_di_blob` AS t6
INNER JOIN
`wiki_t7` AS t7 ON t6.p_id=t7.id) ON t2.s_id=t6.s_id
INNER JOIN
(`wiki_smw_di_blob` AS t8
INNER JOIN
`wiki_t9` AS t9 ON t8.p_id=t9.id) ON t2.s_id=t8.s_id) ON t0.smw_id=t2.s_id
WHERE
(
(t4.p_id='318781')
AND (
(t6.o_hash!='OCTA')
)
AND (
(t8.o_hash!='Anaheim Resort Transit')
))
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
50
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_di_wikipage` AS t2
INNER JOIN
`wiki_t3` AS t3 ON t2.p_id=t3.id
INNER JOIN
`wiki_smw_di_coords` AS t4 ON t2.o_id=t4.s_id
INNER JOIN
(`wiki_smw_di_blob` AS t6
INNER JOIN
`wiki_t7` AS t7 ON t6.p_id=t7.id) ON t2.s_id=t6.s_id
INNER JOIN
(`wiki_smw_di_blob` AS t8
INNER JOIN
`wiki_t9` AS t9 ON t8.p_id=t9.id) ON t2.s_id=t8.s_id) ON t0.smw_id=t2.s_id
WHERE
(
(t4.p_id='318781')
AND (
(t6.o_hash!='OCTA')
)
AND (
(t8.o_hash!='Anaheim Resort Transit')
))
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
50
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t7 | ALL | PRIMARY | 2 | Using temporary; Using filesort | |||
1 | SIMPLE | t6 | ref | s_id,p_id,s_id_2,o_hash | p_id | 4 | transitunlimited.t7.id | 2234 | Using index condition |
1 | SIMPLE | t0 | eq_ref | PRIMARY,smw_id,smw_iw,smw_iw_2 | PRIMARY | 4 | transitunlimited.t6.s_id | 1 | Using where |
1 | SIMPLE | t2 | ref | s_id,o_id,p_id,s_id_2,s_id_3,o_id_2,o_id_3 | s_id_3 | 4 | transitunlimited.t6.s_id | 2 | Using where; Using index; Distinct |
1 | SIMPLE | t3 | ALL | PRIMARY | 3 | Using where; Distinct; Using join buffer (Block Nested Loop) | |||
1 | SIMPLE | t4 | ref | s_id,p_id | s_id | 8 | transitunlimited.t2.o_id,const | 1 | Using index; Distinct |
1 | SIMPLE | t9 | ALL | PRIMARY | 2 | Distinct; Using join buffer (Block Nested Loop) | |||
1 | SIMPLE | t8 | ref | s_id,p_id,s_id_2,o_hash | s_id | 8 | transitunlimited.t6.s_id,transitunlimited.t9.id | 1 | Using where; Distinct |
Auxilliary Tables
- Temporary table t3
Recursively computed hierarchy for element(s) ('318779').
SELECT s_id FROM `wiki_smw_fpt_subp` WHERE o_id='318779' LIMIT 1 - Temporary table t7
Recursively computed hierarchy for element(s) ('318795').
SELECT s_id FROM `wiki_smw_fpt_subp` WHERE o_id='318795' LIMIT 1 - Temporary table t9
Recursively computed hierarchy for element(s) ('318795').
SELECT s_id FROM `wiki_smw_fpt_subp` WHERE o_id='318795' LIMIT 1
Query Metrics
Query-Size:6Query-Depth:2
Errors and Warnings
NoneAll-Nighter: Visitacion Valley (Bayshore/Arleta) - Van Ness & North Point
All-Nighter: West Portal Station - San Francisco State University via Downtown
San Bruno Rapid: Downtown - Visitacion Valley
Juan Tabo
North Fourth Street
Lomas
San Mateo
Coors
Montaño/Uptown/Kirtland
Broadway/University/Gibson
Ventana Ranch Commuter
98th / Dennis Chavez
Eubank
Wyoming
12th Street/Rio Grande
Montgomery/Carlisle
Airport/Downtown
Atrisco/Rio Bravo
Isleta
Bridge/Westgate
Indian School Commuter
Central Avenue
ART Red Line
ART Green Line
Menaul
Zuni
Wyoming Commuter
East 14th: Hayward BART - San Leandro BART
Grand: Dtn. Oakland /Dtn. Berkeley/4th St. Harrison
East 18th St: West Oakland - Fruitvale Station via Laurel
Albany - Lake Merritt BART via Solano, Shattuck, MLK
Downtown Oakland - Fruitvale BART via Buena Vista/Alameda
Fruitvale & MacArthur - Downtown Oakland via Fruitvale, Alameda
Union City BART - Fremont BART via Newark, NewPark Mall, Mowry
Fruitvale & MacArthur - Oakland Airport via Fruitvale, South Shore Center, Bay Farm Island
Ohlone College - Union Landing Shopping Center
Fremont Station - Pacific Commons
West Warren & Landing Parkway - Irvington - Fremont Station
Ohlone College Newark Campus - Union City Station via Stevenson, Fremont Station, Niles
Mission San Jose: Milpitas Station - Fremont BART Station
Ardenwood: Ohlone College Newark Campus - Fremont BART - via Lido Faire, Union City BART
Fremont BART - Milpitas/Dixon Landing via Walnut, Grimmer, Mission, and Warm Springs
Fremont BART - Newark via Paseo Padre, Thornton
Hayward - Castro Valley - Bayfair - San Leandro BART
Emeryville/West Oakland BART/Lakeshore
Montclair/Highland
Hayward BART - Foothill Sq
Bayfair BART - Foothill Sq.
Dwight - Shellmound - Adeline
North Richmond Night: El Cerrito Del Norte Station - North Richmond