GraphQL-LD.js icon indicating copy to clipboard operation
GraphQL-LD.js copied to clipboard

support for rdf:List

Open bjdmeest opened this issue 5 years ago • 2 comments

If I have something such as following TTL:

:me :hobbies (:first :second :third)

:first :label "hobby 1"
...

I think I would expect

query {
  id
  hobbies {
    label
  }
}

to return

{
id: ":me",
hobbies: ["hobby 1", ...]
}

bjdmeest avatar Aug 06 '19 12:08 bjdmeest

Hi @rubensworks

Is there already an update on this?

pheyvaer avatar Mar 25 '20 15:03 pheyvaer

No update yet unfortunately.

I'm afraid that this won't be a trivial feature to support though, since it something that would ideally be handled at the SPARQL level. But that would require this first: https://github.com/w3c/sparql-12/issues/46

rubensworks avatar Mar 25 '20 15:03 rubensworks