Knowledge in functions and graphs