Better HN
topnewbestaskshowjobs
Log inSign up

NotAUsername

3 karma · joined May 30, 2017 (9y ago) · 5 submissions

Submissions

1.

Show HN: An easy, reliable Java library for asynchronous messaging in Redis(blog.grakn.ai ↗)

11 points · by NotAUsername · 9y ago · discuss

comment 9y ago · link · parent

Hey! Grakn person here.

The Prolog syntax is very elegant but it could be clunky, I totally agree. Our syntax has resource and role names instead of relying on position:

e.g.

match $x has lastname "some last name";

comment 9y ago · link · parent

Great point about compositionality, thank you!

comment 9y ago · link · parent

Good point. The declaration is just an extra constraint. It specifies what you can insert not what you have to insert. So in your example you can just insert some of the resources.

comment 9y ago · link · parent

That's a really good point thanks! I guess the right observation to make there is having a fully integrated distributed database behind the knowledge base, which hopefully could unlock some applications scenarios from which Prolog is usually excluded.