VOS.VirtSpongerRESTPatterns(Last) -- DAVWikiAdmin? , 2017-06-29 07:41:15 Edit WebDAV System Administrator 2017-06-29 07:41:15
Usage of the Sponger Middleware via REST patterns
How to interact with the Sponger via REST patterns.
Why?Delegation and proxies are part of the Internet and Web's federated architecture. Thus, developers of RESTful applications benefit immensely from the ability to leverage Sponger functionality via delegation to it as a proxy.
The following table presents list of the supported URL parameters:
|refresh||clean||Usage: for overwriting.
The 'clean' usage explicitly clears the graph i.e. will cause the Sponger to drop cache even if it is marked to be in the fly.
Thus, if fetched cache by some reason is left in some inconsistent state like shutdown during Network Resource fetching, then 'clean' is required as it doesn't check cache state.
Note: must be used with caution as other threads may be doing fetching of network resources at same time.
|Explicitly clear the graph|
|sponger:get||add||Usage: Add new triples to named graphs, progressively. This is the default value for the parameter
||Add new triples and refresh on every 10 seconds|
|sponger:get||soft||Usage: Network Resource Fetch data subject to cache invalidation mode and associated rules of instance. May be used together with refresh=<seconds> to overwrite the expiration in the cache.||Network Resource Fetch data with option soft and refresh on every 10 seconds|
|sponger:get||replace||Usage: Replace subject to cache invalidation mode and rules, but coverage includes non fetched triples if such exist in a given named graph. may be used together with refresh=<seconds> to overwrite the expiration in the cache.||Replace data and refresh on every 10 seconds|
- Sponger Queue API
- Technical White Paper
- Supported Virtuoso Sponger Cartridges
- SPARQL Sponger
- Virtuoso Linked Data Middleware REST Patterns
- Parametrized Examples of Meta Cartridge Usage via REST Request
- Sponger Cartridge RDF Extractor
- Extending SPARQL IRI Dereferencing with RDF Mappers
- Programmer Guide for Virtuoso Linked Data Middleware ("Sponger")
- Create RDF Custom Cartridge Tutorial
- OpenLink-supplied Virtuoso Sponger Cartridges
- Virtuoso Authentication Server
- Virtuoso SPARQL OAuth Tutorial
- Virtuoso Sponger Access Control List (ACL) Setup
- WebID Protocol & SPARQL Endpoint ACLs Tutorial
- Virtuoso Documentation