# Neo4j Bloom Deep Link: What search query?

**URL:** <https://community.neo4j.com/t/neo4j-bloom-deep-link-what-search-query/30420>\
**Category:** Neo4j Bloom\
**Created:** [December 14, 2020, 5:33pm UTC](https://community.neo4j.com/t/neo4j-bloom-deep-link-what-search-query/30420 "2020-12-14T17:33:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emile\_van\_Krieken](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/emile_van_krieken/32/13750_2.png) [@Emile\_van\_Krieken](https://community.neo4j.com/u/Emile_van_Krieken)\
**Post date:** [December 14, 2020, 5:33pm UTC](https://community.neo4j.com/t/neo4j-bloom-deep-link-what-search-query/30420/1 "2020-12-14T17:33:12Z")

</div>

Hi there,  
I'm trying to use the deep linking function of Neo4j Bloom. However, I'm not sure how to format my searches, and there doesn't seem to be a proper documentation for this.  
Ideally, I'd like to find any nodes with property name = some-input.  
However, even a simple query like neo4j://graphapps/neo4j-bloom?search=paper doesn't add anything in the search bar of Neo4j Bloom. Does anyone know how this functionality works?

---

<div class="post-metadata">

**Author:** ![angeliki.komianou](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/angeliki.komianou/32/15685_2.png) [@angeliki.komianou](https://community.neo4j.com/u/angeliki.komianou)\
**Post date:** [January 5, 2021, 10:56am UTC](https://community.neo4j.com/t/neo4j-bloom-deep-link-what-search-query/30420/2 "2021-01-05T10:56:26Z")

</div>

Hi Emile,

You can check [here](https://neo4j.com/docs/bloom-user-guide/current/bloom-tutorial/#_deep_links_into_bloom) for further information on the deep linking in bloom.

For searches of type _property-value_ you can use the format _(label or category) property\_name property\_value_. For example, if you search for _Person_ (category or label) nodes with the property _name_ and the value _Tom Hanks_ then you can type _Person name Tom Hanks_. So, in the search parameter, in your link, you can have _search=Person name Tom Hanks_ (or search=Person%20name%20Tom%20Hanks).

---

<div class="post-metadata">

**Author:** ![tim750233](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/tim750233/32/4351_2.png) [@tim750233](https://community.neo4j.com/u/tim750233)\
**Post date:** [January 5, 2021, 2:39pm UTC](https://community.neo4j.com/t/neo4j-bloom-deep-link-what-search-query/30420/3 "2021-01-05T14:39:52Z")

</div>

Hi Angeliki,

The query you kindly suggested, shows `Tom Hanks` as a pre-populated input in the search bar.

Instead, is there a way to build a query which will show `Tom Hanks` node _already in the scene_ and fully expanded?

Second, how to express more involved search logic? The link you provided, says that it can parse "... any of the search input types that Bloom recognizes", but doesn't explain how to build URLs. For example, what would be URL for "all movies in which Tom Hanks acted, released after 2005"? Is there a complete reference to building these queries?

Thank you!

---

<div class="post-metadata">

**Author:** ![angeliki.komianou](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/angeliki.komianou/32/15685_2.png) [@angeliki.komianou](https://community.neo4j.com/u/angeliki.komianou)\
**Post date:** [January 7, 2021, 11:43am UTC](https://community.neo4j.com/t/neo4j-bloom-deep-link-what-search-query/30420/4 "2021-01-07T11:43:57Z")

</div>

About your first question, currently we don't have this feature but we are planning to look at auto-running the query for the next release.  
About the second, if you search for "movies Tom Hanks acted" you will get a match. The part including the condition _released after 2005_ is not supported. If you want to get results for more advanced queries you can use the search phrases feature in which you can build your custom queries. For more information [here](https://neo4j.com/docs/bloom-user-guide/current/bloom-tutorial/#search-phrases-advanced)

---

<div class="post-metadata">

**Author:** ![tim750233](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/tim750233/32/4351_2.png) [@tim750233](https://community.neo4j.com/u/tim750233)\
**Post date:** [January 7, 2021, 1:26pm UTC](https://community.neo4j.com/t/neo4j-bloom-deep-link-what-search-query/30420/5 "2021-01-07T13:26:37Z")

</div>

I've read that link several times, it doesn't say anything about URL API, only how to set up searches in Bloom (using Cypher).

Any chance you could write this one out (`all movies where Tom Hanks acted`) as an example? Thank you.

---

<div class="post-metadata">

**Author:** ![angeliki.komianou](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/angeliki.komianou/32/15685_2.png) [@angeliki.komianou](https://community.neo4j.com/u/angeliki.komianou)\
**Post date:** [January 8, 2021, 10:48pm UTC](https://community.neo4j.com/t/neo4j-bloom-deep-link-what-search-query/30420/6 "2021-01-08T22:48:29Z")

</div>

You can use search phrases titles in deep links. For example, if you create a search phrase with the title "Get all movies" then in the search parameter in the deep link you can have _search=Get all movies_.

About the second, if you type `all movies where Tom Hanks acted` at the search input (or at the search parameter in your deep link) should fetch suggestions the same as `movies Tom Hanks acted`.

---

<div class="post-metadata">

**Author:** ![angeliki.komianou](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/angeliki.komianou/32/15685_2.png) [@angeliki.komianou](https://community.neo4j.com/u/angeliki.komianou)\
**Post date:** [January 9, 2021, 2:08pm UTC](https://community.neo4j.com/t/neo4j-bloom-deep-link-what-search-query/30420/7 "2021-01-09T14:08:28Z")

</div>

Without using search phrases, for showing "all movies in which Tom Hanks acted, released after 2005", you can set in the search input (or in the search parameter in the deep link) "Tom Hanks acted in Movies". That, should return _all the movies Tom Hanks has acted in_. For highlighting the _movies released after 2005_, you can create a style rule for the Movie. More info [here](https://neo4j.com/docs/bloom-user-guide/current/bloom-visual-tour/#_rule_based_styling)
