Hi Daryl,
On 21/02/2017 13:51, Daryl Hendricks wrote:
Hi, could you provide a CURL sample with insert, update and delete
calls for TBC ME? I've modified the web service
could you clarify which particular web service you are referring to? Do
you plan to go through the SPARQL end point or a custom service?
To see the kind of URLs that you would need to simulate for SPARQL end
point, open the UI for it
http://localhost:8083/tbl/sparql
and run some example queries with Chrome Developer Tools open:
http://localhost:8083/tbl/sparql?update=INSERT+%7B%0A%7D%0AWHERE+%7B%0A%09GRAPH+%3Chttp%3A%2F%2Ftopbraid.org%2Fexamples%2Fkennedys%3E+%7B%0A%09%09%3Fsubject+a+%3Chttp%3A%2F%2Ftopbraid.org%2Fexamples%2Fkennedys%23Person%3E+.%0A%09%7D%0A%7D+
to receive updates but I'm getting back HTTP 500 responses when I try
calls to the server.
Any more specific info available, e.g. in the log?
I'm using version 5.2 of ME. If CURL isn't possible, then an example
updating the kennedys sample would be helpful.
Having said this, the SPARQL end point is a rather risky and low-level
feature. Unless you need complete freedom, it would be better to define
specific update services using, for example, SWP. This way you can
control which arguments go in and which updates are allowed to be performed.
HTH
Holger
--
You received this message because you are subscribed to the Google Group "TopBraid
Suite Users", the topics of which include the TopBraid Suite family of products and
its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
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].
For more options, visit https://groups.google.com/d/optout.