Pervasive Knowledge-Based Networking for Maintenance Inspection in Smart Buildings