Skip to content

Federating the SPARQL across multiple services #24

@nkiranrao

Description

@nkiranrao

I am unable to get the federation working, i have posted my issue in stack-overflow here

can someone help me understand if its possible to construct the shape by linking to entities outside in another SPARQL endpoint. and why do I get the following error:

java.util.concurrent.ExecutionException: HttpException: 400 HTTP 400 error making the query:
 Parse error:  SELECT  * WHERE   { VALUES ?x_2 { <http://localhost:7002/resource/CUSTOMERS/11> }     OPTIONAL       { ?x_2    <http://localhost:7002/resource/vocab/CUSTOMERS_SUPPORTREPID>  ?x_2_1 .         ?x_2_1  a                     <http://localhost:7003/resource/vocab/EMPLOYEES>         OPTIONAL           { ?x_2_1  <http://localhost:7003/resource/vocab/EMPLOYEES_FIRSTNAME>  ?x_2_1_1 }       }   }   
Lexical error at line 3, column 11.  Encountered: " " (32), after : "VALUES"
            at java.util.concurrent.FutureTask.report(Unknown Source)
            at java.util.concurrent.FutureTask.get(Unknown Source)
            at org.hypergraphql.datafetching.services.SPARQLEndpointService.iterateFutureResults(SPARQLEndpointService.java:86)
            at org.hypergraphql.datafetching.services.SPARQLEndpointService.executeQuery(SPARQLEndpointService.java:69)
            at org.hypergraphql.datafetching.ExecutionTreeNode.generateTreeModel(ExecutionTreeNode.java:357)
            at org.hypergraphql.datafetching.FetchingExecution.call(FetchingExecution.java:21)
            at org.hypergraphql.datafetching.FetchingExecution.call(FetchingExecution.java:8)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions