-- Database schema
| current : ballotpedia_id [ TEXT ] , bioguide_id [ TEXT ] , birthday_bio [ DATE ] , cspan_id [ REAL ] , fec_id [ TEXT ] , first_name [ TEXT ] , gender_bio [ TEXT ] , google_entity_id_id [ TEXT ] , govtrack_id [ INTEGER ] , house_history_id [ REAL ] , icpsr_id [ REAL ] , last_name [ TEXT ] , lis_id [ TEXT ] , maplight_id [ REAL ] , middle_name [ TEXT ] , nickname_name [ TEXT ] , official_full_name [ TEXT ] , opensecrets_id [ TEXT ] , religion_bio [ TEXT ] , suffix_name [ TEXT ] , thomas_id [ INTEGER ] , votesmart_id [ REAL ] , wikidata_id [ TEXT ] , wikipedia_id [ TEXT ] | current-terms : address [ TEXT ] , bioguide [ TEXT ] current-terms.bioguide = current.bioguide_id , caucus [ TEXT ] , chamber [ TEXT ] , class [ REAL ] , contact_form [ TEXT ] , district [ REAL ] , end [ TEXT ] , fax [ TEXT ] , last [ TEXT ] , name [ TEXT ] , office [ TEXT ] , party [ TEXT ] , party_affiliations [ TEXT ] , phone [ TEXT ] , relation [ TEXT ] , rss_url [ TEXT ] , start [ TEXT ] , state [ TEXT ] , state_rank [ TEXT ] , title [ TEXT ] , type [ TEXT ] , url [ TEXT ] | historical : ballotpedia_id [ TEXT ] , bioguide_id [ TEXT ] primary_key , bioguide_previous_id [ TEXT ] , birthday_bio [ TEXT ] , cspan_id [ TEXT ] , fec_id [ TEXT ] , first_name [ TEXT ] , gender_bio [ TEXT ] , google_entity_id_id [ TEXT ] , govtrack_id [ INTEGER ] , house_history_alternate_id [ TEXT ] , house_history_id [ REAL ] , icpsr_id [ REAL ] , last_name [ TEXT ] , lis_id [ TEXT ] , maplight_id [ TEXT ] , middle_name [ TEXT ] , nickname_name [ TEXT ] , official_full_name [ TEXT ] , opensecrets_id [ TEXT ] , religion_bio [ TEXT ] , suffix_name [ TEXT ] , thomas_id [ TEXT ] , votesmart_id [ TEXT ] , wikidata_id [ TEXT ] , wikipedia_id [ TEXT ] | historical-terms : address [ TEXT ] , bioguide [ TEXT ] primary_key historical-terms.bioguide = historical.bioguide_id , chamber [ TEXT ] , class [ REAL ] , contact_form [ TEXT ] , district [ REAL ] , end [ TEXT ] , fax [ TEXT ] , last [ TEXT ] , middle [ TEXT ] , name [ TEXT ] , office [ TEXT ] , party [ TEXT ] , party_affiliations [ TEXT ] , phone [ TEXT ] , relation [ TEXT ] , rss_url [ TEXT ] , start [ TEXT ] , state [ TEXT ] , state_rank [ TEXT ] , title [ TEXT ] , type [ TEXT ] , url [ TEXT ] | social-media : bioguide [ TEXT ] primary_key social-media.bioguide = current.bioguide_id , facebook [ TEXT ] , facebook_id [ REAL ] , govtrack [ REAL ] , instagram [ TEXT ] , instagram_id [ REAL ] , thomas [ INTEGER ] , twitter [ TEXT ] , twitter_id [ REAL ] , youtube [ TEXT ] , youtube_id [ TEXT ] |
-- -- What is the average number of terms served for a current legislator that's famous or impact?

SELECT CAST(COUNT(T2.bioguide) AS REAL) / COUNT(DISTINCT T1.bioguide_id) FROM current AS T1 INNER JOIN `current-terms` AS T2 ON T1.bioguide_id = T2.bioguide WHERE T1.wikipedia_id IS NOT NULL;