Reputation: 23088
By ad-hoc, I mean queries that can drill down to every property of the data.
Queries such as,
Upvotes: 0
Views: 326
Reputation: 41676
With Neo4j you can use the query language Cypher to express such ad-hoc queries, either with the built-in console of the web-admin tool, via the embedded Java, JRuby or Python-API or via the remote REST-API which has drivers in many languages.
Some examples:
start p=node:types(type='person') where p.age > 20 and p.age < 30 return p
start p=node:node_auto_index("id:*") where p.name =~ /Se.*/ return p
start p=node(0) match r-[:TAG]->tag where tag.name = 'funny' or tag.name = 'adorable' return tag
Upvotes: 1