Page MenuHomePhabricator

Add HAL SPARQL endpoint to Wikidata Query Service ?
Open, Needs TriagePublicFeature

Description

HAL is the French national online academic archives for academic papers and now has a SPARQL endpoint.

How should I proceed to make this SPARQL endpoint and Wikidata endpoint's federated ones, so I may run a SPARQL query and request data from both endpoints ?

Screenshot from 2023-06-19 08-06-36.png (843×1 px, 178 KB)

Issue:

HAL QS attempt

On HAL QS : http://sparql.archives-ouvertes.fr/sparql , running :

PREFIX wd: <http://www.wikidata.org/entity/>
# defaultEndpoint:Lingualibre or HAL
SELECT ?predicate ?object WHERE {
  SERVICE <https://query.wikidata.org/sparql> {
    # Given Q12107 language, get all properties and values
    wd:Q12107 ?predicate ?object .
  }
}

returns errors :

  • Status code: 500
  • Virtuoso 42000 Error SQ070:SECURITY: Must have select privileges on view DB.DBA.SPARQL_SINV_2

WDQS attempt

SELECT * WHERE {
  SERVICE <http://sparql.archives-ouvertes.fr/sparql> {
    ?s ?p ?o
  }
}

returns errors :

  • Status code: 500
  • Service URI http://sparql.archives-ouvertes.fr/sparql is not allowed

Feature summary (what you would like to be able to do and where):

Allow end point so WDQS could run the following request :

Benefits (why should this be implemented?):
Can provide more insight on French academic workd.
Could ease synchronization efforts, namely the import of HAL structure ID ( d:P6773 )

Event Timeline

Yug updated the task description. (Show Details)
Yug updated the task description. (Show Details)