Викиданные:Сервис запросов SPARQL

This page is a translated version of the page Wikidata:SPARQL query service and the translation is 29% complete.
Outdated translations are marked like this.

Что такое SPARQL

SPARQL (произносится "спаркл") — это язык запросов RDF, то есть язык семантических запросов для баз данных. Викиданные предоставляют эндпойнт SPARQL, включая мощный веб-GUI, с сентября 2015. С помощью SPARQL вы можете извлечь любые виды данных, использовав запрос, составленный из логических комбинаций триплетов.

Изучение SPARQL

 
Презентация "SPARQL and Wikidata intro" by shonagon- École de Bibliothécaires Documentalistes (French) (2016-04-04)

Справочный портал

Other materials

Interfacing

SPARQL queries can be submitted directly to the SPARQL endpoint with GET request to https://query.wikidata.org/bigdata/namespace/wdq/sparql?query={SPARQL} or the endpoint's alias https://query.wikidata.org/sparql?query={SPARQL}. The result is returned as XML by default, or as JSON if either the query parameter format=json or the header Accept: application/sparql-results+json are provided. See the user manual for more detailed information. RDF data can alternatively be accessed via a Linked Data Fragments[1] interface at https://query.wikidata.org/bigdata/ldf.

Wikimedia SPARQL query services

On Wikidata, the WDQS allows to practice SPARQL queries creation in an intuitive way.
Human interface Machine's endpoint Description
Wikidata Query Service (WDQS) https://query.wikidata.org/sparql Run SPARQL Queries upon Wikidata's wikibase. Run, test, download the data as xml, json, csv or tsv. Has advanced user-friendly features such as : word hovering too see a term's meaning, code optimization, etc.
Wikimedia Commons Query Service (WCQS) https://commons-query.wikimedia.org/sparql Run SPARQL Queries upon Wikimedia Commons wikibase.
LinguaLibre Query Service (LLQS) https://lingualibre.org/sparql Run SPARQL Queries upon LinguaLibre's wikibase. Run, test, download the data as json, xml, csv or tsv.


Статистика

Further resources