Example with INPUT Pragma grab-all
The following example demonstrates usage of the input:grab-all
pragma:
DEFINE input:grab-all "yes" DEFINE input:grab-depth 1 DEFINE input:grab-limit 50 PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?friendsname ?friendshomepage ?foafsname ?foafshomepage WHERE { { { { SELECT ?start ?friend WHERE { ?start foaf:knows ?friend . } } OPTION ( transitive, t_distinct, t_max (5), t_in (?start), t_out (?friend) ) FILTER ( ?start = <http://www.w3.org/People/Berners-Lee/card#i> ) } OPTIONAL {?friend foaf:mbox_sha1sum ?mbox . ?friendsURI foaf:mbox_sha1sum ?mbox . ?friendsURI foaf:name ?friendsname . ?friendsURI foaf:homepage ?friendshomepage . } } OPTIONAL { ?friendsURI foaf:knows ?foaf . ?foaf foaf:name ?foafsname . ?foaf foaf:homepage ?foafshomepage . } }
- View the SPARQL Query Definition via SPARQL Protocol URL
- View the SPARQL Query Results via SPARQL Protocol URL
Sponger Usage Examples
- SPARQL Processor Usage Example
- RDF Proxy Service Example
- Browsing & Exploring RDF View Example Using ODE
- Browsing & Exploring RDF View Example Using iSPARQL
- Basic Sponger Cartridge Example
- HTTP Example for Extracting Metadata using CURL
- RESTFul Interaction Examples
- Flickr Cartridge Example
- MusicBrainz Metadatabase Example
- SPARQL Tutorial -- Magic of SPARUL and Sponger
Related
- Sponger's Linked Data Middleware Hooks into SPARQL
- Virtuoso Sponger
- Technical White Paper
- Supported Virtuoso Sponger Cartridges
- SPARQL Sponger
- Interacting with Sponger Middleware via RESTful Patterns
- Interacting with Sponger Meta Cartridge via RESTful Patterns
- 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