Skip to content

Conversation

Tpt
Copy link
Contributor

@Tpt Tpt commented Oct 1, 2025

@Tpt Tpt force-pushed the tpt/values-var branch 2 times, most recently from d8f23a5 to 8cac1ca Compare October 1, 2025 16:33
<dd>mf:PositiveEntailmentTest</dd>
<dt>approval</dt>
<dd property='mf:approval' resource=''></dd>
<dd property='mf:approval' resource=''>none</dd>
Copy link
Contributor

Choose a reason for hiding this comment

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

This may become unnecessary if another PR is merged. This looks like it is the report generator catching up.

@@ -0,0 +1 @@
SELECT * WHERE { VALUES (?a ?a) { (1 1) } }
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this is the right place.

  1. It isn't an expression.
  2. All syntax tests go in a directory name of the form syntax-*, separate from eval tests.

Suggestion: start a new directory: sparql/sparql12/syntax for both positive syntax-*.rq tests and syntax-bad-*.rq for syntax tests that do not warrant their own directory.

Discussion: should this be in sparql11?

Copy link
Contributor Author

@Tpt Tpt Oct 2, 2025

Choose a reason for hiding this comment

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

Indeed, a syntax folder would be great. Will do so.

Discussion: should this be in sparql11?

imho it's undefined behavior in SPARQL 1.1 and is only defined in SPARQL 1.2 so an implementation doing something else would be still compliant with SPARQL 1.1. This is why I put this test in SPARQL 1.2.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is why I put this test in SPARQL 1.2.

OK

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved into a new syntax dir

Copy link
Member

@rubensworks rubensworks left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @Tpt!

I do agree with moving this to a syntax- directory.
I also see this as something that should be in sparql12.

@afs afs self-requested a review October 5, 2025 20:33
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