At Wikimédia France, we are working on a second MOOC about Wikidata, this new one dedicated to SPARQL queries. We would like to embed the Query Builder in an iframe, so learners will not have to go back and forth the training website and the Query Builder.
At the moment, the Wikidata Query Builder returns an HTTP header x-frame-options with the value SAMEORIGIN. This prevents the page to be embedded in an iframe if the page with the iframe is not on wikidata.org. This header should be removed so other websites could embed the Query Builder.
Sample web page that should work:
<html> <head> </head> <body> <iframe src="https://query.wikidata.org/querybuilder/" width="800" height="600"></iframe> </body> </html>
Note that this is only about the Query Builder. The main page of the Wikidata Query Service does not have this limitation and can already be embedded in an iframe.