[data-shapes] Make list optional for list-parameter node expressions that take only one parameter (#501)

HolgerKnublauch has just created a new issue for https://github.com/w3c/data-shapes:

== Make list optional for list-parameter node expressions that take only one parameter ==
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
```


Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/501 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 12 August 2025 05:59:06 UTC