Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Tpt
Copy link
Contributor

@Tpt Tpt commented Oct 9, 2025

Scoping is already tested but this is an easy mistake when trying to optimize such queries

Scoping is already tested but this is an easy mistake when trying to optimize such queries
@Tpt Tpt requested a review from afs October 12, 2025 19:01
] ;
mf:result <graph-variable-join.ttl> ;
.
:graph-optional rdf:type mf:QueryEvaluationTest ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't in the list of tests at mf:entries so it does not run.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Fixed.

Comment on lines 9 to 11
rs:binding [ rs:value <data-variable-join.ttl> ;
rs:variable "http://example/s2"
]
Copy link
Contributor

@afs afs Oct 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong. The variable is s.

I think the right answer is:

Suggested change
rs:binding [ rs:value <data-variable-join.ttl> ;
rs:variable "http://example/s2"
]
rs:binding [ rs:value <data-optional.ttl> ;
rs:variable "s"
]

that is:

-----------------------------
| g                   | s   |
============================
| <data-optional.ttl> | :s2 |
-----------------------------

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, got confused. Fixed. Thanks for spotting

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

Successfully merging this pull request may close these issues.

3 participants