Skip to content

SPARQL 1.2: cover literals in triple terms#256

Merged
Tpt merged 3 commits intomainfrom
tpt/sparql-triple-term-object
Dec 26, 2025
Merged

SPARQL 1.2: cover literals in triple terms#256
Tpt merged 3 commits intomainfrom
tpt/sparql-triple-term-object

Conversation

@Tpt
Copy link
Copy Markdown
Contributor

@Tpt Tpt commented Dec 13, 2025

No description provided.

@Tpt Tpt mentioned this pull request Dec 13, 2025
40 tasks
@Tpt Tpt force-pushed the tpt/sparql-triple-term-object branch from a7c074d to 2f04e11 Compare December 13, 2025 20:33
@Tpt Tpt marked this pull request as ready for review December 13, 2025 20:34
@Tpt Tpt requested review from afs and rubensworks December 13, 2025 20:34
Comment thread sparql/sparql12/eval-triple-terms/data-10.ttl Outdated
Co-authored-by: Andy Seaborne <andy@apache.org>
@@ -0,0 +1,13 @@
PREFIX : <http://example/>

SELECT DISTINCT ?s WHERE {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There are 6 items in data-9 and 5 branches in this union.

Is that intended?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, I just don't add a pattern for the IRI triple term object

  • it's already covered by other tests
  • we make sure the query is not just matching every triple term blindly.

@@ -0,0 +1,11 @@
PREFIX : <http://example/>

SELECT ?s WHERE {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Again, there are 5 triples in the data (yes, the first is not a literal object)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

same reason as above)

@Tpt Tpt merged commit 2aa95e8 into main Dec 26, 2025
1 check passed
@Tpt Tpt deleted the tpt/sparql-triple-term-object branch December 26, 2025 16:57
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.

4 participants