title: Query to find all the path between two nodes in a OWL ontology
body: <p>I am new in Sparql. I have a car ontology in OWL format. I am trying to write a query that takes names of two nodes from me and shows all the existing paths between them. 
  For example in the following picture:
  <a href="http://i.stack.imgur.com/90Ub0.jpg" rel="nofollow">example of my ontology's graph</a>,
  if the input nodes are G and E, the path between them can be
  G c b e,
  G c a d b e,
  G c a thing b e,
  G h I e</p>
  
  <p>I have used apache Jena to connect to my ontology from Eclipse. Now I need to write the query mentioned above. Is there any example that can help me to write the query?</p>