Oh yes. Thanks Holger. I was using 'query' parameter instead of 'update'. 
My bad.

On Monday, September 15, 2025 at 6:33:37 PM UTC+5:30 Holger Knublauch wrote:

> Maybe you have passed in the query like with the query protocol, but it 
> should look like
>
> SPARQL 1.1 Protocol 
> <https://www.w3.org/TR/sparql11-protocol/#update-operation>
> w3.org <https://www.w3.org/TR/sparql11-protocol/#update-operation>
> [image: favicon.ico] 
> <https://www.w3.org/TR/sparql11-protocol/#update-operation> 
> <https://www.w3.org/TR/sparql11-protocol/#update-operation>
>
>
> Holger
>
>
> On 15 Sep 2025, at 2:39 pm, Vaisakh Babu <[email protected]> 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 <[email protected]> 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 [email protected]
>> --- 
>> 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 [email protected].
>> 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 [email protected]
> --- 
> 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 [email protected].
>
> 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 [email protected]
--- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/topbraid-users/69be7f55-a9cd-4f25-87ad-c3e507727009n%40googlegroups.com.

Reply via email to