-
Notifications
You must be signed in to change notification settings - Fork 33
Node RED integration (SPARQL query)
Fady Salama edited this page Dec 8, 2021
·
1 revision
Description:
- Directory-based discovery (using SPARQL) and auto-population
Participant:
- Kunihiko Toumura (@k-toumura)
Activities:
Checked availability of Things and Directories Created UI for querying Directory from Node-RED Tested auto-population feature using participating Things
Current implementation uses following simple SPARQL query:
PREFIX td: <https://www.w3.org/2019/wot/td#>
PREFIX dc: <http://purl.org/dc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?id ?title ?desc
WHERE {
?id rdf:type td:Thing;
dc:title ?title;
dc:description ?desc.
FILTER(contains(?desc, "${query}")).
}
LIMIT 100
(${query} = input from Node-RED search UI)
Draft result report is here The slides used in Openday (Oct 11) can be found below: