. "68f30d5325a3ce57438a621b16958c66" . . . . . . . . . . . . "2017-06-13T05:39:18Z" . . . "%META:TOPICPARENT{name=\"VirtSPARQLSSL\"}%\n\n---++Example for querying the SPARQL-WebID endpoint using Virtuoso function http_client\n\nThe following example demonstrates how to query the SPARQL-WebID endpoint (listening on default HTTPS 443 port) using Virtuoso function http_client:\n\n 1 Make sure the steps from the [[VirtSPARQLSSL][WebID Protocol cURL Usage Guide]] are done.\n 1. Log in at Virtuoso ISQL with your user credentials:\n\nC:\\>isql localhost:1111 johndoe ****\nConnected to OpenLink Virtuoso\nDriver: 06.01.3127 OpenLink Virtuoso ODBC Driver\nOpenLink Interactive SQL (Virtuoso), version 0.9849b.\nType HELP; for help and EXIT; to exit.\nSQL>\n\n 1. Execute:\n\nSQL>select http_client ('https://localhost/sparql-webid?query=select+*+where+{+%3Fx+%3Fy+%3Fz+.+}+limit+10&format=text%2Fn3', cert_file=>'d\nb:cli_key', insecure=>1);\ncallret\nVARCHAR\n_______________________________________________________________________________\n\n\n@prefix res: .\n@prefix rdf: .\n_:_ a res:ResultSet .\n_:_ res:resultVariable \"x\" , \"y\" , \"z\" .\n@prefix ns0: .\n@prefix rdf: .\n_:_ res:solution [\n res:binding [ res:variable \"x\" ; res:value ns0:hosting ] ;\n res:binding [ res:variable \"y\" ; res:value rdf:type ] ;\n res:binding [ res:variable \"z\" ; res:value \"Tutorial\" ] ] .\n_:_ res:solution [\n res:binding [ res:variable \"x\" ; res:value ns0:xml ] ;\n res:binding [ res:variable \"y\" ; res:value rdf:type ] ;\n res:binding [ res:variable \"z\" ; res:value \"Tutorial\" ] ] .\n_:_ res:solution [\n res:binding [ res:variable \"x\" ; res:value ns0:repl ] ;\n res:binding [ res:variable \"y\" ; res:value rdf:type ] ;\n res:binding [ res:variable \"z\" ; res:value \"Tutorial\" ] ] .\n_:_ res:solution [\n res:binding [ res:variable \"x\" ; res:value ns0:rdfview ] ;\n res:binding [ res:variable \"y\" ; res:value rdf:type ] ;\n res:binding [ res:variable \"z\" ; res:value \"Tutorial\" ] ] .\n_:_ res:solution [\n res:binding [ res:variable \"x\" ; res:value ns0:services ] ;\n res:binding [ res:variable \"y\" ; res:value rdf:type ] ;\n res:binding [ res:variable \"z\" ; res:value \"Tutorial\" ] ] .\n_:_ res:solution [\n res:binding [ res:variable \"x\" ; res:value ns0:wap ] ;\n res:binding [ res:variable \"y\" ; res:value rdf:type ] ;\n res:binding [ res:variable \"z\" ; res:value \"Tutorial\" ] ] .\n_:_ res:solution [\n res:binding [ res:variable \"x\" ; res:value ns0:bpeldemo ] ;\n res:binding [ res:variable \"y\" ; res:value rdf:type ] ;\n res:binding [ res:variable \"z\" ; res:value \"Tutorial\" ] ] .\n_:_ res:solution [\n res:binding [ res:variable \"x\" ; res:value ns0:web ] ;\n res:binding [ res:variable \"y\" ; res:value rdf:type ] ;\n res:binding [ res:variable \"z\" ; res:value \"Tutorial\" ] ] .\n_:_ res:solution [\n\n\n1 Rows. -- 281 msec.\nSQL>\n\n\n\n\n---++Related\n\n * [[VirtWebIDCurlExample1][Example for querying the SPARQL-WebID endpoint using cURL]]\n * [[VirtSPARQLEndpointProtection][Safeguarding your Virtuoso-hosted SPARQL Endpoint]]\n * [[VirtTipsAndTricksGuideSPARQLEndpointProtection][SPARQL Endpoint Protection Methods Collection]]\n * [[http://docs.openlinksw.com/virtuoso/][Virtuoso documentation]]\n * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsupportedprotocolendpoint][SPARQL Service Endpoint]] \n * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsupportedprotocolendpointuri][Service Endpoint Security]] \n * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html#sparqwebservicetbl][Managing a SPARQL Web Service Endpoint]] \n * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][SPARQL]]\n * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]]\n * [[VirtSPARQLDET][SPARQL Endpoint DET Configuration Guide]] \n * [[VirtSPARQLSecurityWebID][WebID Protocol & SPARQL Endpoint ACLs Tutorial]]\n * [[VirtOAuthSPARQL][SPARQL OAuth Tutorial]]\n * [[VirtTipsAndTricksGuideSPARQLEndpoints][Securing SPARQL endpoints]]\n * [[http://ods.openlinksw.com/wiki/ODS/OdsSPARQLAuth][SPARUL over SPARQL using the http://cname:port/sparql-auth endpoint]]\n * [[VirtAuthServerUI][Virtuoso Authentication Server UI]]\n * [[VirtSPARQLSSL][Manage a SPARQL-WebID based Endpoint]]\n * [[VirtSetupSSL][Configure Virtuoso instance as an X.509 Certificate Authority and HTTPS listener]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSSetupSSL][Configure Virtuoso+ODS instance as an X.509 Certificate Authority and HTTPS listener]] \n * [[http://ods.openlinksw.com/wiki/ODS/VirtODSSecurityWebID][WebID Protocol Support in OpenLink Data Spaces]].\n * Manage ODS Datadspaces Objects WebID Access Control Lists (ACLs):\n * [[http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebID][ODS Briefcase WebID based ACL Guide]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDPerson][Person Entity WebID based ACL Guide]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDGroup][Group Entity WebID based ACL Guide]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDPublic][Public WebID based ACL Guide]] \n * [[http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACL][ODS Feed Manager WebID based ACL Guide]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACLPerson][Person Entity Specific ACL]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACLGroup][Group Entity Specific ACL]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSFeedManagerWebIDACLPublic][Public Specific ACL for anyone with a WebID]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACL][ODS Calendar WebID based ACL Guide]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACLPerson][Person Entity Specific ACL]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACLGroup][Group Entity Specific ACL]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSCalendarWebIDACLPublic][Public Specific ACL for anyone with a WebID]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACL][ODS Bookmark Manager WebID based ACL Guide]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACLPerson][Person Entity Specific ACL]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACLGroup][Group Entity Specific ACL]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSBookmarksWebIDACLPublic][Public Specific ACL for anyone with a WebID]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACL][ODS Addressbook WebID based ACL Guide]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACLPerson][Person Entity Specific ACL]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACLGroup][Group Entity Specific ACL]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSAddressBookWebIDACLPublic][Public Specific ACL for anyone with a WebID]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSPkiSetup][Guide for Set up a X.509 certificate issuer and HTTPS listener and generate ODS user certificates.]]\n * [[http://ods.openlinksw.com/wiki/ODS/VirtODSPubSubHub][Setting up PubSubHub in ODS]]\n * [[http://ods.openlinksw.com/wiki/ODS/VirtPubSubHub][PubSubHubBub Demo Client Example]]\n * [[http://ods.openlinksw.com/wiki/ODS/VirtFeedPubSubHub][Feed subscription via PubSubHub protocol Example ]]\n * [[http://ods.openlinksw.com/wiki/ODS/VirtPubSubHubACL][Setting Up PubSubHub to use WebID Protocol or IP based control lists]]\n * [[http://ods.openlinksw.com/wiki/ODS/OdsKeyImport][CA Keys Import using Conductor]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSGenerateX509Certificate][Generate an X.509 Certificate hosted WebID Guide]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSGenerateWebIDX509CertOSKeystore][Generate an X.509 Certificate (with a WebID watermark) to be managed by host operating system keystore]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSGenerateWebIDX509CertBrsKeystore][Generate an X.509 Certificate (with a WebID watermark) to be managed by a browser-based keystore]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSWebIDIdP][Using Virtuoso's WebID Verification Proxy Service with a WebID-bearing X.509 certificate]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSWebIDIdpProxy][Using Virtuoso's WebID Identity Provider (IdP) Proxy Service with an X.509 certificate]]\n * [[http://ods.openlinksw.com/wiki/ODS/ODSBriefcaseWebIDShareFile][ODS Briefcase WebID Protocol Share File Guide]]\n * [[http://esw.w3.org/topic/foaf+ssl][WebID Protocol Specification]]\n * [[https://foaf.me/simpleLogin.php][Test WebID Protocol Certificate page]]\n * [[http://test.foafssl.org/cert/][WebID Protocol Certificate Generation page]]" . . . . . . . . . . . . . . . . . . "VirtWebIDCurlExample2" . . . . . . . . "2017-06-13T05:39:18.701065"^^ . . . "VirtWebIDCurlExample2" . . . "2017-06-13T05:39:18.701065"^^ . . . . "VirtWebIDCurlExample2" . . . . . . . . . . . . . "2017-06-13T05:39:18Z" . . . . . . . . . . . .