<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Datomic Knowledgebase - Recent questions tagged roam</title>
<link>https://ask.datomic.com/index.php/tag/roam</link>
<description>Powered by Question2Answer</description>
<item>
<title>Query values for more than one entity in a single datomic query (Roam Alpha Api)</title>
<link>https://ask.datomic.com/index.php/640/query-values-more-than-entity-single-datomic-query-roam-alpha</link>
<description>&lt;p&gt;I'd like to in a single datomic/datalog query get output relating to multiple entities&lt;/p&gt;
&lt;p&gt;E.g. &lt;/p&gt;
&lt;p&gt;In my db (querying Roam graph via RoamAlphaApi) for one value (&lt;code&gt;&quot;YjpbFUsTx&quot;&lt;/code&gt;) I can do this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[:find ?e ?stri :where [?e :block/uid &quot;YjpbFUsTx&quot;][?e :block/string ?stri]]&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;gives me&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://i.imgur.com/IJMejXk.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;But I want to pass on two values &lt;code&gt;&quot;YjpbFUsTx&quot;&lt;/code&gt; and &lt;code&gt;&quot;TgpgOssBM&quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;to give me&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://i.imgur.com/H6FzU4u.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;How do I do that? &lt;/p&gt;
&lt;p&gt;I've tried several variations but none give any output.&lt;/p&gt;
&lt;p&gt;Useful reference: &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.zsolt.blog/2021/01/Roam-Data-Structure-Query.html&quot;&gt;https://www.zsolt.blog/2021/01/Roam-Data-Structure-Query.html&lt;/a&gt; .  &lt;/p&gt;
</description>
<category>Cloud</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/640/query-values-more-than-entity-single-datomic-query-roam-alpha</guid>
<pubDate>Sat, 26 Jun 2021 19:47:35 +0000</pubDate>
</item>
</channel>
</rss>