Maybe you have passed in the query like with the query protocol, but it should look like
https://www.w3.org/TR/sparql11-protocol/#update-operation Holger > On 15 Sep 2025, at 2:39 pm, Vaisakh Babu <vaishakhbabuthikk...@gmail.com> > wrote: > > SPARQL INSERT via API throws error "Invalid SPARQL query string: Encountered > " "insert"" > > here is the sparql for ref: > INSERT { > ?s <http://edg.topbraid.solutions/model/subjectArea> > <urn:x-tb-governance:test_subArea> . > } > WHERE { ?s <http://www.w3.org/2000/01/rdf-schema#label> "Test 4". } > > On Thursday, September 11, 2025 at 5:16:15 PM UTC+5:30 Holger Knublauch wrote: >> You can add any triple, including edg:subjectArea, either using ADS >> JavaScript or through SPARQL INSERT. >> >> In ADS it would be graph.add(masterGraph, edg.subjectArea, area) >> >> Holger >> >> >> >>> On Sep 11, 2025, at 13:29, Vaisakh Babu <vaishakhba...@gmail.com <>> wrote: >>> >> >>> I am creating a new asset using API ("{base_url}/createAssetCollection") >>> and importing the RDF data ("{base_url}/tbs/importRDFFile"). >>> Is it possible to add edg:subjectArea also via API? I tried keeping it in >>> the RDF data, but topBraid EDG removed this. >>> >> >>> -- >>> The topics of this mailing list include TopBraid EDG and related >>> technologies such as SHACL. >>> To post to this group, send email to topbrai...@googlegroups.com <> >>> --- >>> 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-user...@googlegroups.com <>. >>> To view this discussion visit >>> https://groups.google.com/d/msgid/topbraid-users/edb31da0-d382-410e-9700-4f38eb2af929n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/topbraid-users/edb31da0-d382-410e-9700-4f38eb2af929n%40googlegroups.com?utm_medium=email&utm_source=footer>. >> > > > -- > The topics of this mailing list include TopBraid EDG and related technologies > such as SHACL. > To post to this group, send email to topbraid-users@googlegroups.com > --- > 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 > <mailto:topbraid-users+unsubscr...@googlegroups.com>. > To view this discussion visit > https://groups.google.com/d/msgid/topbraid-users/4181e1e7-ebbb-4524-bf4a-42afe39bac22n%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/4181e1e7-ebbb-4524-bf4a-42afe39bac22n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- The topics of this mailing list include TopBraid EDG and related technologies such as SHACL. To post to this group, send email to topbraid-users@googlegroups.com --- 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 visit https://groups.google.com/d/msgid/topbraid-users/65E0017F-3ACD-4AF4-B004-224E51C3D694%40topquadrant.com.