Repository contains all raw NEEM data files that were recorded from VR environment.
openEASEQueryVisualization.mp4
- What is the longest event that occurred?
findall([Duration, Evt],
( event_interval(Evt, Begin, End),
number(End),
Duration is End - Begin
),
Durations),
max_member([MaxDuration, LongestEvt], Durations).
- What was source container while pouring?
has_type(Tsk, 'http://www.ease-crc.org/ont/SOMA-ACT.owl#Pouring'),
executes_task(Act, Tsk), has_participant(Act, Obj),
has_type(Role, soma:'SourceContainer'), triple(Obj, dul:'hasRole', Role).
- What was destination container while pouring?
has_type(Tsk, 'http://www.ease-crc.org/ont/SOMA-ACT.owl#Pouring'),
executes_task(Act, Tsk), has_participant(Act, Obj),
has_type(Role, soma:'DestinationContainer'),
triple(Obj, dul:'hasRole', Role).
- How long pouring lasted?
has_type(Tsk, 'http://www.ease-crc.org/ont/SOMA-ACT.owl#Pouring'),
executes_task(Act, Tsk), event_interval(Act, Begin, End),
Duration is End - Begin.
- Which hands participated during pouring?
has_type(Tsk, 'http://www.ease-crc.org/ont/SOMA-ACT.owl#Pouring'),
executes_task(Act, Tsk), has_type(Hand, soma:'Hand'),
has_participant(Act,Hand).
- What motion was used for pouring?
has_type(Tsk, 'http://www.ease-crc.org/ont/SOMA-ACT.owl#Pouring'),
executes_task(Act, Tsk),
triple(Motion, 'http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#classifies', Act).
- What was maximum angle while pouring?
has_type(Tsk, 'http://www.ease-crc.org/ont/SOMA-ACT.owl#Pouring'),
executes_task(Act, Tsk), has_participant(Act, Obj),
has_type(Role, soma:'SourceContainer'),
triple(Obj, dul:'hasRole', Role),
triple(Obj, dul:'hasRegion', Region),
triple(Region, 'http://www.ease-crc.org/ont/SOMA-OBJ.owl#hasJointPositionMax', AngleMax).
- What was minimum angle while pouring?
has_type(Tsk, 'http://www.ease-crc.org/ont/SOMA-ACT.owl#Pouring'),
executes_task(Act, Tsk), has_participant(Act, Obj),
has_type(Role, soma:'SourceContainer'),
triple(Obj, dul:'hasRole', Role),
triple(Obj, dul:'hasRegion', Region),
triple(Region, 'http://www.ease-crc.org/ont/SOMA-OBJ.owl#hasJointPositionMin', AngleMin).
- Find pouring substance with its role and the quantity.
findall([Obj, Role],
( has_type(Tsk, 'http://www.ease-crc.org/ont/SOMA-ACT.owl#Pouring'),
executes_task(Act, Tsk), has_participant(Act, Obj),
has_type(Obj, dul:'Substance'), triple(Obj, dul:'hasRole', Role)
),
Objects), length(Objects, Quantity)