-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Some of the endpoints are based on SPARQL queries that produce blank nodes for intial lists.
This is legal and works with GROM.
But the result is multiple distinct blank nodes, each with a value.
For example constituency a to z:
_:node20436876 <https://id.parliament.uk/schema/value> "B".
_:node20436877 <https://id.parliament.uk/schema/value> "A".
_:node20436878 <https://id.parliament.uk/schema/value> "C".
_:node20436879 <https://id.parliament.uk/schema/value> "D".(Another issue addresses the use of uncontrolled predicates here.)
This will results in multiple GROM nodes, each with a value attribute.
I'm wondering whether a single URI node wouldn't be better, resulting in a single GROM node with an array of values.
Like this:
CONSTRUCT {
<http://example.com/InitialsList> :value ?firstLetter .
}which would result in
<http://example.com/InitialsList> <https://id.parliament.uk/schema/value> "B", "A", "C", "D" .@mattrayner what do you think?
Metadata
Metadata
Assignees
Labels
No labels