event_description
stringlengths 29
112
| prolog_rule
stringlengths 74
619
|
---|---|
A vessel enters an area, starting the condition withinArea. | initiatedAt(withinArea(Vessel, AreaType)=true, T) :- happensAt(entersArea(Vessel, Area), T), areaType(Area, AreaType). |
A vessel leaves an area, ending the condition withinArea. | terminatedAt(withinArea(Vessel, AreaType)=true, T) :- happensAt(leavesArea(Vessel, Area), T), areaType(Area, AreaType). |
A vessel initiates a communication gap, ending the condition withinArea. | terminatedAt(withinArea(Vessel, _AreaType)=true, T) :- happensAt(gap_start(Vessel), T). |
A communication gap starts near ports for a vessel. | initiatedAt(gap(Vessel)=nearPorts, T) :- happensAt(gap_start(Vessel), T), holdsAt(withinArea(Vessel, nearPorts)=true, T). |
A communication gap starts far from ports for a vessel. | initiatedAt(gap(Vessel)=farFromPorts, T) :- happensAt(gap_start(Vessel), T), \+holdsAt(withinArea(Vessel, nearPorts)=true, T). |
A communication gap ends for a vessel. | terminatedAt(gap(Vessel)=_PortStatus, T) :- happensAt(gap_end(Vessel), T). |
A vessel stops near ports, starting the condition stopped. | initiatedAt(stopped(Vessel)=nearPorts, T) :- happensAt(stop_start(Vessel), T), holdsAt(withinArea(Vessel, nearPorts)=true, T). |
A vessel stops far from ports, starting the condition stopped. | initiatedAt(stopped(Vessel)=farFromPorts, T) :- happensAt(stop_start(Vessel), T), \+holdsAt(withinArea(Vessel, nearPorts)=true, T). |
A vessel resumes movement, ending the condition stopped. | terminatedAt(stopped(Vessel)=_Status, T) :- happensAt(stop_end(Vessel), T). |
A vessel initiates a communication gap, ending the condition stopped. | terminatedAt(stopped(Vessel)=_Status, T) :- happensAt(start(gap(Vessel)=_GapStatus), T). |
A vessel starts moving slowly. | initiatedAt(lowSpeed(Vessel)=true, T) :- happensAt(slow_motion_start(Vessel), T). |
A vessel stops moving slowly. | terminatedAt(lowSpeed(Vessel)=true, T) :- happensAt(slow_motion_end(Vessel), T). |
A vessel initiates a communication gap, ending the condition lowSpeed. | terminatedAt(lowSpeed(Vessel)=true, T) :- happensAt(start(gap(Vessel)=_Status), T). |
A vessel moves with high speed near the coast, starting the condition highSpeedNearCoast. | initiatedAt(highSpeedNearCoast(Vessel)=true, T) :- happensAt(velocity(Vessel, Speed, _, _), T), thresholds(hcNearCoastMax, HcNearCoastMax), \+ inRange(Speed, 0, HcNearCoastMax), holdsAt(withinArea(Vessel, nearCoast)=true, T). |
A vessel's high speed near the coast is within the limit, ending the condition highSpeedNearCoast. | terminatedAt(highSpeedNearCoast(Vessel)=true, T) :- happensAt(velocity(Vessel, Speed, _, _), T), thresholds(hcNearCoastMax, HcNearCoastMax), inRange(Speed, 0, HcNearCoastMax). |
A vessel's high speed near the coast ends, ending the condition highSpeedNearCoast. | terminatedAt(highSpeedNearCoast(Vessel)=true, T) :- happensAt(end(withinArea(Vessel, nearCoast)=true), T). |
A vessel moves below the normal speed, starting the condition movingSpeed=below. | initiatedAt(movingSpeed(Vessel)=below, T) :- happensAt(velocity(Vessel, Speed, _, _), T), vesselType(Vessel, Type), typeSpeed(Type, Min, _Max, _Avg), thresholds(movingMin, MovingMin), inRange(Speed, MovingMin, Min). |
A vessel moves at normal speed, starting the condition movingSpeed=normal. | initiatedAt(movingSpeed(Vessel)=normal, T) :- happensAt(velocity(Vessel, Speed, _, _), T), vesselType(Vessel, Type), typeSpeed(Type, Min, Max, _Avg), inRange(Speed, Min, Max). |
A vessel moves above the normal speed, starting the condition movingSpeed=above. | initiatedAt(movingSpeed(Vessel)=above, T) :- happensAt(velocity(Vessel, Speed, _,_), T), vesselType(Vessel, Type), typeSpeed(Type, _Min, Max,_Avg), inRange(Speed, Max, inf). |
A vessel's speed is not within the moving range, ending the condition movingSpeed. | terminatedAt(movingSpeed(Vessel)=_Status, T) :- happensAt(velocity(Vessel, Speed, _,_), T), thresholds(movingMin,MovingMin), \+inRange(Speed, MovingMin, inf). |
A vessel starts a communication gap, ending the condition movingSpeed. | terminatedAt(movingSpeed(Vessel)=_Status, T) :- happensAt(start(gap(Vessel)=_GapStatus), T). |
A vessel starts drifting, initiating the condition drifting. | initiatedAt(drifting(Vessel)=true, T) :- happensAt(velocity(Vessel,_Speed, CourseOverGround, TrueHeading), T), TrueHeading =\= 511.0, absoluteAngleDiff(CourseOverGround, TrueHeading, AngleDiff), thresholds(adriftAngThr, AdriftAngThr), AngleDiff > AdriftAngThr, holdsAt(underWay(Vessel)=true, T). |
A vessel stops drifting when angle difference is less than or equal to threshold, ending the condition drifting. | terminatedAt(drifting(Vessel)=true, T) :- happensAt(velocity(Vessel,_Speed, CourseOverGround, TrueHeading), T), absoluteAngleDiff(CourseOverGround, TrueHeading, AngleDiff), thresholds(adriftAngThr, AdriftAngThr), AngleDiff =< AdriftAngThr. |
A vessel stops drifting when TrueHeading is 511.0, ending the condition drifting. | terminatedAt(drifting(Vessel)=true, T) :- happensAt(velocity(Vessel,_Speed, _CourseOverGround, 511.0), T). |
A vessel stops drifting when it stops underway, ending the condition drifting. | terminatedAt(drifting(Vessel)=true, T) :- happensAt(end(underWay(Vessel)=true), T). |
A vessel is anchored or moored, initiating the condition anchoredOrMoored. | holdsFor(anchoredOrMoored(Vessel)=true, I) :- holdsFor(stopped(Vessel)=farFromPorts, Istfp), holdsFor(withinArea(Vessel, anchorage)=true, Ia), intersect_all([Istfp, Ia], Ista), holdsFor(stopped(Vessel)=nearPorts, Istnp), union_all([Ista, Istnp], I). |
A vessel moves at tugging speed, initiating the condition tuggingSpeed. | initiatedAt(tuggingSpeed(Vessel)=true , T) :- happensAt(velocity(Vessel, Speed, _, _), T), thresholds(tuggingMin, TuggingMin), thresholds(tuggingMax, TuggingMax), inRange(Speed, TuggingMin, TuggingMax). |
A vessel stops moving at tugging speed, ending the condition tuggingSpeed. | terminatedAt(tuggingSpeed(Vessel)=true , T) :- happensAt(velocity(Vessel, Speed, _, _), T), thresholds(tuggingMin, TuggingMin), thresholds(tuggingMax, TuggingMax), \+inRange(Speed, TuggingMin, TuggingMax). |
A vessel initiates a communication gap, ending the condition tuggingSpeed. | terminatedAt(tuggingSpeed(Vessel)=true , T) :- happensAt(start(gap(Vessel)=_Status), T). |
Two vessels are tugging, initiating the condition tugging. | holdsFor(tugging(Vessel1, Vessel2)=true, I) :- holdsFor(proximity(Vessel1, Vessel2)=true, Ip), holdsFor(tuggingSpeed(Vessel1)=true, Its1), holdsFor(tuggingSpeed(Vessel2)=true, Its2), intersect_all([Ip, Its1, Its2], I). |
Two vessels rendezvous, initiating the condition rendezVous. | holdsFor(rendezVous(Vessel1, Vessel2)=true, I) :- holdsFor(proximity(Vessel1, Vessel2)=true, Ip), holdsFor(lowSpeed(Vessel1)=true, Il1), holdsFor(lowSpeed(Vessel2)=true, Il2), holdsFor(stopped(Vessel1)=farFromPorts, Is1), holdsFor(stopped(Vessel2)=farFromPorts, Is2), union_all([Il1, Is1], I1b), union_all([Il2, Is2], I2b), intersect_all([I1b, I2b, Ip], If), holdsFor(withinArea(Vessel1, nearPorts)=true, Iw1), holdsFor(withinArea(Vessel2, nearPorts)=true, Iw2), holdsFor(withinArea(Vessel1, nearCoast)=true, Iw3), holdsFor(withinArea(Vessel2, nearCoast)=true, Iw4), relative_complement_all(If,[Iw1, Iw2, Iw3, Iw4], I). |
A vessel moves at trawl speed, initiating the condition trawlSpeed. | initiatedAt(trawlSpeed(Vessel)=true, T):- happensAt(velocity(Vessel, Speed, _Heading,_), T), thresholds(trawlspeedMin, TrawlspeedMin), thresholds(trawlspeedMax, TrawlspeedMax), inRange(Speed, TrawlspeedMin, TrawlspeedMax), holdsAt(withinArea(Vessel, fishing)=true, T). |
A vessel stops moving at trawl speed, ending the condition trawlSpeed. | terminatedAt(trawlSpeed(Vessel)=true, T):- happensAt(velocity(Vessel, Speed, _Heading,_), T), thresholds(trawlspeedMin, TrawlspeedMin), thresholds(trawlspeedMax, TrawlspeedMax), \+inRange(Speed, TrawlspeedMin, TrawlspeedMax). |
A vessel initiates a communication gap, ending the condition trawlSpeed. | terminatedAt(trawlSpeed(Vessel)=true, T):- happensAt(start(gap(Vessel)=_Status), T). |
A vessel stops being in a fishing area, ending the condition trawlSpeed. | terminatedAt(trawlSpeed(Vessel)=true, T):- happensAt(end(withinArea(Vessel, fishing)=true), T). |
A vessel starts trawling movement, initiating the condition trawlingMovement. | initiatedAt(trawlingMovement(Vessel)=true , T):- happensAt(change_in_heading(Vessel), T), holdsAt(withinArea(Vessel, fishing)=true, T). |
A vessel stops being in a fishing area, ending the condition trawlingMovement. | terminatedAt(trawlingMovement(Vessel)=true, T):- happensAt(end(withinArea(Vessel, fishing)=true), T). |
A vessel starts trawling, initiating the condition trawling. | holdsFor(trawling(Vessel)=true, I):- holdsFor(trawlSpeed(Vessel)=true, It), holdsFor(trawlingMovement(Vessel)=true, Itc), intersect_all([It, Itc], I). |
A vessel moves at SAR speed, initiating the condition sarSpeed. | initiatedAt(sarSpeed(Vessel)=true , T):- happensAt(velocity(Vessel, Speed, _, _), T), thresholds(sarMinSpeed, SarMinSpeed), inRange(Speed,SarMinSpeed,inf). |
A vessel stops moving at SAR speed, ending the condition sarSpeed. | terminatedAt(sarSpeed(Vessel)=true, T):- happensAt(velocity(Vessel, Speed, _, _), T), thresholds(sarMinSpeed, SarMinSpeed), inRange(Speed,0,SarMinSpeed). |
A vessel initiates a communication gap, ending the condition sarSpeed. | terminatedAt(sarSpeed(Vessel)=true, T):- happensAt(start(gap(Vessel)=_Status), T). |
A vessel changes heading, initiating the condition sarMovement. | initiatedAt(sarMovement(Vessel)=true, T):- happensAt(change_in_heading(Vessel), T). |
A vessel changes speed, initiating the condition sarMovement. | initiatedAt(sarMovement(Vessel)=true , T):- happensAt(change_in_speed(Vessel), T). |
A vessel initiates a communication gap, ending the condition sarMovement. | terminatedAt(sarMovement(Vessel)=true, T):- happensAt(start(gap(Vessel)=_Status), T). |
A vessel performs SAR operations, initiating the condition inSAR. | holdsFor(inSAR(Vessel)=true, I):- holdsFor(sarSpeed(Vessel)=true, Iss), holdsFor(sarMovement(Vessel)=true, Isc), intersect_all([Iss, Isc], I). |
A vessel loiters, initiating the condition loitering. | holdsFor(loitering(Vessel)=true, I) :- holdsFor(lowSpeed(Vessel)=true, Il), holdsFor(stopped(Vessel)=farFromPorts, Is), union_all([Il, Is], Ils), holdsFor(withinArea(Vessel, nearCoast)=true, Inc), holdsFor(anchoredOrMoored(Vessel)=true, Iam), relative_complement_all(Ils, [Inc,Iam], I). |
Two vessels perform pilot operations, initiating the condition pilotOps. | holdsFor(pilotOps(Vessel1, Vessel2)=true, I) :- holdsFor(proximity(Vessel1, Vessel2)=true, Ip), holdsFor(lowSpeed(Vessel1)=true, Il1), holdsFor(lowSpeed(Vessel2)=true, Il2), holdsFor(stopped(Vessel1)=farFromPorts, Is1), holdsFor(stopped(Vessel2)=farFromPorts, Is2), union_all([Il1, Is1], I1b), union_all([Il2, Is2], I2b), intersect_all([I1b, I2b, Ip], Ii), Ii\=[]), holdsFor(withinArea(Vessel1, nearCoast)=true, Iw1), holdsFor(withinArea(Vessel2, nearCoast)=true, Iw2), relative_complement_all(Ii,[Iw1, Iw2], I). |
No dataset card yet
New: Create and edit this dataset card directly on the website!
Contribute a Dataset Card- Downloads last month
- 2