Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Generating shorthand list syntax #185

@tpluscode

Description

@tpluscode

I have a query generated using the Generator which should contains pattern like this:

?resource2 <http://jena.apache.org/text#query> ( schema:name "L'Abb*" )

The list, however, is produced with labeled blank nodes

?resource2 <http://jena.apache.org/text#query> _:b416 .
_:b416 rdf:first schema:name;
  rdf:rest _:b417.
_:b417 rdf:first "L'Abb*";
  rdf:rest rdf:nil.

Because same patterns are used multiple times in subselects, that fails with Parse error: Blank node label reuse not allowed at this point: _:b416. Is it possible to force shorthand syntax?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions