title: Access other attributes in the same subobject in semantic-mediawiki
body: <p>I am using subproperties in semantic mediawiki to store different kinds of information, e.g. a log.
  This can look like this:</p>
  
  <pre><code>{{#subobject:
   |Has date = 2020-06-18
   |Has log = Diary
   |Has tag = Stackoverflow
   |Has agenda = 
  * Done Something
  }}
  </code></pre>
  
  <p>What I would like to do is to use an #ask query inside of the agenda part that accesses the date parameter, like this:</p>
  
  <pre><code>{{#subobject:
   |Has date = 2020-06-18
   |Has log = Diary
   |Has tag = Stackoverflow
   |Has agenda = 
  * The date today is:
  
  {{#ask:
  [[Has log::Diary]]
  [[Has date::&lt;&lt;Is there a way to access the date of this subobject?&gt;&gt;]]
  |?Has date = Date
  }}
  
  }}
  </code></pre>
  
  <p>I know that this is not possible directly, since the text has to be stored in the database first in order to retrieve it later, but I would not mind if I had to save it twice or need another workaround.</p>
  
  <p>Thank you!</p>