Hi I'm kind of stuck on implementing a mutation in graphql that modifies a property by adding multiple URIs for the same predicate.
For example I wanted to add multiple subjects (dct:subject) to a single resource, I would need a parameter $subjectURIs:[ID] and implement it into the query. I am using Apollo Graphql as a middleware solution, but whatever I try - I keep getting errors in my syntax. Unfortunately I cannot find any documentation on how to use RootRDFMution with addValues for example. Is there any documentation or more examples? All I have is this https://www.topquadrant.com/technology/graphql/graphql-mutations/ and the GraphQL API that comes with EDG. Example: export const UPDATE_ExampleResource = gql` mutation exampleResourceMutation ($uri:ID, $subjectUri:[ID]) { updateExampleResource ( input: { uri: $uri subject: { uri: $subjectUri } }) report { addedCount deletedCount } commit (message: "added subjects") } `; I have also been looking at addValues but I am not sure how to implement this: addValues( resource: $uri, predicate: "subject", values:$subjectUri ) Many thanks -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/c62a7b62-f78f-4763-9efb-722b78f55180n%40googlegroups.com.