Data Dependency
Which pilots work for the same airline as Mike?
Query plan (not maximal):
q(Pilot) <=> ws(Date1,From1,To1,mike,Aircraft1) &
ws(Date2,From2,To2,Pilot2,Aircraft1) &
ws(Date3,From3,To3,Pilot2,Aircraft2) &
ws(Date4,From4,To4,Pilot,Aircraft2)
Depending on the data in the sources,
query plans with 1, 2, 4, 6, 8, … subgoals are
needed to extract all available information