Insert data
See original GitHub issueExpected behavior
According to this page https://github.com/CLARIAH/grlc/wiki/Features : “INSERT DATA queries are now mapped automatically to POST requests. Support is limited to queries with no WHERE clause, and parameters are always expected to be values for g (named graph where to insert the data) and data (with the triples to insert, in ntriples format). The INSERT query pattern is so far static, as defined in static.py. Only tested with Virtuoso.”
Actual behavior
Steps to reproduce the behavior
In a github repo file named my_insert.rq
, I wrote this query:
#+ summary: test insert
#+ endpoint: http://127.0.0.1:8890/sparql
#+ tags:
#+ - SPARQL
#+ method: POST
PREFIX ex: <http://example.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
INSERT DATA {
GRAPH ex:myGraph {
ex:ali foaf:name "Alice" .
ex:bob foaf:name "Bob" .
}
}
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:11
Top Results From Across the Web
SQL INSERT INTO Statement - W3Schools
It is possible to write the INSERT INTO statement in two ways: 1. Specify both the column names and the values to be...
Read more >Insert Data into Tables in SQL Server - TutorialsTeacher
The INSERT INTO statement is used to insert single or multiple records into a table in the SQL Server database.
Read more >SQL - INSERT Query - Tutorialspoint
The SQL INSERT INTO Statement is used to add new rows of data to a table in the database. Syntax. There are two...
Read more >How To Insert Data in SQL | DigitalOcean
In this guide, we'll go over how to use SQL's INSERT INTO syntax to add data to tables with each of these methods....
Read more >Learn SQL: INSERT INTO TABLE - SQLShack
SQL INSERT INTO statement is one of the “big 4” in databases, next to SELECT, UPDATE, and DELETE.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @MiharyR,
Sorry for the delay in getting back to you – could you get in touch with me via email (c.martinez@esciencecenter.nl) so I can propose dates and setup a meeting?
Hi @MiharyR,
I know what you mean – grlc has quite a bit of code which could be cleaned up. Perhaps you could join one of our developer meetings (with @albertmeronyo and me) and we could discuss how to integrate your code?