/delete_all_sparql.sql Secret
Last active
December 14, 2021 08:20
保存されているトリプルを全消去
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare | |
l_clob clob; | |
-- 全消去 | |
l_sparql varchar2(4000) := | |
q'~ | |
delete { ?s ?p ?o } | |
where { ?s ?p ?o } | |
~'; | |
begin | |
apex_debug.info(l_sparql); | |
rdf_update_model( | |
p_sparql => l_sparql | |
, p_origin => :G_ORIGIN | |
, p_datasource => :G_DATASOURCE | |
, p_datasetdef => :G_DATASETDEF | |
, p_csrf_token => :G_CSRF_TOKEN | |
, p_username => :G_USERNAME | |
, p_password => :G_PASSWORD | |
, p_response => l_clob | |
); | |
apex_debug.info(l_clob); | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment