CINXE.COM

<!DOCTYPE html><html lang="en" dir="ltr"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=yes"><link rel="stylesheet" href="css/style.min.73820d2910b0c2cb2497.css"><link id="favicon" rel="shortcut icon"><script src="js/shim.min.ce7dc42b2f743fc3020c.js"></script><style id="MJX-CHTML-styles">/* placeholder for MathJax */</style></head><body><div class="wikibase-queryservice container-fluid"><div class="row"><nav class="navbar navbar-default"><div class="navbar-header"><button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#header-navbar-collapse" aria-expanded="false"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><div class="navbar-brand"><a href="./"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACwAAAAAAQABAAA="><span></span></a></div></div><div class="collapse navbar-collapse in" id="header-navbar-collapse"><ul class="nav navbar-nav navbar-left" id="left-navbar"><li><button type="button" class="btn navbar-btn btn-default" id="open-example" data-toggle="modal" data-target="#QueryExamples"><span class="fa fa-folder-open-o"></span> <span data-i18n="wdqs-app-button-examples" id="examples-label"></span></button></li><li class="dropdown"><div class="btn-group navbar-btn" id="query-builder-dd"><a target="_blank" href="https://query.wikidata.org/querybuilder/" class="btn btn-default dropdown-toggle query-builder-toggle" id="query-builder-toggle"><span data-i18n="wdqs-app-query-builder-name" id="query-builder-label"></span></a><div class="dropdown-menu query-builder"><strong><p data-i18n="wdqs-app-query-builder-dd-title"></p></strong><p data-i18n="wdqs-app-query-builder-dd-copy"></p><a class="query-builder-toggle" target="_blank" href="https://query.wikidata.org/querybuilder/"><img src="./wikibase/queryService/ui/304px_querybuilder_final.gif"></a></div></div></li><li class="dropdown"><div class="btn-group navbar-btn"><a href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:SPARQL_query_service/Wikidata_Query_Help" target="_blank" class="btn btn-default"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span> <span data-i18n="wdqs-app-button-help" id="help-label"></span> </a><button data-toggle="dropdown" class="btn btn-default dropdown-toggle" id="help-toggle"><span class="caret"></span></button><ul class="dropdown-menu"><li><a target="_blank" rel="noopener" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:SPARQL_query_service/Wikidata_Query_Help" data-i18n="wdqs-app-help-portal"></a></li><li><a target="_blank" rel="noopener" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Wikidata_Query_Service/User_Manual" data-i18n="wdqs-app-help-manual"></a></li><li><a target="_blank" rel="noopener" id="examples-link" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:SPARQL_query_service/queries/examples" data-i18n="wdqs-app-help-examples"></a></li><li role="separator" class="divider"></li><li><a target="_blank" rel="noopener" href="https://www.w3.org/TR/sparql11-query/">SPARQL</a></li><li><a target="_blank" rel="noopener" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Wikibase/Indexing/RDF_Dump_Format" data-i18n="wdqs-app-help-datamodel"></a></li><li><a target="_blank" rel="noopener" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Wikibase/Indexing/RDF_Dump_Format#Full_list_of_prefixes" data-i18n="wdqs-app-help-prefixes"></a></li><li role="separator" class="divider"></li><li><a target="_blank" rel="noopener" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:Request_a_query" data-i18n="wdqs-app-help-request-query"></a></li><li><a target="_blank" rel="noopener" href="https://www.mediawiki.org/w/index.php?title=Talk:Wikidata_Query_Service&action=edit&section=new" data-i18n="wdqs-app-help-feedback"></a></li><li><a target="_blank" rel="noopener" id="copyright-link" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:SPARQL_query_service/Copyright" data-i18n="wdqs-app-help-copy"></a></li></ul></div></li><li class="dropdown"><div class="btn-group navbar-btn"><a href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:Tools" target="_blank" class="btn btn-default"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span> <span data-i18n="wdqs-app-button-more-tools" id="tools-label"></span> </a><button data-toggle="dropdown" class="btn btn-default dropdown-toggle" id="tools-toggle"><span class="caret"></span></button><ul class="dropdown-menu"><li><a target="_blank" rel="noopener" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:Tools/Edit_items" data-i18n="wdqs-app-tools-edit-items"></a></li><li><a target="_blank" rel="noopener" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:Tools/Query_data" data-i18n="wdqs-app-tools-query-data"></a></li><li><a target="_blank" rel="noopener" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:Tools/Enhance_user_interface" data-i18n="wdqs-app-tools-enhance-ui"></a></li><li><a target="_blank" rel="noopener" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:Tools/Visualize_data" data-i18n="wdqs-app-tools-visualize-data"></a></li><li><a target="_blank" rel="noopener" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:List_of_properties" data-i18n="wdqs-app-tools-list-properties"></a></li><li><a target="_blank" rel="noopener" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:Tools/Lexicographical_data" data-i18n="wdqs-app-tools-lexicographical-data"></a></li><li><a target="_blank" rel="noopener" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:Tools/For_programmers" data-i18n="wdqs-app-tools-for-programmers"></a></li><li role="separator" class="divider"></li><li><a target="_blank" rel="noopener" href="https://tools.wmflabs.org/hay/directory/#/search/wikidata">Wikimedia Toolforge</a></li></ul></div></li></ul><ul class="nav navbar-nav navbar-right" id="right-navbar"><li><a href="#" class="uls-trigger" id="language-toggle" data-toggle="tooltip"></a></li></ul></div></nav><div id="query-box"><form id="query-form" action="https://query.wikidata.org/bigdata/namespace/wdq/sparql"><div class="query-main"><div class="toolbar"><div class="toolbar-top"><div><a href="#" class="btn query-helper-trigger" data-toggle="tooltip" data-placement="top" data-i18n="[title]wdqs-app-button-query-helper"><span class="fa fa-info-circle" aria-hidden="true"></span></a></div><div><a href="#" class="btn fullscreen-toggle" data-toggle="tooltip" data-placement="top" data-i18n="[title]wdqs-app-button-fullscreen-title"><span class="fa fa-arrows-alt" aria-hidden="true"></span></a></div><div class="dropdown"><a href="#" class="btn dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" data-i18n="[title]wdqs-app-button-prefixes"><span class="fa fa-thumb-tack" aria-hidden="true"></span><span class="caret"></span></a><ul class="dropdown-menu"><li><strong data-i18n="wdqs-app-button-prefixes"></strong></li><li role="separator" class="divider"></li><li><div class="namespace-shortcuts"></div></li><li role="separator" class="divider"></li><li><a class="addPrefixes" data-i18n="wdqs-app-editor-addprefixes"></a></li></ul></div><div><a href="#" class="btn" id="format-button" data-toggle="tooltip" data-placement="top" data-i18n="[title]wdqs-app-button-format-title"><span class="fa fa-diamond" aria-hidden="true"></span></a></div><div><a href="#" class="btn" data-i18n="[title]wdqs-app-button-examples" data-toggle="modal" data-target="#QueryExamples"><span class="fa fa-folder-open-o" aria-hidden="true"></span></a></div><div><a href="#" class="btn restore" id="restore-button" data-toggle="tooltip" data-placement="top" data-i18n="[title]wdqs-app-button-restore-title"><span class="fa fa-history" aria-hidden="true"></span></a></div><div><a href="#" class="btn" id="clear-button" data-toggle="tooltip" data-placement="top" data-i18n="[title]wdqs-app-button-clear-title"><span class="fa fa-trash-o" aria-hidden="true"></span></a></div><div><a href="#" class="btn shareQuery shortUrlTrigger query" target="_blank" data-i18n="[title]wdqs-app-shorturl-page-title" data-toggle="popover"><span class="fa fa-link" aria-hidden="true"></span></a></div></div><div class="toolbar-bottom"><button type="submit" class="btn btn-info" id="execute-button" data-toggle="tooltip" data-placement="top" data-i18n="[title]wdqs-app-button-run-title"><span class="fa fa-play" aria-hidden="true"></span></button></div></div><div class="query-helper-and-editor"><div class="query-helper query-helper-hidden"><div class="panel panel-info"><div class="panel-heading"><strong data-i18n="wdqs-app-help-queryhelper"></strong> <a target="_blank" rel="noopener" id="query-helper-help" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:SPARQL_query_service/Query_Helper"><span class="glyphicon glyphicon-question-sign"></span></a> <button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button></div><div class="panel-body"></div></div></div><div class="splitter"></div><div class="query-editor-container" dir="ltr"><textarea class="queryEditor" name="query" data-i18n="[placeholder]wdqs-app-editor-placeholder" placeholder="(Input a SPARQL query or choose a query example)"></textarea></div></div></div><div class="navbar navbar-default query-helper-tag-cloud query-helper-hidden"></div><div class="status navbar navbar-default toolbar"><div class="navbar-right"><span class="dataUpdated"></span></div></div></form></div></div><noscript><div class="row action-bar" style="display: block"><div class="message"><div class="label label-warning">For interactive query editing, a localized user interface, and other improvements, please enable JavaScript or use a browser that supports it.</div></div></div></noscript><div class="row"><nav class="navbar navbar-default result"><ul class="nav navbar-nav navbar-left"><li><a id="display-button" href="#" data-toggle="dropdown" class="dropdown-toggle" data-placement="top" data-i18n="[title]wdqs-app-button-display-title"><span id="display-button-icon" class="glyphicon glyphicon-eye-open" aria-hidden="true"></span><span id="display-button-label"></span><span class="caret"></span></a><ul id="result-browser-menu" class="dropdown-menu" role="menu"></ul></li><li></li><li><a target="_blank" class="help" rel="noopener" href="https://www.wikidata.org/wiki/Special:MyLanguage/Wikidata:SPARQL_query_service/Wikidata_Query_Help/Result_Views"><span class="fa fa-question-circle"></span></a></li></ul><ul class="nav navbar-nav navbar-right"><li class="navbar-text"><span class="query-total"><span class="label label-default" id="response-summary"></span> </span>&nbsp;</li><li><a class="btn" data-toggle="modal" data-target="#CodeExamples" data-i18n="[title]wdqs-app-button-code-title"><span class="fa fa-code"></span> <span data-i18n="wdqs-app-button-code"></span></a></li><li><a id="download-button" href="#" data-toggle="dropdown" class="dropdown-toggle" data-placement="top" data-i18n="[title]wdqs-app-button-download-title"><span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span><span data-i18n="wdqs-app-button-download"></span><span class="caret"></span></a><ul class="dropdown-menu" role="menu"><li><a id="downloadJSON" href="#"><span class="fa fa-file-code-o" aria-hidden="true"></span> <span data-i18n="wdqs-app-result-json"></span></a></li><li><a id="downloadFull-JSON" href="#"><span class="fa fa-file-code-o" aria-hidden="true"></span> <span data-i18n="wdqs-app-result-json-verbose"></span></a></li><li role="separator" class="divider"></li><li><a id="downloadSimple-TSV" href="#"><span class="fa fa-file-excel-o" aria-hidden="true"></span> <span data-i18n="wdqs-app-result-tsv"></span></a></li><li><a id="downloadTSV" href="#"><span class="fa fa-file-excel-o" aria-hidden="true"></span> <span data-i18n="wdqs-app-result-tsv-verbose"></span></a></li><li role="separator" class="divider"></li><li><a id="downloadCSV" href="#"><span class="fa fa-file-excel-o" aria-hidden="true"></span> <span data-i18n="wdqs-app-result-csv"></span></a></li><li role="separator" class="divider"></li><li><a id="downloadHTML" href="#"><span class="fa fa-file-code-o" aria-hidden="true"></span> <span data-i18n="wdqs-app-result-html"></span></a></li><li role="separator" class="divider"></li><li><a id="downloadSVG" href="#"><span class="fa fa-file-image-o" aria-hidden="true"></span> <span data-i18n="wdqs-app-result-svg"></span></a></li></ul></li><li><a id="link-button" href="#" data-toggle="dropdown" class="dropdown-toggle" aria-haspopup="true" aria-expanded="false" data-placement="top" data-i18n="[title]wdqs-app-button-link-title"><span class="glyphicon glyphicon-link" aria-hidden="true"></span><span data-i18n="wdqs-app-button-link"></span><span class="caret"></span></a><ul class="dropdown-menu"><li><a href="#" class="shortUrlTrigger result" target="_blank" data-i18n="[title]wdqs-app-result-shorturl-title" data-toggle="popover"><span data-i18n="wdqs-app-result-shorturl"></span></a></li><li><a target="_blank" class="queryUri" data-i18n="[title]wdqs-app-result-endpoint-title"><span data-i18n="wdqs-app-result-endpoint"></span></a></li><li><a href="#" class="embed result" target="_blank" data-toggle="popover" data-i18n="wdqs-app-result-embed"></a></li></ul></li></ul></nav></div><div class="row action-bar"><div class="message"></div></div><div class="row"><div id="query-result">Test result</div></div><div class="row"><div id="query-error" class="panel-heading"></div></div><div class="row"><div id="empty-query-error" class="text-center"><p data-i18n="wdqs-action-empty-query"></p><button type="button" class="btn navbar-btn btn-default" id="open-example" data-toggle="modal" data-target="#QueryExamples"><span class="fa fa-folder-open-o"></span> <span data-i18n="wdqs-app-button-examples" id="examples-label"></span></button></div></div><div class="row"><div id="loading-spinner"><i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i> <span class="sr-only">Loading...</span></div></div><div id="explorer-dialogs"><div class="explorer-dialog"><div data-role="header" class="modal-header clearfix explorer-header"><h3 data-role="title" class="modal-title pull-left explorer-title">Explorer</h3><button data-role="close" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button></div><div data-role="body" class="explorer-body"></div></div></div></div><div class="modal fade QueryExamples" id="QueryExamples" tabindex="-1" role="dialog" aria-labelledby="QueryExamplesModalLabel"><div class="modal-dialog modal-lg" role="document"><div class="modal-content"><div class="modal-body"><div class="tagCloud"></div><div class="tagFilter"></div><div class="input-group"><span class="input-group-addon"><span class="glyphicon glyphicon-filter" aria-hidden="true"></span></span> <input type="text" class="tableFilter form-control" placeholder="Type to filter"> <span class="input-group-addon"><span class="badge count"></span></span></div><div class="exampleTable"><table class="table"><tbody class="searchable"></tbody></table></div></div></div></div></div><div class="modal" id="keyboardShortcutHelpModal" tabindex="-1" role="dialog" aria-labelledby="keyboardShortcutHelpModalLabel" aria-hidden="true"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><h5 class="modal-title" id="keyboardShortcutHelpModalLabel" data-i18n="wdqs-dialog-key-shortcut-title"></h5></div><div class="modal-body"><table class="keyboard-shortcut-help"><tbody><tr><th scope="row"><kbd><kbd>ctrl</kbd>+<kbd>enter</kbd></kbd></th><td data-i18n="wdqs-dialog-key-shortcut-run-query"></td></tr><tr><th scope="row"><kbd>esc</kbd></th><td data-i18n="wdqs-dialog-key-shortcut-esc"></td></tr><tr><th scope="row"><kbd>?</kbd></th><td data-i18n="wdqs-dialog-key-shortcut-show-shortcut-help"></td></tr><tr><th scope="row"><kbd>i</kbd></th><td data-i18n="wdqs-dialog-key-shortcut-focus-textarea"></td></tr><tr><th scope="row"><kbd>r</kbd></th><td data-i18n="wdqs-dialog-key-shortcut-jump-to-result"></td></tr><tr><th scope="row"><kbd>f</kbd></th><td data-i18n="wdqs-dialog-key-shortcut-focus-filter"></td></tr><tr><th scope="row"><kbd>s</kbd></th><td data-i18n="wdqs-dialog-key-shortcut-focus-show"></td></tr><tr><th scope="row"><kbd>m</kbd></th><td data-i18n="wdqs-dialog-key-shortcut-focus-limit"></td></tr><tr><th scope="row"><kbd>e</kbd></th><td data-i18n="wdqs-dialog-key-shortcut-show-example"></td></tr><tr><th scope="row"><kbd>h</kbd></th><td data-i18n="wdqs-dialog-key-shortcut-help-menu"></td></tr><tr><th scope="row"><kbd>l</kbd></th><td data-i18n="wdqs-dialog-key-shortcut-show-language"></td></tr></tbody></table></div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal" data-i18n="wdqs-dialog-key-shortcut-close-button"></button></div></div></div></div><div class="modal fade CodeExamples" id="CodeExamples" tabindex="-1" role="dialog" aria-labelledby="CodeExamplesModalLabel"><div class="modal-dialog modal-lg" role="document"><div class="modal-content"><div class="modal-body"><div><ul class="nav nav-tabs" role="tablist"></ul><div class="tab-content"></div></div></div></div></div></div><script src="js/vendor.min.9112db7ad5252e4b31b3.js"></script><script src="js/wdqs.min.8e66c584df177793392e.js"></script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10