Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I am using API,
CycList queryVariables(CycList queryVariables, CycList query, CycObject mt, HashMap queryProperties)
to get results from the Cyc.
from the query
(behaviorCapability-performedBy-SubjectString-ActionFunction-QuantityInteger #$Employee:abc technicalSupportFor ?SubjectMatterId ?Rank)
(eKBSubjectMatterIDNumber ?SUBJECT ?SubjectMatterId)
(eKBSubjectMatterDisplayString ?SUBJECT ?SubjectMatter)))
How do we get the results based on CycVaribales(queryVaribales) passed ??
The order of the bindings is determined by the order of the variables. So if queryVariables is (?SubjectMatter ?Rank ?SubjectMatterId) and you get back ("Foo" 2 27) as one of the items on the returned CycList, then "Foo" is the binding for ?SubjectMatter, ?Rank is 2, and ?SubjectMatterId is 27.