You can use

    language = queryPropertyChild(bodyCode, languageAtom, 0);