Open timfu opened 12 years ago
This is indeed a problem. Semantically, "with foo and a bar" should be interpreted as "with foo and with a bar". This kind of ellipsis requires coordinations to denote sets of entities (instead of entities, as it is now the case), which requires an adaptation of the whole semantic composition process. A hack would be to insert the ommitted "with"; however, there's no straightforward way to determine when and where to insert it...
Conjunction in conditions works, but only in limited cases:
Works perfectly: "houses in Headington with more than 2 bedrooms and with a garden"
Works, but interprets "and a garden" as ?x is a garden "houses in Headington with more than 2 bedrooms and a garden"
fails: "houses in Headington with a garden and more than 2 bedrooms"
works: "houses in Headington with a garden and with more than 2 bedrooms"