Parsoid/MediaWiki DOM spec/Gallery RDFa

<gallery caption="welcome">
Wiki.png|My image '''caption'''
Not a valid title or not an existing file
<gallery>
<div typeof="mw:Extension/gallery" data-mw='{"name":"gallery","attrs":{"caption":"welcome"}}'>
 <figure class="mw-default-size mw-halign-none" typeof="mw:Image/Thumb">
  <a href="./File:Wiki.png">
   <img resource="./File:Wiki.png" src="http://upload.wikimedia.org/wikipedia/commons/3/3a/Wiki.png" height="155" width="135" />
  </a>
  <figcaption (optional)>My image <b>caption</b></figcaption>
 </figure>
 <meta typeof="mw:Placeholder" data-parsoid='{"src":"Not a valid title or not an existing file"}' />
</div>