reteplayground
Path

What is in contact with the heart (3D adjacency, cross-system)

NeighbourSystem
Anterior papillary muscle of…CardioVascular @en
Anterior semilunar leaflet of…CardioVascular @en
Arteries of heart @enCardioVascular @en
Ascending aorta @enCardioVascular @en
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 25 rows · 211 ms · 256.0 KB of 5.4 MB read over HTTP range · no server, no download — the query runs in your browser.

The query

PREFIX anat: <https://w3id.org/rete/anatomy#> PREFIX geo3: <https://w3id.org/rete/geo3#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?neighbour ?system WHERE { ?heart rdfs:label "Heart"@en . ?part anat:partOf ?heart . ?part geo3:adjacent3D ?n . ?n rdfs:label ?neighbour ; anat:inSystem/rdfs:label ?system . FILTER(langMatches(lang(?neighbour), "en") && NOT EXISTS { ?n anat:partOf ?heart }) } LIMIT 25

rete playground · documentation · github.com/caviri/rete