rubensworks / GraphQL-LD.js

Linked Data Querying with GraphQL
https://gist.github.com/rubensworks/9d6eccce996317677d71944ed1087ea6
MIT License
103 stars 7 forks source link

support for rdf:List #9

Open bjdmeest opened 5 years ago

bjdmeest commented 5 years ago

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", ...]
}
pheyvaer commented 4 years ago

Hi @rubensworks

Is there already an update on this?

rubensworks commented 4 years ago

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