Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
SR5
.
Toggle Highlighting
SQL
function makeSPARQLQuery( endpointUrl, sparqlQuery, doneCallback ) { var settings = { headers: { Accept: 'application/sparql-results+json' }, data: { query: sparqlQuery } }; return $.ajax( endpointUrl, settings ).then( doneCallback ); } var endpointUrl = 'https://query.wikidata.org/sparql', sparqlQuery = "SELECT DISTINCT ?item ?label ?sitelink WHERE {\n" + " ?article schema:about ?item;\n" + " schema:isPartOf <https://ar.wikipedia.org/>;\n" + " schema:name ?sitelink.\n" + " ?item rdfs:label ?label.\n" + " FILTER((LANG(?label)) = \"ar\")\n" + " FILTER(?sitelink != ?label)\n" + "}\n" + "LIMIT 444"; makeSPARQLQuery( endpointUrl, sparqlQuery, function( data ) { $( 'body' ).append( $( '<pre>' ).text( JSON.stringify( data ) ) ); console.log( data ); } );
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...