Closed myedibleenso closed 3 years ago
Introduced QuantifiedConcept relation mention
QuantifiedConcept
{"unit": "TEUs", "concept": "DoD frozen meat"}
/parse-query
need
subtype
How many TEUs of zebras are heading to Scotland from Zimbabwe?
[ { "need" : { "text" : "TEUs of zebras", "subtype" : "QuantifiedConcept", "labels" : [ "QuantifiedConcept", "Concept", "Entity" ], "arguments" : [ { "role" : "unit", "text" : "TEUs", "labels" : [ "QuantifiedConcept", "Concept", "Entity" ] }, { "role" : "concept", "text" : "zebras", "labels" : [ "QuantifiedConcept", "Concept", "Entity" ] } ] }, "labels" : [ "QuantityQuery", "Query" ], "constraints" : [ { "subtype" : "OriginConstraint", "labels" : [ "OriginConstraint", "LocationConstraint", "Constraint" ], "text" : "Zimbabwe" }, { "subtype" : "DestinationConstraint", "labels" : [ "DestinationConstraint", "LocationConstraint", "Constraint" ], "text" : "Scotland" } ], "metadata" : { "foundBy" : "quantity-query-1", "id" : "E:-203628168" } } ]
Summary of changes
Introduced
QuantifiedConcept
relation mention{"unit": "TEUs", "concept": "DoD frozen meat"}
/parse-query
need
now has optional args and a requiredsubtype
Examples