Neo4j is a graph database suited for link analysis and for data that is naturally expressed as a graph, e.g. social or dependency networks. Cipher is one of the languages that can be used to query Neo4j and generally design queries for graph data; perhaps it is Cipher's syntax and it's declarative style that looks similar to Prolog to you.