Semantic search

From CODECS: Online Database and e-Resources for Celtic Studies
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
No results.
Debug output SQLStore
ASK Query
[[Page describes::Reference]] [[Pub has contributor::Loth (J.)]] [[Type::article]] [[Pub is part of pub::None]] OR [[Class::Subject:publication items]] [[Pub has contributor (author)::Loth (J.)]] [[Is item in publication.Type::journal volume]]
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, t25.o_hash
FROM
  `o2a5_smw_object_ids` AS t0
INNER JOIN
  `o2a5_t1` AS t1 ON t0.smw_id=t1.id
INNER JOIN
  `o2a5_smw_di_blob` AS t25 ON t0.smw_id=t25.s_id
WHERE
  (t25.p_id=4978056)
  AND t0.smw_iw!=':smw'
  AND t0.smw_iw!=':smw-delete'
  AND t0.smw_iw!=':smw-redi'
ORDER BY
  t25.o_hash DESC
LIMIT
  105
OFFSET
  100
SQL Explain
IDselect_typetabletypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEImpossible WHERE noticed after reading const tables
Auxilliary Tables
  • Temporary table t1
      INSERT IGNORE INTO `o2a5_t1` SELECT DISTINCT t3.s_id FROM `o2a5_smw_di_blob` AS t3 INNER JOIN (`o2a5_smw_di_wikipage` AS t5 INNER JOIN `o2a5_t6` AS t6 ON t5.p_id=t6.id) ON t3.s_id=t5.s_id INNER JOIN `o2a5_smw_di_blob` AS t8 ON t3.s_id=t8.s_id INNER JOIN `o2a5_smw_di_wikipage` AS t10 ON t3.s_id=t10.s_id WHERE (t3.o_hash='Reference') AND t3.p_id=4978044 AND (t5.o_id=1830882) AND ((t8.o_hash='article') AND t8.p_id=4978065) AND (t10.p_id=4978060 AND t10.o_id=4978061)
      INSERT IGNORE INTO `o2a5_t1` SELECT DISTINCT t14.s_id FROM `o2a5_smw_di_wikipage` AS t14 INNER JOIN `o2a5_smw_di_wikipage` AS t17 ON t14.s_id=t17.s_id INNER JOIN (`o2a5_smw_di_wikipage` AS t20 INNER JOIN `o2a5_smw_di_blob` AS t22 ON t20.o_id=t22.s_id) ON t14.s_id=t20.s_id WHERE t14.p_id=3835477 AND t14.o_id=2489295 AND (t17.p_id=1795916 AND t17.o_id=1830882) AND (t20.p_id=2485349 AND ((t22.o_hash='journal volume') AND t22.p_id=4978065))
  • Temporary table t6
      Recursively computed hierarchy for element(s) (1796067).
      SELECT s_id FROM `o2a5_smw_fpt_subp` WHERE o_id=1796067 LIMIT 1
Query Metrics
Query-Size:15
Query-Depth:2
Errors and Warnings
None