org.trippi.TrippiException: Unsupported triple query language: sparql

Sakai JIRA | Ben O'Steen | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Issuing a SPARQL query for a CONSTRUCT results in an empty response from the tuple query type service and a Exception is thrown when attempting to use the triples query service: (Via Tuples:) e.g. http://databank.ouls.ox.ac.uk:8080/fedora/risearch?lang=sparql&format=sparql&type=tuples&query=construct%20{%20?x%20dc:title%20?name%20}%20WHERE%20{%20?x%20dc:title%20?name%20} SPARQL query: CONSTRUCT { ?x dc:title ?title } WHERE { ?x dc:title ?title } [' make a graph of all triples with dc:title as a predicate.'] Response: <?xml version="1.0" encoding="UTF-8"?> <sparql xmlns="http://www.w3.org/2001/sw/DataAccess/rf1/result"> <head> <variable name="subject"/> <variable name="predicate"/> <variable name="object"/> </head> <results> </results> </sparql> (regardless to how many dc:title triples are there: e.g. an spo query to pull up 10 dc:title matches - http://databank.ouls.ox.ac.uk:8080/fedora/risearch?lang=spo&format=RDF/XML&type=triples&limit=10&query=*%20%3Cdc:title%3E%20* ) (Via Triples:) http://databank.ouls.ox.ac.uk:8080/fedora/risearch?lang=sparql&format=sparql&type=triples&query=construct%20{%20?x%20dc:title%20?name%20}%20WHERE%20{%20?x%20dc:title%20?name%20} org.trippi.TrippiException: Unsupported triple query language: sparql at org.trippi.impl.mulgara.MulgaraSession.findTriples(MulgaraSession.java:94) at org.trippi.impl.base.ConcurrentTriplestoreReader.findTriples(ConcurrentTriplestoreReader.java:145) at fedora.server.resourceIndex.ResourceIndexImpl.findTriples(ResourceIndexImpl.java:300) at fedora.server.resourceIndex.ResourceIndexModule.findTriples(ResourceIndexModule.java:317) at org.trippi.server.TrippiServer.find(TrippiServer.java:132) at org.trippi.server.http.TrippiServlet.doFind(TrippiServlet.java:512) at org.trippi.server.http.TrippiServlet.doGet(TrippiServlet.java:377) at fedora.server.access.RISearchServlet.doGet(RISearchServlet.java:99) at org.trippi.server.http.TrippiServlet.doGet(TrippiServlet.java:269) at org.trippi.server.http.TrippiServlet.doPost(TrippiServlet.java:572) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetup.java:235) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetup.java:235) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetup.java:235) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619)

    Sakai JIRA | 8 years ago | Ben O'Steen
    org.trippi.TrippiException: Unsupported triple query language: sparql
  2. 0

    Issuing a SPARQL query for a CONSTRUCT results in an empty response from the tuple query type service and a Exception is thrown when attempting to use the triples query service: (Via Tuples:) e.g. http://databank.ouls.ox.ac.uk:8080/fedora/risearch?lang=sparql&format=sparql&type=tuples&query=construct%20{%20?x%20dc:title%20?name%20}%20WHERE%20{%20?x%20dc:title%20?name%20} SPARQL query: CONSTRUCT { ?x dc:title ?title } WHERE { ?x dc:title ?title } [' make a graph of all triples with dc:title as a predicate.'] Response: <?xml version="1.0" encoding="UTF-8"?> <sparql xmlns="http://www.w3.org/2001/sw/DataAccess/rf1/result"> <head> <variable name="subject"/> <variable name="predicate"/> <variable name="object"/> </head> <results> </results> </sparql> (regardless to how many dc:title triples are there: e.g. an spo query to pull up 10 dc:title matches - http://databank.ouls.ox.ac.uk:8080/fedora/risearch?lang=spo&format=RDF/XML&type=triples&limit=10&query=*%20%3Cdc:title%3E%20* ) (Via Triples:) http://databank.ouls.ox.ac.uk:8080/fedora/risearch?lang=sparql&format=sparql&type=triples&query=construct%20{%20?x%20dc:title%20?name%20}%20WHERE%20{%20?x%20dc:title%20?name%20} org.trippi.TrippiException: Unsupported triple query language: sparql at org.trippi.impl.mulgara.MulgaraSession.findTriples(MulgaraSession.java:94) at org.trippi.impl.base.ConcurrentTriplestoreReader.findTriples(ConcurrentTriplestoreReader.java:145) at fedora.server.resourceIndex.ResourceIndexImpl.findTriples(ResourceIndexImpl.java:300) at fedora.server.resourceIndex.ResourceIndexModule.findTriples(ResourceIndexModule.java:317) at org.trippi.server.TrippiServer.find(TrippiServer.java:132) at org.trippi.server.http.TrippiServlet.doFind(TrippiServlet.java:512) at org.trippi.server.http.TrippiServlet.doGet(TrippiServlet.java:377) at fedora.server.access.RISearchServlet.doGet(RISearchServlet.java:99) at org.trippi.server.http.TrippiServlet.doGet(TrippiServlet.java:269) at org.trippi.server.http.TrippiServlet.doPost(TrippiServlet.java:572) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetup.java:235) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetup.java:235) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetup.java:235) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619)

    Sakai JIRA | 8 years ago | Ben O'Steen
    org.trippi.TrippiException: Unsupported triple query language: sparql

    Root Cause Analysis

    1. org.trippi.TrippiException

      Unsupported triple query language: sparql

      at org.trippi.impl.mulgara.MulgaraSession.findTriples()
    2. org.trippi.impl
      ConcurrentTriplestoreReader.findTriples
      1. org.trippi.impl.mulgara.MulgaraSession.findTriples(MulgaraSession.java:94)
      2. org.trippi.impl.base.ConcurrentTriplestoreReader.findTriples(ConcurrentTriplestoreReader.java:145)
      2 frames
    3. fedora.server.resourceIndex
      ResourceIndexModule.findTriples
      1. fedora.server.resourceIndex.ResourceIndexImpl.findTriples(ResourceIndexImpl.java:300)
      2. fedora.server.resourceIndex.ResourceIndexModule.findTriples(ResourceIndexModule.java:317)
      2 frames
    4. org.trippi.server
      TrippiServlet.doGet
      1. org.trippi.server.TrippiServer.find(TrippiServer.java:132)
      2. org.trippi.server.http.TrippiServlet.doFind(TrippiServlet.java:512)
      3. org.trippi.server.http.TrippiServlet.doGet(TrippiServlet.java:377)
      3 frames
    5. fedora.server.access
      RISearchServlet.doGet
      1. fedora.server.access.RISearchServlet.doGet(RISearchServlet.java:99)
      1 frame
    6. org.trippi.server
      TrippiServlet.doPost
      1. org.trippi.server.http.TrippiServlet.doGet(TrippiServlet.java:269)
      2. org.trippi.server.http.TrippiServlet.doPost(TrippiServlet.java:572)
      2 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2 frames
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames
    9. fedora.server.security
      FilterSetup.doFilter
      1. fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetup.java:235)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames
    11. fedora.server.security
      FilterSetup.doFilter
      1. fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetup.java:235)
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames
    13. fedora.server.security
      FilterSetup.doFilter
      1. fedora.server.security.servletfilters.FilterSetup.doFilter(FilterSetup.java:235)
      1 frame
    14. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      9 frames
    15. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    16. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      1 frame
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame