Published
Edited
Apr 14, 2021
1 fork
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
refresh = 0
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
test = false
Insert cell
Insert cell
Insert cell
Insert cell
Client.databases()
Insert cell
Client.databaseInfo('vvv')
Insert cell
{
const term = 'muscheln'
const doctype = 'scm:Material' // set to null to search across all doctypes
const res = await query(WOQL.and(
WOQL
.select('v:label', 'v:subject')
.limit(10)
.order_by('v:dist', 'desc')
.and(
WOQL.triple('v:subject', 'rdfs:label', 'v:label'),
WOQL.triple('v:subject', 'rdf:type', doctype || 'v:doctype'),
WOQL.like(term, 'v:label', 'v:dist')
)
))
return res.bindings
}
Insert cell
connect()
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