local p Author = mw.wikibase.getEntityIdForCurrentPage() Works = Author:getAllStatements('P25') return Works