extract triples with respect to ProgrammingLanguage