[Bug?] SPARQL queries different results depending on the Ontologies loading order

0 views
Skip to first unread message

charbe...@gmail.com

unread,
Apr 30, 2015, 12:06:36 PM4/30/15
to sta...@clarkparsia.com
Hi,

I am having a strange SPARQL query behavior which seems dependent on the order to ontology loading and imports

Here is my ontologies: (A, B, C, D) and their import relations
A
B directly imports A
C directly imports B
D directly imports C

My queries mixes instances from D, C, B and A and requires sameAs reasoning set to ON.

I am having different results depending on the order I loaded my ontologies in StarDog.

If I load D then C then B then A ==> My queries are correct !!

However, if I load A then B then C then D, here my queries are not correct and some answers are missing !!

This can be a serious issue, suppose we want to add an ontology E which directly imports D.
This means we cannot just import E in the database. We need to delete the DB and import E, then D then C then B then A.

Thank you for your help.

Best,
Charbel

Kendall Clark

unread,
Apr 30, 2015, 12:21:07 PM4/30/15
to stardog
Charbel,

Can you provide us with data and query sufficient to reproduce this?

Are yr queries using property paths?

Cheers,
Kendall Clark

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

charbe...@gmail.com

unread,
Apr 30, 2015, 12:30:11 PM4/30/15
to sta...@clarkparsia.com
Kendall,

I sent you the ontologies by email.

I am not using property paths queries.

Cheers,
Charbel.
Reply all
Reply to author
Forward
0 new messages