Duplicated blank node #427
Replies: 4 comments
-
I see the problem, the engine creates a new blank node for each binding.
which yields
|
Beta Was this translation helpful? Give feedback.
-
Yes. That helped me. Thanks a lot! I noticed that it is important to create globally unique names for the blank nodes. E.g. for:
this would work:
|
Beta Was this translation helpful? Give feedback.
-
Yes, it is. If you want to collapse all items in a single blank node, you need to pass a constant as an argument (identifier) of fx:bnode, e.g. |
Beta Was this translation helpful? Give feedback.
-
We can maybe transform this into a discussion and label it as a use case. |
Beta Was this translation helpful? Give feedback.
-
list.json:
list.sparql:
fx -q list.sparql -o list.ttl
gives as output:
while I would expect:
How to fix this?
Beta Was this translation helpful? Give feedback.
All reactions