Public
Edited
Jun 12, 2022
1 fork
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
url = wdk.searchEntities({
search: text,
format: 'json',
language: lang,
limit: 30,
continue: 10,
type: 'property'
})
Insert cell
output = fetch(url).then(d => d.json()).then(d => d.search)
Insert cell
WDK = require('https://bundle.run/wikibase-sdk@7.13.0')
Insert cell
wdk = WDK({
instance: 'https://www.wikidata.org',
sparqlEndpoint: 'https://query.wikidata.org/sparql'
})
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more