Skip to content

Implement more Jelly-SPARQL commands - #341

Merged
Ostrzyciel merged 1 commit into
mainfrom
piotr/update-sparql
Oct 1, 2026
Merged

Ostrzyciel merged 1 commit into
mainfrom
piotr/update-sparql

Conversation

@Ostrzyciel

Copy link
Copy Markdown
Member
  • Add sparql inspect command
  • Add sparql validate command
  • Add more options for conversions to Jelly-SPARQL (e.g., set custom lookup sizes)
  • Add conversions between Jelly-RDF and Jelly-SPARQL to the existing to-jelly/from-jelly commands. The commands are useful for creating Jelly-SPARQL benchmarks, for example. This of course only works for result sets with 3 or 4 columns.

- Add `sparql inspect` command
- Add `sparql validate` command
- Add more options for conversions to Jelly-SPARQL (e.g., set custom lookup sizes)
- Add conversions between Jelly-RDF and Jelly-SPARQL to the existing to-jelly/from-jelly commands. The commands are useful for creating Jelly-SPARQL benchmarks, for example. This of course only works for result sets with 3 or 4 columns.
var frameCount: Long = 1
// Error message of the last trailer that reported one
var trailerError: Option[String] = None
private object stat:

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.

are we ok with global private static mutable state?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

it's not global, it's an object inside a class. So, in this class it's a singleton :D

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.

oh interesting. ok

Option(c.getLiterals).map(literalValues).getOrElse(0L) +
c.getTripleTerms.size

def format(): Seq[(String, YamlValue)] =

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.

and are we ok with rawdogging yaml? if acceptable then fine

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah we've been doing that for some time now. Beats adding a new dependency... we just need to write a small subset of it.

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.

sure then

@Ostrzyciel
Ostrzyciel merged commit 2dd310e into main Oct 1, 2026
7 checks passed
@Ostrzyciel
Ostrzyciel deleted the piotr/update-sparql branch October 1, 2026 12:02
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.

2 participants