org.eclipse.rdf4j.repository.RepositoryException: Failed to get server protocol; no such resource on this server: http://factforge.net/sparql?queryLn=SPARQL&query=Select+distinct+%3Fairport+where+%7B%3Fairport+a+dbp-ont%3AAirport%7D+LIMIT+2&infer=true

  1. 0

    GraphDB sparql endpoint unavailable via sesame / rdf4j SPARQLRepository interface

    Stack Overflow | 3 months ago | Riccardo Santoro
    org.eclipse.rdf4j.repository.RepositoryException: Failed to get server protocol; no such resource on this server: http://factforge.net/sparql?queryLn=SPARQL&query=Select+distinct+%3Fairport+where+%7B%3Fairport+a+dbp-ont%3AAirport%7D+LIMIT+2&infer=true

    Root Cause Analysis

    1. org.eclipse.rdf4j.repository.RepositoryException

      Failed to get server protocol; no such resource on this server: http://factforge.net/sparql?queryLn=SPARQL&query=Select+distinct+%3Fairport+where+%7B%3Fairport+a+dbp-ont%3AAirport%7D+LIMIT+2&infer=true

      at org.eclipse.rdf4j.http.client.SparqlSession.executeOK()
    2. org.eclipse.rdf4j
      SPARQLTupleQuery.evaluate
      1. org.eclipse.rdf4j.http.client.SparqlSession.executeOK(SparqlSession.java:1023)
      2. org.eclipse.rdf4j.http.client.SparqlSession.sendTupleQueryViaHttp(SparqlSession.java:787)
      3. org.eclipse.rdf4j.http.client.SparqlSession.getBackgroundTupleQueryResult(SparqlSession.java:684)
      4. org.eclipse.rdf4j.http.client.SparqlSession.sendTupleQuery(SparqlSession.java:341)
      5. org.eclipse.rdf4j.repository.sparql.query.SPARQLTupleQuery.evaluate(SPARQLTupleQuery.java:43)
      5 frames