Debug output SQLStore
ASK Query
[[Property:+]] [[Category:Imported vocabulary]] [[!~foaf*]] [[!~Owl*]]
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
`smw_object_ids` AS t0
INNER JOIN
(`smw_object_ids` AS t2
INNER JOIN
`smw_fpt_inst` AS t3 ON t2.smw_id=t3.s_id
INNER JOIN
`smw_object_ids` AS t5 ON t2.smw_id=t5.smw_id
INNER JOIN
`smw_object_ids` AS t6 ON t2.smw_id=t6.smw_id) ON t0.smw_id=t2.smw_id
WHERE
(t2.smw_namespace=102
AND (t3.o_id=502)
AND (t5.smw_sortkey NOT LIKE 'foaf%')
AND (t6.smw_sortkey NOT LIKE 'Owl%')
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
105
OFFSET
0
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
`smw_object_ids` AS t0
INNER JOIN
(`smw_object_ids` AS t2
INNER JOIN
`smw_fpt_inst` AS t3 ON t2.smw_id=t3.s_id
INNER JOIN
`smw_object_ids` AS t5 ON t2.smw_id=t5.smw_id
INNER JOIN
`smw_object_ids` AS t6 ON t2.smw_id=t6.smw_id) ON t0.smw_id=t2.smw_id
WHERE
(t2.smw_namespace=102
AND (t3.o_id=502)
AND (t5.smw_sortkey NOT LIKE 'foaf%')
AND (t6.smw_sortkey NOT LIKE 'Owl%')
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
105
OFFSET
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t3 | ref | s_id, o_id, s_id_2, o_id_2 | o_id_2 | 5 | const | 4 | 100.00 | Using index; Using temporary; Using filesort |
1 | SIMPLE | t2 | eq_ref | PRIMARY, smw_id, smw_namespace | PRIMARY | 4 | wiki.t3.s_id | 1 | 5.00 | Using where |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | wiki.t3.s_id | 1 | 50.00 | Using where |
1 | SIMPLE | t5 | eq_ref | PRIMARY, smw_id | PRIMARY | 4 | wiki.t3.s_id | 1 | 88.89 | Using where; Distinct |
1 | SIMPLE | t6 | eq_ref | PRIMARY, smw_id | PRIMARY | 4 | wiki.t3.s_id | 1 | 88.89 | Using where; Distinct |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:4Query-Depth:0
Errors and Warnings
NoneProperty | Has type"Has type" is a predefined property that describes the <a href="/index.php/Special:Types" title="Special:Types">datatype</a> of a property and is provided by <a rel="nofollow" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_properties">Semantic MediaWiki</a>. | Subproperty of"Subproperty of" is a declarative predefined property to define that a property is a <a rel="nofollow" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_property_Subproperty_of">subproperty of</a> another and is provided by <a rel="nofollow" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_properties">Semantic MediaWiki</a>. | Domain | Allows value list<a rel="nofollow" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_property_Allows_value_list">"Allows value list"</a> is a predefined property that can specify a reference to a list that holds permissible values to restrict value assignments for a property and is provided by <a rel="nofollow" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_properties">Semantic MediaWiki</a>. | Has fields"Has fields" is a predefined property to define a list of properties used with a <a href="/index.php/Special:Types/Record" title="Special:Types/Record">record</a> typed property and is provided by <a rel="nofollow" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_properties">Semantic MediaWiki</a>. | Unit"Display units" is a declarative predefined property to define units of display for numeric typed properties and is provided by <a rel="nofollow" class="external text" href="https://www.semantic-mediawiki.org/wiki/Help:Special_properties">Semantic MediaWiki</a>. | Notes |
---|---|---|---|---|---|---|---|
owl:differentFrom | Page |