Shortcuts: WD:WDQ, WD:WDQS, WD:SPARQL

维基数据:SPARQL查询服务

From Wikidata
Jump to navigation Jump to search
This page is a translated version of the page Wikidata:SPARQL query service and the translation is 71% complete.
Outdated translations are marked like this.

什么是SPARQL

SPARQL(发音为sparkle)是一种RDF查询语言,即数据库的语义查询语言。自2015年9月起,维基数据提供了一个包含强大Web-GUI的SPARQL端点。使用SPARQL,您可以提取任何类型的数据,查询由三元组的逻辑组合组成。

学习SPARQL

由shonagon-ÉcoledeBibliothécairesFocumentates(法语)撰写的“SPARQL和维基数据介绍”(2016-04-04)

帮助门户

其他材料

接口

可以发送GET请求到 https://query.wikidata.org/bigdata/namespace/wdq/sparql?query={SPARQL}(或端点别名https://query.wikidata.org/sparql?query={SPARQL})来直接向SPARQL端点提交SPARQL查询。结果默认以XML格式返回,提供查询参数format=jsonAccept: application/sparql-results+json可要求以JSON格式返回。进一步信息另见 用户手册。访问RDF数据也可通过https://query.wikidata.org/bigdata/ldf上的Linked Data Fragments[1]接口。

Wikimedia SPARQL query services

On Wikidata, the WDQS allows to practice SPARQL queries creation in an intuitive way.
用户友好界面 Machine's endpoint 描述
维基数据查询服务(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.
维基共享资源查询服务(WCQS) https://commons-query.wikimedia.org/sparql Run SPARQL Queries upon Wikimedia Commons wikibase.
LinguaLibre查詢服務(LLQS) https://lingualibre.org/sparql Run SPARQL Queries upon LinguaLibre's wikibase. Run, test, download the data as json, xml, csv or tsv.


状态

目前資源