根据官方示例,您的查询应该是这样的:
curl --header 'Accept: application/sparql-results+xml' \
--data "query=SELECT+*+{?s+?p+?o.}" \
--user s472kd733007:bhrfk1aa8o0qlj7 \
'https://rdf.s4.ontotext.com/4032537848/wikidata/repositories/fast'
但是,上面的查询对我不起作用,而下面的查询对我有用:
curl --header 'Accept: application/sparql-results+xml' \
--data "query=SELECT+*+{?s+?p+?o.}" \
--user s472kd733007:bhrfk1aa8o0qlj7 \
'http://awseb-e-m-awsebloa-11laimnu18r2i-2106042490.eu-west-1.elb.amazonaws.com/4032537848/wikidata/repositories/fast'
在上面的查询中:
s472kd733007
— API 密钥,
bhrfk1aa8o0qlj7
— API 密钥秘密,
4032537848
- 用户身份
wikidata
- 数据库名称,
fast
— 存储库 ID,
http://awseb-e-m-awsebloa-...eu-west-1.elb.amazonaws.com
— AWS 实例地址。
访问仪表板中的选项卡以获得这些参数的适用值。

至于更新查询,请参见例如this answer。您的查询应该是:
curl --header 'Accept: application/sparql-results+xml' \
--data "update=INSERT+DATA+{owl:Nothing+owl:Nothing+owl:Nothing}" \
--user s472kd733007:bhrfk1aa8o0qlj7 \
'http://awseb-e-m-awsebloa-11laimnu18r2i-2106042490.eu-west-1.elb.amazonaws.com/4032537848/wikidata/repositories/fast/statements'
请注意,此请求中的端点地址不同。