I am working on generating inferences from a given Subject-Verb-Object (S-V-O) triple. The S-V-O is identified from the source domain and a matching S-V-? or ?-V-O is identified in a traget domain. I want to get all possible subjects or objects that fill the ?. Please let me know if you know any system or repository of S-V-O which can return a complete triple when one or more element of the triple is passed to it.