Not logged in : Login

About: VirtTipsAndTricksDiscoverSPARQFedCapabilitiesSPARQL     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : ods.openlinksw.com associated with source document(s)

AttributesValues
type
Date Created
Date Modified
label
  • VirtTipsAndTricksDiscoverSPARQFedCapabilitiesSPARQL
maker
Title
  • VirtTipsAndTricksDiscoverSPARQFedCapabilitiesSPARQL
isDescribedUsing
has creator
content
  • %META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+Adding SPARQL Endpoint Capabilities Interrogation to Virtuoso SPARQL-FED functionality ---++What? Discover the capabilities of a SPARQL endpoint en route to enhancing SPARQL-FED usage from Virtuoso instances by granting special roles to "SPARQL". ---++Why? Virtuoso service endpoints can interact with the Virtuoso compiler and in case of errors, for example when using SPARQL LOAD SERVICE <http://example.com/sparql> DATA , it can execute the appropriate LOAD SERVICE ... DATA by itself and retry the failed query. ---++How? Adding SPARQL Endpoint Capabilities Interrogation to Virtuoso SPARQL-FED functionality can be achieved by: 1. Granting ROLE privileges to the SPARQL user ; 1. Using SPARQL-FED as per usual via SPARQL-Protocol, HTML based Query UI, or SPASQL. Grant the SPARQL_LOAD_SERVICE_DATA ROLE privilege to the SPARQL user to enable the capabilities of external Virtuoso SPARQL endpoint to be determined by executing the following command from the Conductor or command line iSQL interfaces: GRANT SPARQL_LOAD_SERVICE_DATA to "SPARQL" ; Once executed when running SPARQL-FED queries the source SPARQL endpoint will interrogate the remote source en route to best understanding its capabilities for optimum execution of the SPARQL-FED queries. The "best effort" determination of capabilities is done by a combination of the following: 1 Service Description Document 1 SPARQL 1.1 queries. The following curl command can be used to obtain the service description for a given SPARQL endpoint: curl -iLH "Accept: text/turtle" http://linkeddata.uriburner.com/sparql Example usage: 1 Execute from iSQL: SQL> grant SPARQL_LOAD_SERVICE_DATA to "SPARQL"; Done. -- 3 msec. SQL> grant SPARQL_SPONGE to "SPARQL"; Done. -- 3 msec. 1 From the http://host:port/sparql endpoint execute as an anonymous user the following query: SELECT DISTINCT ?Entity WHERE {SERVICE {SELECT * WHERE { ?Entity ?Relation ?EntityType} limit 50 } } * [[http://bit.ly/1E5FLq5][View the SPARQL Query Definition via SPARQL Protocol URL]]; * [[http://bit.ly/1yJ4C08][View the SPARQL Query Results via SPARQL Protocol URL]]; ---++Related * [[http://www.w3.org/TR/sparql11-service-description/][W3C SPARQL 1.1 Service Description]] * [[http://linkeddata.uriburner.com/c/8B2FXO][SPARQL Service Description Ontology]] * [[VirtTipsAndTricksDiscoverSPARQFedCapabilities][How to discover the capabilities of a SPARQL endpoint to enhancing SPARQL-FED usage from Virtuoso instances?]] * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]]
id
  • 1060455ba623ce3cb39ba44a2e97af81
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtTipsAndTricksDiscoverSPARQFedCapabilitiesSPARQL
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:36:55Z
atom:updated
  • 2017-06-13T05:36:55Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is links to of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git132 as of May 12 2023


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3332 as of Sep 11 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 2 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software