adding instrumental-cxn

parent d85ae3bf
......@@ -576,6 +576,62 @@
[(? :tl-schema) :trajector (? :trajector)]
[(? :tl-schema) :landmark (? :goal)]
}}
{:id :contained-PP-process ; "Whisk with a spoon", "Cover with care."
:match #{[(? :clause) :subunit (? :vp)]
[(? :vp) :head (? :verb)]
[(? :verb) :evokes (? :verb-schema)]
[(? :vp) :isa "VP"]
[(? :pp) :isa "PP"]
[(? :pp) :prep-id "with"]
[(? :pp) :subunit (? :np)]
[(? :np) :isa "NP"]
[(? :np) :referent (? :anything)]
[(? :trans) :is-expressed-by (? :clause)]
[(? :trans) :isa "StateTransition"]
}
:call (introduce (? :link-schema))
:merge #{[(? :clause) :subunit (? :pp)]
[(? :trans) :satisfies (? :link-schema)]
[(? :link-schema) :isa "LinkSchema"]
;[(? :link-schema) :tag :semantics]
[(? :link-schema) :has-constituent (? :linked-1)]
[(? :linked-1) :classifies (? :verb-schema)]
[(? :linked-1) :isa "Linked-1"]
;[(? :linked-1) :tag :semantics]
[(? :link-schema) :has-constituent (? :linked-2)]
[(? :linked-2) :classifies (? :anything)]
[(? :linked-2) :isa "Linked-2"]
;[(? :linked-2) :tag :semantics]
}}
{:id :instrumental-PP-process ; "Whisk with a spoon."
:match #{[(? :clause) :subunit (? :vp)]
[(? :vp) :isa "VP"]
[(? :vp) :head (? :verb)]
[(? :verb) :evokes (? :verb-schema)]
[(? :pp) :isa "PP"]
[(? :pp) :prep-id "with"]
[(? :pp) :subunit (? :np)]
[(? :np) :isa "NP"]
[(? :np) :referent (? :instrument)]
[(? :trans) :is-expressed-by (? :clause)]
[(? :trans) :isa "StateTransition"]
[(? :trans) :satisfies (? :link-schema)]
[(? :link-schema) :isa "LinkSchema"]
[(? :link-schema) :has-constituent (? :linked-1)]
[(? :linked-1) :classifies (? :verb-schema)]
[(? :linked-1) :isa "Linked-1"]
[(? :link-schema) :has-constituent (? :linked-2)]
[(? :linked-2) :classifies (? :anything)]
[(? :linked-2) :isa "Linked-2"]
}
; :call ;TODO check for semantic-category of (? :instrument) -- should be a tool/instrument
:merge #{[(? :clause) :subunit (? :pp)]
[(? :trans) :satisfies (? :verb-schema)]
[(? :verb-schema) :has-constituent (? :instrument-role)]
[(? :instrument-role) :isa "Instrument"]
;[(? :instrument-role) :tag :semantics]
[(? :instrument-role) :classifies (? :anything)]
}}
}})
(def cooking-fs (sentence-kb "move the cup"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment