Rdrg109 created this task.
Rdrg109 added projects: Lingua Libre, Wikidata-Query-Service.

TASK DESCRIPTION
  **Feature summary** (what you would like to be able to do and where):
  
  LinguaLibre  (Q60024037 <https://www.wikidata.org/wiki/Q60024037>) has a 
SPARQL endpoint that can be used to query data from that project.
  
  The request is to add its SPARQL endpoint to the list of WDQS supported 
endpoints.
  
  The URL for the endpoint is 
https://lingualibre.org/bigdata/namespace/wdq/sparql
  
  **Use case(s)** (list the steps that you performed to discover that problem, 
and describe the actual underlying problem which you want to solve. Do not 
describe only a solution):
  
  I wrote the following minimal working example <https://w.wiki/4eDZ> and tried 
to run it in WDQS
  
    SELECT * {
      SERVICE <https://lingualibre.org/bigdata/namespace/wdq/sparql> {
        SELECT ?foo {
          VALUES ?foo {1 2 3}.
        }
      }
    }
  
  I got `Server error` with the following message
  
    SPARQL-QUERY: queryStr=SELECT * {
      SERVICE <https://lingualibre.org/bigdata/namespace/wdq/sparql> {
        SELECT ?foo {
          VALUES ?foo {1 2 3}.
        }
      }
    }
    java.util.concurrent.ExecutionException: 
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: 
Service URI https://lingualibre.org/bigdata/namespace/wdq/sparql is not allowed
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    
    (... 89 more lines ...)
  
  As you can see above, the following error is shown `Service URI 
https://lingualibre.org/bigdata/namespace/wdq/sparql is not allowed`. This 
happens because the SPARQL endpoint of LinguaLibre is not supported (therefore, 
it isn't listed in the SPARQL federation endpoints of WDQS 
<https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/SPARQL_Federation_endpoints>)
  
  **Benefits** (why should this be implemented?):
  
  - Wikidata contributors will be able to query LinguaLibre data from WDQS.
  - LinguaLibre contributors would be able to share LinguaLibre related SPARQL 
queries by the using WDQS URL shortener. As of the time of this writing, 
LinguaLibre doesn't have a query service yet, users can write queries in the 
default interface of Blazegraph Workbench (link 
<https://lingualibre.org/bigdata/#query>) and AFAIK Blazegraph Workbench 
doesn't provide a URL Shortener.

TASK DETAIL
  https://phabricator.wikimedia.org/T299241

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Rdrg109
Cc: Rdrg109, MPhamWMF, CBogen, Eihel, Namenlos314, Poslovitch, Gq86, 
Lucas_Werkmeister_WMDE, EBjune, merbst, Pamputt, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, Base, aude, Tobias1984, Manybubbles, Ltrlg
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to