Skip to content

Make list optional for list-parameter node expressions that take only one parameter #501

@HolgerKnublauch

Description

@HolgerKnublauch

For example, sparql:abs currently would need to be written as

[
    sparql:abs ( [ shnex:path ex:property ] )
]

If this was a named-parameter node expression, it would be written as

[
    sparql:abs [ shnex:path ex:property ]
]

Many users will not know the difference and when to use which notation. Many users will not really be aware that the distinction between list and named parameters even exists.

I think any list parameter functions that take only one argument should support the second syntax without a list. So this would also be legal:

[
    sparql:abs -42
]

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions