I'm adding schema.org semantic markups, and would like to link several of which are in quite different parts of webpage together.
This works when I specify them as parent/child:
<div itemscope itemtype="http://schema.org/ExerciseAction">
<span itemprop="distance">11 km</span>
<div itemprop="event" itemscope itemtype="http://schema.org/Event">
<span itemprop="name">first event</span>
<span itemprop="startDate">2001-01-01</span>
</div>
</div>
However, I don't know how to link them when they're separated by mountain of HTML:
<div itemscope itemtype="http://schema.org/Event">
<span itemprop="name">some event</span>
<span itemprop="startDate">2002-02-02</span>
</div>
<!--
....
zillion other HTML stuff
...
-->
<div itemscope itemtype="http://schema.org/ExerciseAction">
<span itemprop="distance">22 km</span>
</div>
I guess I should use "itemref" or something to link related scopes, but I can't get it to work. Looking at similar questions did't help in this case.
UPDATE: note that I'm specifically looking for solution that works via some kind of referencing and DOES NOT not work via nesting of any type. Also, ordering of second (non-working) example must stay the same (Event first, ExerciseAction second). (There are several reasons for that outside of my control).
Specifically, "it works" is defined as at least google rich snippets tool showing that the items ARE linked together (as it does for that first working example)