PATH query and reasoning

Let’s try to figure out the first issue and then move to the second. Can you share the exact data file which you’re loading? This stuff’s got to work, here’s what I did:

pavel$ stardog-admin db create -n test
Successfully created database 'test'.
pavel$ stardog query test "insert data { <urn:a> <urn:p> <urn:b> . <urn:a> <urn:p> <urn:c> . <urn:p> <http://www.w3.org/2002/07/owl#inverseOf> <urn:q> . }"
3 triples added in 00:00:00.356
pavel$ stardog query --reasoning test "paths start ?x = <urn:b> end ?y = <urn:c> via ?predicate"
+-------+-----------+-------+
|   x   | predicate |   y   |
+-------+-----------+-------+
| urn:b | urn:q     | urn:a |
| urn:a | urn:p     | urn:c |
+-------+-----------+-------+

Query returned 1 paths in 00:00:01.182

Now all we need to do is to figure out what’s different in your case.

Cheers,
Pavel

PS. Stardog 5.3