# Not able to run aggregate query in ElasticSearch

**URL:** <https://discuss.elastic.co/t/not-able-to-run-aggregate-query-in-elasticsearch/60036>\
**Category:** Elasticsearch\
**Created:** [September 8, 2016, 4:28am UTC](https://discuss.elastic.co/t/not-able-to-run-aggregate-query-in-elasticsearch/60036 "2016-09-08T04:28:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 8, 2016, 8:57am UTC](https://discuss.elastic.co/t/not-able-to-run-aggregate-query-in-elasticsearch/60036/3 "2016-09-08T08:57:21Z")

</div>

> [@Not able to run aggregate(Facets) query for a nested JsonLD](https://discuss.elastic.co/t/not-able-to-run-aggregate-facets-query-for-a-nested-jsonld/59976):
>
> PROBLEM : Version : ElasticSearch 2.4.0 Not able to run aggregate(Facets) query for a nested JsonLD. Step 1 :Input JSonLD File { "@graph" : [{ "@id" : "[http://www.xyz.com/ontology/Person/estate](http://www.xyz.com/ontology/Person/estate)", "Gender" : "[http://www.xyz.com/ontology/Gender/Female](http://www.xyz.com/ontology/Gender/Female)" }, { "@id" : "[http://www.abc.com/1234567890](http://www.abc.com/1234567890)", "PostId" : "[http://www.abc.com/1234567890\_542839079235084](http://www.abc.com/1234567890_542839079235084)" }, { "@id" : "[http://www.abc.com/1234567890\_542839079235084](http://www.abc.com/1234567890_542839079235084)", "Language" : "[http://www.xyz.com/ontology/Language/English](http://www.xyz.com/ontology/Language/English) ", "[http…](http://www.xyz.com/OWL/abc#CategoryName)

---

_[View the full topic](https://discuss.elastic.co/t/not-able-to-run-aggregate-query-in-elasticsearch/60036)._
