-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi,
I'm trying to perform a mutation that creates a new triple and inserts it to a datasource using the JSON provider. Suppose I use the following JSON provider file:
{
"Mutation": {
"Fields": [
{
"Name": "createPerson",
"Object": "Person",
"DataSource": "my-triplestore",
"IsArray": false
}
]
},
"Types": [
{
"Name": "Person",
"Namespace": "http://fake-namespace.com/person",
"DataSource": "my-triplestore",
"Fields": [
{
"Name": "firstName",
"Scalar": "String"
},
{
"Name": "lastName",
"Scalar": "String"
}
]
}
]
}
What query should I use to add a new person to my triplestore? I've tried to simulate the example from the README, that uses a template argument, but I cannot use that argument by default.
Metadata
Metadata
Assignees
Labels
No labels