# "HyperGraphQL" query language

**URL:** <https://discuss.dgraph.io/t/hypergraphql-query-language/2123>\
**Category:** Misc\
**Created:** [January 13, 2018, 3:43pm UTC](https://discuss.dgraph.io/t/hypergraphql-query-language/2123 "2018-01-13T15:43:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamethecomplex](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/tamethecomplex/32/496_2.png) [@tamethecomplex](https://discuss.dgraph.io/u/tamethecomplex)\
**Post date:** [January 13, 2018, 3:43pm UTC](https://discuss.dgraph.io/t/hypergraphql-query-language/2123/1 "2018-01-13T15:43:24Z")

</div>

Has anyone heard of this effort by “Semantic Integration Ltd.” in the UK?

[http://hypergraphql.org/](http://hypergraphql.org/)

I just read about it from a blog post about a company called GRAKN.AI which aims to provide a layer on top of graph databases for the purpose of creating knowledge graphs.

Here’s the link to the post:

[https://medium.com/@sklarman/querying-linked-data-with-graphql-959e28aa8013](https://medium.com/@sklarman/querying-linked-data-with-graphql-959e28aa8013)

ASIDE: GRAKN.AI uses “hypergraphs” instead of vanilla digraphs to model their knowledge, although under the hood, they map these hypergraphs to digraphs before persisting to whatever vendor DB using Apache TinkerPop. Here’s a link to a post about their “hypergraph” modeling approach.

[https://blog.grakn.ai/modelling-data-with-hypergraphs-edff1e12edf0](https://blog.grakn.ai/modelling-data-with-hypergraphs-edff1e12edf0)

---

<div class="post-metadata">

**Author:** ![Kbrochier](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@Kbrochier](https://discuss.dgraph.io/u/Kbrochier)\
**Post date:** [January 14, 2018, 8:44pm UTC](https://discuss.dgraph.io/t/hypergraphql-query-language/2123/2 "2018-01-14T20:44:33Z")

</div>

**Thanx for the information**

Was an interesting reading and a good input for refreshing research - and - some updating my knowledge

RE: _Has anyone heard of this effort by “Semantic Integration Ltd.” in the UK?_  
I did not

- was working some years for a company, which is still implemeting an intelligent search engine - responsible for technical infrastructure  
[https://www.tomo-base.at/](https://www.tomo-base.at/)
- they create a knowledge base using many dumps as base like wikipedia-dumps and other big-data sources - these dumps will be read into a Titan(JanusGraph)/Cassandra based knowledge engine combined with higher level of annotation and disambiguation
- my view on big-data projects - many still use Java including a softwarestack from apache also partly implemented on Java - in my view a performance problem when GB of data will be processed

---

<div class="post-metadata">

**Author:** ![tamethecomplex](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/tamethecomplex/32/496_2.png) [@tamethecomplex](https://discuss.dgraph.io/u/tamethecomplex)\
**Post date:** [January 15, 2018, 1:41pm UTC](https://discuss.dgraph.io/t/hypergraphql-query-language/2123/3 "2018-01-15T13:41:27Z")

</div>

> [@Kbrochier](#):
>
> they create a knowledge base using many dumps as base like wikipedia-dumps and other big-data sources - these dumps will be read into a Titan(JanusGraph)/Cassandra based knowledge engine combined with higher level of annotation and disambiguation.

Seems interesting… Have they created a full-featured knowledge graph on top of this data? Do they rely on the standard SPARQL / Gremlin? It seems like the state of knowledge graphs, at least the public ones as opposed to whatever Google, Baidu, Facebook etc. have created… is pretty fragmented and very new. I am looking for the best way to control the schema of our knowledge graph and query it efficiently. The GRAKN.AI query language, Graql, along with its associated type system, seems interesting and with high-level abstractions appropriate for a knowlege graph… But from what I can tell, it’s a proprietary language rather than being on some standards track.

> [@Kbrochier](#):
>
> many still use Java including a softwarestack from apache also partly implemented on Java - in my view a performance problem when GB of data will be processed

Just wondering, as I’m not familiar with the Java-related performance issues you point out. What do you think the problem with Java is?

I have my own reservations with Java… I’ve worked with it a bit and find it to be a bit clunky and verbose. That’s one of the reasons I like Dgraph, being based on concise and innovatie Golang. Not to mention the fact that Dgraph is the full-stack database, rather than just being a query layer on top of some other back-end datastore.

---

<div class="post-metadata">

**Author:** ![Kbrochier](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@Kbrochier](https://discuss.dgraph.io/u/Kbrochier)\
**Post date:** [January 15, 2018, 2:10pm UTC](https://discuss.dgraph.io/t/hypergraphql-query-language/2123/4 "2018-01-15T14:10:45Z")

</div>

> [@tamethecomplex](#):
>
> Just wondering, as I’m not familiar with the Java-related performance issues you point out. What do you think the problem with Java is?

We did not test procedures in Java versus Golang but versus Standard-C - these tests showed a much better performance in Standard-C  
**Java:** using Oracle Java-V.8.xxx  
**Standard-C:** using gcc compiler  
**VMs:** Ubuntu 14.04 LTS in HyperV on IBM 4-Xeon servers

---

<div class="post-metadata">

**Author:** ![Kbrochier](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@Kbrochier](https://discuss.dgraph.io/u/Kbrochier)\
**Post date:** [January 15, 2018, 2:36pm UTC](https://discuss.dgraph.io/t/hypergraphql-query-language/2123/5 "2018-01-15T14:36:57Z")

</div>

> [@tamethecomplex](#):
>
> Seems interesting… Have they created a full-featured knowledge graph on top of this data? Do they rely on the standard SPARQL / Gremlin? It seems like the state of knowledge graphs, at least the public ones as opposed to whatever Google, Baidu, Facebook etc. have created… is pretty fragmented and very new. I am looking for the best way to control the schema of our knowledge graph and query it efficiently. The GRAKN.AI query language, Graql, along with its associated type system, seems interesting and with high-level abstractions appropriate for a knowlege graph… But from what I can tell, it’s a proprietary language rather than being on some standards track.

As far as i know its standard Gremlin  
there are different machines  
a) 1 VM with 8-cores for each language (now 6) and filled with data from wikipedia dumps used for entity linking - but better than dexter from [http://dexter.isti.cnr.it/](http://dexter.isti.cnr.it/)  
b) 1 VM with 8 cores for search and ranking of “documents” plus store in Titan with Cassandra persistance backend

- plus connectors with Apache-Manifold and ActiveMQ to link to the main application
- plus in memory screenshots
- plus ps2html
- plus elasticsearch

The problem also is that the project started with a very small free group and grew with Java and the tools available at the beginning. So it is not easy to change to newer techniques like Golang or change extern modules like ActiveMQ

They also see more “splitting” into more VM´s to increase the performance

The application itself targets enterprises and government orgs for  
a) research  
b) organise own documents which are stored in various formats (historically)

- user can decide to organise their document metadata in the system and the documents external

---

<div class="post-metadata">

**Author:** ![tamethecomplex](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/tamethecomplex/32/496_2.png) [@tamethecomplex](https://discuss.dgraph.io/u/tamethecomplex)\
**Post date:** [January 15, 2018, 3:13pm UTC](https://discuss.dgraph.io/t/hypergraphql-query-language/2123/6 "2018-01-15T15:13:48Z")

</div>

> [@Kbrochier](#):
>
> The application itself targets enterprises and government orgs for
> 
> a) research
> 
> b) organise own documents which are stored in various formats (historically)

Interesting. This is one of the problems we aim to solve also. Enterprise document management at the companies I’ve consulted for is so bad…MS sharepoint turns into a pile of unsearchable, unstructured information. And of course piles of documents on network share drives are even worse.

> [@Kbrochier](#):
>
> The problem also is that the project started with a very small free group and grew with Java and the tools available at the beginning.

It’s interesting to me that Java dominates the vast majority of graph databases (Titan, Neo4j, OrientDB, JanusGraph…). Sometimes I wonder if this is because graph databases are relevant to many adademic topics in the “AI” space, and Java has a strong foothold in academia, or at least that is my experience.

---

<div class="post-metadata">

**Author:** ![Kbrochier](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@Kbrochier](https://discuss.dgraph.io/u/Kbrochier)\
**Post date:** [January 15, 2018, 10:01pm UTC](https://discuss.dgraph.io/t/hypergraphql-query-language/2123/7 "2018-01-15T22:01:21Z")

</div>

> [@tamethecomplex](#):
>
> Interesting. This is one of the problems we aim to solve also. Enterprise document management at the companies I’ve consulted for is so bad…MS sharepoint turns into a pile of unsearchable, unstructured information. And of course piles of documents on network share drives are even worse.

Hello again  
Yes a true fact - Enterprise documents is still an unseen fact here in Europe  
btw - sharepoint is a requested question by some “early birds” - i saw many “Bigs” thinking sharepoint can solve their problems - to tell someone what is a “documentproof solution” is a hard job

last - a bit clandestine but not really - my former colleagues told me that they r working on a sharepoint plugin (via manifold or ??) to crawl throught these structures - was a demand from some enterprises they could reach

---

<div class="post-metadata">

**Author:** ![Kbrochier](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@Kbrochier](https://discuss.dgraph.io/u/Kbrochier)\
**Post date:** [January 15, 2018, 10:14pm UTC](https://discuss.dgraph.io/t/hypergraphql-query-language/2123/8 "2018-01-15T22:14:28Z")

</div>

> [@tamethecomplex](#):
>
> It’s interesting to me that Java dominates the vast majority of graph databases (Titan, Neo4j, OrientDB, JanusGraph…). Sometimes I wonder if this is because graph databases are relevant to many adademic topics in the “AI” space, and Java has a strong foothold in academia, or at least that is my experience.

From my view easy - Java also here in Europe is the most used development platform - Hadoop, Spark, Solr etc etc are in use in various solutions  
so what i see is huge heap of software with more huge dependencies of these libraries  
all grown up by years - a hard(expensive) way to redevelope it

---

<div class="post-metadata">

**Author:** ![Kbrochier](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@Kbrochier](https://discuss.dgraph.io/u/Kbrochier)\
**Post date:** [January 15, 2018, 10:30pm UTC](https://discuss.dgraph.io/t/hypergraphql-query-language/2123/9 "2018-01-15T22:30:31Z")

</div>

However - Databases are a Backbone - need stability and ACID  
So frontend solutions needs them - new methods of working with data have 2 demands  
a) good frontends to transform real needs in requests/solutions  
b) a powerfull backend to represent the needs into structured “memory/storage/refindable” backend store → ACID
