rete
playground
Construct
The kitchen and the walls that enclose it (graph)
Subject
Predicate
Object
16DNNqzfP2thtfaOflvsKA
label
Wand-Ext-ERDG-4 @en
17JZcMFrf5tOftUTidA0d3
label
Küche @en
17JZcMFrf5tOftUTidA0d3
enclosedBy
16DNNqzfP2thtfaOflvsKA
17JZcMFrf5tOftUTidA0d3
enclosedBy
1_wmdwWPjDYuku_ghVkynE
Run this query →
no server · no download · no account
caviri.github.io/rete
Run this query in the playground →
7 triples · 27 ms · no server, no download — the query runs in your browser.
The query
PREFIX cad: <https://w3id.org/rete/cad#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> CONSTRUCT { ?k cad:enclosedBy ?e . ?k rdfs:label ?room . ?e rdfs:label ?wall . } WHERE { ?k rdfs:label "Küche"@en , ?room . ?e cad:boundsSpace ?k ; cad:ifcClass "IfcWallStandardCase" ; rdfs:label ?wall . }
rete playground
·
documentation
·
github.com/caviri/rete