Failed to start federated SPARQL query

My main problem: I have two computers A and B with Virtuoso, and I'm trying to execute a request from one computer to another. I created an RDF graph on machine A and ran a query on A to see locally stored data.

sparql SELECT ?a ?b ?c FROM <http://localhost:8890/test> OPTION (get:soft "soft", get:method "GET") WHERE {?a ?b ?c}; 

He returned the data correctly. I run the following query on machine B

 sparql SELECT ?a ?b ?c FROM <http://ipAddressOfA:8890/test> OPTION (get:soft "soft", get:method "GET") WHERE {?a ?b ?c}; 

I get a long pause and end up getting the following error
"HTCLI Error: [OpenLink] [Virtuoso ODBC Driver] [Virtuoso Server] HC001: Connection Error in the HTTP Client"
Should I configure permissions for another computer or something else? I'm sorry I'm new to this.

+1
source share
1 answer

You may have a problem choosing the graphic name http: // localhost: 8890 / test on your computer B.

Since the graph is not necessarily a valid Internet resource, you cannot simply exchange the local host with your ip address.

Example: you can also select a graphic name, for example <htw.my.own.graph> -> your graphic name does not apply to your ip address.

+1
source

Source: https://habr.com/ru/post/1340322/


All Articles