I have noticed for a long time that, to ask 'why', can often prompt answers of different types, that either describe the events, or attribute meaning. An example would be:
Why are the pliers on this table rusty?
- Answer 1: Because they are made out of iron, and it started to rain.
- Answer 2: Because someone didn't put them away.
The first answer seems to describe the process, or mechanism ('how'), while the second the purpose ('why').**
The background to this question is that, I am trying to give whether the 'purpose' or 'aim' of a particular computer programme, is either to: 'iteratively look-up a search term and then the second entity in its definition, to exhaustion' *; or, to be a 'Chinese character search engine'.
What term would you use to describe the 'purpose' of an entity, in the second sense given? (Semantics? The Teleological? Ontological? Epistemiology?)
If you know any resources which discuss this (although it does stray over into the field of language/linguistics), I would be grateful.
Thank you.
*In the actual discussion had, the 'purpose' of the programme was actually given to me as being fully described by...
text=table[c][2]+text[1:]
**I know that there is an overlap in these terms ('why' and 'how') in linguistics.