Skip to content

opendatacz/sparql-unlimited

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sparql-unlimited

Executes SPARQL 1.1 Update operations split into pages.

Usage

Enter configuration of your SPARQL endpoint into config.yaml or copy it, edit it, and provide it to the script via --config parameter.

java -jar sparql-unlimited.jar --help

Development notes

  • The stopping condition for paging is based on the count of bindings for variables projected by the SPARQL update's WHERE clause. The motivation for this solutions is discussed here. Responses to no-op SPARQL updates aren't standardized:
    • For empty update, Virtuoso returns HTTP 200 response with "0 triples" in the body.
    • For empty update, Fuseki returns "standard" success HTTP 200 response without any indication how many triples were affected.

Known caveats

  • Only supports 1 update operation in a file.
  • Virtuoso doesn't enable to use COUNT(DISTINCT *), even though it's valid SPARQL.

License

Copyright © 2014 Jindřich Mynarz

Distributed under the Eclipse Public License.

About

Executing SPARQL updates using paging

Resources

License

Stars

Watchers

Forks

Packages

No packages published