<p>
  <?if $arg.result.verb == "construct"?>
    View this result as a <span class="linkish">graph</span>.
    <?event click Mold.cast($("query-result-space"), template("query/graph"), $arg);?>
  <?if.?>
  <?if containsGeoData($arg.result.result) ?>
    Display geospatial data in this result on a <span class="linkish">map</span>.
    <?event click Mold.cast($("query-result-space"), template("query/map"), $arg);?>
  <?if.?>
</p>

<table class="node-table">
  <tbody>
    <tr>
      <?for name $arg.result.names?>
        <th><div><?t name?></div></th>
      <?for.?>
    </tr>
    <?h template("query/tablerows")($arg.result.result)?>
    <?if !$arg.result.result.length?>
      <tr><td colspan="0">No results</td></tr>
    <?if.?>
  </tbody>
  <?if $arg.result.more ?>
    <tbody><tr><td colspan="0" class="more">
      <?h template("query/more")($arg)?>
    </td></tr></tbody>
  <?if.?>
</table>
