AutoSPARQL icon indicating copy to clipboard operation
AutoSPARQL copied to clipboard

Conjunctive conditions

Open timfu opened this issue 12 years ago • 1 comments

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"

timfu avatar Jul 11 '12 11:07 timfu

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...

cunger avatar Jul 12 '12 11:07 cunger