Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
TEST 4
by
SR5
This query is marked as a draft
This query has been published
by
SR5
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT CONCAT("Q",ips_item_id), CONCAT("Lar"), CONCAT('"',ips_site_page,'"') FROM wb_items_per_site WHERE ips_site_id='arwiki' { ?article schema:about ?item. ?article schema:isPartOf <https://ar.wikipedia.org/>. ?article schema:name ?sitelink. ?item rdfs:label ?label. ?item wdt:P31 wd:Q27020041. FILTER((LANG(?label)) = "ar") FILTER(?sitelink != ?label) FILTER("false"^^xsd:boolean = (CONTAINS(?sitelink, ")"))) }`, fullUrl = endpointUrl + '?query=' + encodeURIComponent( sparqlQuery ), headers = { 'Accept': 'application/sparql-results+json' }; fetch( fullUrl, { headers } ).then( body => body.json() ).then( json => { const { head: { vars }, results } = json; for ( const result of results.bindings ) { for ( const variable of vars ) { console.log( '%s: %o', variable, result[variable] ); } console.log( '---' ); } } );
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...