apache / apache/jena

arq: multiple input files without repeating --data

Open
#1,862 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
1.4k
Forks
712
Avg merge
15h 41m
Merged PRs (30d)
53

Description

### Version

4.8.0

### Feature

When executing queries with `arq` it is possible to provide multiple input files by repeating the `--data` option

This is a not shell-friendly, where I would like to glob a path to load multiple sources in one go

```
arq --query test.rq --data data/*.ttl
```

To make that work, it would be necessary to allow multiple values of `--data`

```
arq --query test.rq --data data/1.ttl data/2.ttl data/3.ttl
```

Can this be implemented?

### Are you interested in contributing a solution yourself?

None

Contributor guide

Open the contributing guide

Research direction

Start at the arq command-line entry point and trace how the --data argument is parsed and passed to query execution. Check the existing repeated --data behavior, then verify that one --data option accepts multiple paths such as data/1.ttl data/2.ttl data/3.ttl and loads them all.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.