title: Situation pattern recognition and solution generation
body: <p>What we have: </p>
  
  <ol>
  <li><p>Ontology information on our current system (entities, properties, relations) saved in graph db.</p></li>
  <li><p>IF THEN Rules about entities, properties, relations.</p></li>
  <li><p>Current task.</p></li>
  </ol>
  
  <p><strong>Ontology information</strong></p>
  
  <p>Tom has a car.</p>
  
  <p>Helen has phone.</p>
  
  <p>Tom is 20 years old.</p>
  
  <p>Helen is 30 years old.</p>
  
  <p>Tom is a friend of Helen.</p>
  
  <p><strong>Rules (patterns)</strong></p>
  
  <p>IF (X has car AND Y has phone and X older than 18 AND Y older than 18 AND X is a friend of Y), THEN -> They can start taxi business.</p>
  
  <p>Current Task</p>
  
  <p>Generate any business opportunities for Tom. Particularly, the system must recognize the situation pattern, so it can be matched with the rule. On the pattern base the solution (projected on the current situation) must be generated:</p>
  
  <p>As long as Tom and Helen are friends, they are both older than 18, Tom has a car and Helen has phone, -> Tom can start Taxi service business together with Helen.</p>
  
  <p>My question: Can I implement that with neo4j (or use it as a module for such system)? If so, where can I find the related usecase or example?</p>