Deductive reasoning was an investigation by making correct inferences from available information.
In 2365, Data, in the guise of Sherlock Holmes, deduced that a man found murdered in the street had been released from Dartmoor that day. He based this conclusion on the shoes the man was wearing. (TNG: "Elementary, Dear Data")