Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inference with multiple FROM clauses seems to break rdf:type predicate #1333

Open
nk-fouque opened this issue Dec 4, 2024 · 1 comment
Open

Comments

@nk-fouque
Copy link

nk-fouque commented Dec 4, 2024

Following my issue on the forum I have produced an actual minimal example to illustrate the issue

As mentioned in my last comment over there, the conditions to reproduce this issue are :

  • Multiple FROM Clauses (or define input:default-graph-uri pragmas)
  • 1 Inference rule set
  • The predicate rdf:type (or a) in the query more than once

See the attached sample datasets:

And the results of the following query :

define input:inference 'test_session'
define input:default-graph-uri <http://localhost:8890/minimal-hal>
define input:default-graph-uri <http://localhost:8890/minimal-session>
SELECT * WHERE {
?s a <http://example.com/test#Paper>.
?s ?p ?a.
?a a ?c.
}

Assuming you have defined the inference rule set with rdfs_rule_set('test_session', 'http://localhost:8890/minimal-hal-schema')

@HughWilliams
Copy link
Collaborator

Ok, we shall add this to the previous test case you provided for this issue ...

@TallTed TallTed changed the title Inference and multiple FROM clauses seem to break rdf:type predicate Inference with multiple FROM clauses seems to break rdf:type predicate Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants