Unlocking UML Class Diagram Understanding in Vision Language Models
Paper • 2605.11634 • Published
question stringlengths 72 260 | gt stringlengths 1 171 | is_fake bool 2
classes | question_type stringclasses 17
values | multigold bool 2
classes | multi_gold stringclasses 157
values | image imagewidth (px) 774 2.73k |
|---|---|---|---|---|---|---|
Give the name of the class that lies between AbstractJavaFxApplicationSupport and Stage in a valid relationship chain. | MainController | false | Q1 | true | ['MainController'] | |
Give the name of the class that lies between Initializable and URL in a valid relationship chain. | MainStageController | false | Q1 | true | ['MainStageController'] | |
Give the name of the class that lies between Initializable and ResourceBundle in a valid relationship chain. | MainStageController | false | Q1 | true | ['MainStageController'] | |
Give the name of the class that lies between AbstractFxmlView and AbstractJavaFxApplicationSupport in a valid relationship chain of at least three classes. Return only the name of the intermediate class. | None | true | Q1 | false | null | |
Give the name of the class that CustomSplash extends. Return only one class name. | SplashScreen | false | Q10 | false | null | |
Give the name of the class that MainController extends. Return only one class name. | AbstractJavaFxApplicationSupport | false | Q10 | false | null | |
Give the name of the class that MainStageView extends. Return only one class name. | AbstractFxmlView | false | Q10 | false | null | |
Name the class with the highest number of relationships (as source or target). Write out only the class name. | MainStageController | false | Q12 | false | null | |
List the names of static methods declared in MainController. Return a comma-separated list. | main | false | Q16 | false | null | |
List the names of interfaces that MainStageController implements. Return a comma-separated list. | Initializable | false | Q5 | false | null | |
List the names of public methods declared in CustomSplash. Return a comma-separated list. | getImagePath, visible | false | Q9 | false | null | |
List the names of public methods declared in MainController. Return a comma-separated list. | main, start | false | Q9 | false | null | |
List the names of public methods declared in MainStageController. Return a comma-separated list. | initialize | false | Q9 | false | null | |
List the names of public methods declared in AbstractFxmlView. Return a comma-separated list. | None | true | Q9 | false | null | |
Give the name of the class that lies between ClientDetailsService and OauthRepository in a valid relationship chain. | ClientService | false | Q1 | true | ['ClientService'] | |
Give the name of the class that lies between ClientService and JdbcTemplate in a valid relationship chain. | OauthRepository | false | Q1 | true | ['OauthRepository'] | |
Give the name of the class that lies between ClientService and JdbcTemplate in a valid relationship chain. | OauthRepository | false | Q1 | true | ['OauthRepository'] | |
List a chain of three connected classes starting from ClientDetailsService and ending with OauthRepository. Include the relationship types between them. Format: Class A, relation1, Class B, relation2, Class C | ClientDetailsService, implementation, ClientService, composition, OauthRepository | false | Q11 | true | ['ClientDetailsService, implementation, ClientService, composition, OauthRepository'] | |
List a chain of three connected classes starting from ClientService and ending with JdbcTemplate. Include the relationship types between them. Format: Class A, relation1, Class B, relation2, Class C | ClientService, composition, OauthRepository, composition, JdbcTemplate | false | Q11 | true | ['ClientService, composition, OauthRepository, composition, JdbcTemplate'] | |
Name the class with the highest number of relationships (as source or target). Write out only the class name. | OauthRepository | false | Q12 | false | null | |
List the names of static attributes declared in OauthRepository. Return a comma-separated list. | FETCH_BY_CLIENT_ID, FETCH_BY_USERNAME | false | Q14 | false | null | |
List the names of static attributes declared in ClientDetailsService. Return a comma-separated list. | None | true | Q14 | false | null | |
List the names of final attributes declared in OauthRepository. Return a comma-separated list. | FETCH_BY_CLIENT_ID, FETCH_BY_USERNAME | false | Q15 | false | null | |
List the names of attributes in OauthRepository that are both static and final. Return a comma-separated list. | FETCH_BY_CLIENT_ID, FETCH_BY_USERNAME | false | Q19 | false | null | |
List the names of all classes that have no relationships of any kind (neither source nor target). Return a comma-separated list. | JSONController, Person | false | Q20 | false | null | |
List the names of all classes that have a composition relationship where JdbcTemplate is the target. Return a comma-separated list. | OauthRepository | false | Q21 | false | null | |
List the names of all classes that have a composition relationship where OauthRepository is the target. Return a comma-separated list. | UserService, ClientService | false | Q21 | false | null | |
List the names of all classes that are composition targets of ClientService. Return a comma-separated list. | OauthRepository | false | Q3 | false | null | |
List the names of all classes that are composition targets of OauthRepository. Return a comma-separated list. | JdbcTemplate | false | Q3 | false | null | |
List the names of all classes that are composition targets of UserService. Return a comma-separated list. | OauthRepository | false | Q3 | false | null | |
List the names of all classes that are composition targets of ClientDetailsService. Return a comma-separated list. | None | true | Q3 | false | null | |
List the names of interfaces that ClientService implements. Return a comma-separated list. | ClientDetailsService | false | Q5 | false | null | |
List the names of interfaces that UserService implements. Return a comma-separated list. | UserDetailsService | false | Q5 | false | null | |
List the names of private attributes declared in ClientService. Return a comma-separated list. | oauthRepository | false | Q6 | false | null | |
List the names of private attributes declared in OauthRepository. Return a comma-separated list. | FETCH_BY_CLIENT_ID, FETCH_BY_USERNAME, jdbcTemplate | false | Q6 | false | null | |
List the names of private attributes declared in UserService. Return a comma-separated list. | oauthRepository | false | Q6 | false | null | |
List the names of public methods declared in ClientService. Return a comma-separated list. | loadClientByClientId | false | Q9 | false | null | |
List the names of public methods declared in JSONController. Return a comma-separated list. | getPersonInJSON | false | Q9 | false | null | |
List the names of public methods declared in OauthRepository. Return a comma-separated list. | getByClientId, getByUsername | false | Q9 | false | null | |
Give the name of the class that lies between KeyValueServiceImplBase and PutRequest in a valid relationship chain. | KeyValueService | false | Q1 | true | ['KeyValueService'] | |
Give the name of the class that lies between KeyValueServiceImplBase and StreamObserver in a valid relationship chain. | KeyValueService | false | Q1 | true | ['KeyValueService'] | |
Give the name of the class that lies between KeyValueServiceImplBase and GetRequest in a valid relationship chain. | KeyValueService | false | Q1 | true | ['KeyValueService'] | |
Give the name of the class that KeyValueService extends. Return only one class name. | KeyValueServiceImplBase | false | Q10 | false | null | |
Give the name of the class that UserService extends. Return only one class name. | UserServiceImplBase | false | Q10 | false | null | |
Name the class with the highest number of relationships (as source or target). Write out only the class name. | UserService | false | Q12 | false | null | |
List the names of static attributes declared in KeyValueService. Return a comma-separated list. | store | false | Q14 | false | null | |
List the names of static attributes declared in ZipkinDemo. Return a comma-separated list. | DOCKER_IP | false | Q14 | false | null | |
List the names of static methods declared in ZipkinDemo. Return a comma-separated list. | brave, main | false | Q16 | false | null | |
List the names of all classes that have no relationships of any kind (neither source nor target). Return a comma-separated list. | ZipkinDemo | false | Q20 | false | null | |
List the names of all classes that have a composition relationship where BindableService is the target. Return a comma-separated list. | GrpcServer | false | Q21 | false | null | |
List the names of all classes that have a composition relationship where Brave is the target. Return a comma-separated list. | GrpcServer | false | Q21 | false | null | |
List the names of all classes that have a composition relationship where KeyValueServiceBlockingStub is the target. Return a comma-separated list. | UserService | false | Q21 | false | null | |
List the names of all classes that are composition targets of GrpcServer. Return a comma-separated list. | Brave, Server, BindableService | false | Q3 | false | null | |
List the names of all classes that are composition targets of UserService. Return a comma-separated list. | KeyValueServiceBlockingStub | false | Q3 | false | null | |
List the names of private attributes declared in GrpcServer. Return a comma-separated list. | bindableService, brave, port, server | false | Q6 | false | null | |
List the names of private attributes declared in KeyValueService. Return a comma-separated list. | store | false | Q6 | false | null | |
List the names of private attributes declared in UserService. Return a comma-separated list. | keyValue | false | Q6 | false | null | |
List the names of public methods declared in GrpcServer. Return a comma-separated list. | GrpcServer, blockUntilShutdown, start, stop | false | Q9 | false | null | |
List the names of public methods declared in KeyValueService. Return a comma-separated list. | get, put | false | Q9 | false | null | |
List the names of public methods declared in UserService. Return a comma-separated list. | UserService, getUser | false | Q9 | false | null | |
Give the name of the class that lies between Application and ReactNativeHost in a valid relationship chain. | MainApplication | false | Q1 | true | ['MainApplication'] | |
Give the name of the class that lies between ReactApplication and ReactNativeHost in a valid relationship chain. | MainApplication | false | Q1 | true | ['MainApplication'] | |
Give the name of the class that lies between ReactPackage and ReactApplicationContext in a valid relationship chain. | MaterialCalendarViewPackage | false | Q1 | true | ['MaterialCalendarViewPackage'] | |
Give the name of the class that MainActivity extends. Return only one class name. | ReactActivity | false | Q10 | false | null | |
Give the name of the class that MainApplication extends. Return only one class name. | Application | false | Q10 | false | null | |
Give the name of the class that MaterialCalendarViewManager extends. Return only one class name. | SimpleViewManager<MaterialCalendarView> | false | Q10 | false | null | |
List a chain of three connected classes starting from Application and ending with ReactNativeHost. Include the relationship types between them. Format: Class A, relation1, Class B, relation2, Class C | Application, inheritance, MainApplication, composition, ReactNativeHost | false | Q11 | true | ['Application, inheritance, MainApplication, composition, ReactNativeHost'] | |
Name the class with the highest number of relationships (as source or target). Write out only the class name. | MaterialCalendarViewManager | false | Q12 | false | null | |
List the names of static attributes declared in MaterialCalendarViewManager. Return a comma-separated list. | REACT_CLASS | false | Q14 | false | null | |
List the names of final attributes declared in MainApplication. Return a comma-separated list. | mReactNativeHost | false | Q15 | false | null | |
List the names of final attributes declared in MaterialCalendarViewManager. Return a comma-separated list. | REACT_CLASS | false | Q15 | false | null | |
List the names of final attributes declared in Application. Return a comma-separated list. | None | true | Q15 | false | null | |
List the names of attributes in MaterialCalendarViewManager that are both static and final. Return a comma-separated list. | REACT_CLASS | false | Q19 | false | null | |
List the names of all classes that have a composition relationship where ReactNativeHost is the target. Return a comma-separated list. | MainApplication | false | Q21 | false | null | |
List the names of all classes that are composition targets of MainApplication. Return a comma-separated list. | ReactNativeHost | false | Q3 | false | null | |
List the names of interfaces that MainApplication implements. Return a comma-separated list. | ReactApplication | false | Q5 | false | null | |
List the names of interfaces that MaterialCalendarViewPackage implements. Return a comma-separated list. | ReactPackage | false | Q5 | false | null | |
List the names of private attributes declared in MainApplication. Return a comma-separated list. | mReactNativeHost | false | Q6 | false | null | |
List the names of public attributes declared in MaterialCalendarViewManager. Return a comma-separated list. | REACT_CLASS | false | Q8 | false | null | |
List the names of public methods declared in MainApplication. Return a comma-separated list. | getReactNativeHost, onCreate | false | Q9 | false | null | |
List the names of public methods declared in MaterialCalendarViewManager. Return a comma-separated list. | getName, onReceiveNativeEvent, setDay, setMonth, setYear | false | Q9 | false | null | |
List the names of public methods declared in MaterialCalendarViewPackage. Return a comma-separated list. | createJSModules, createNativeModules, createViewManagers | false | Q9 | false | null | |
List the names of public methods declared in Application. Return a comma-separated list. | None | true | Q9 | false | null | |
Give the name of the class that lies between ServerResource and Representation in a valid relationship chain. | QueryResource | false | Q1 | true | ['QueryResource'] | |
Give the name of the class that lies between ServerResource and ResultSet in a valid relationship chain. | QueryResource | false | Q1 | true | ['QueryResource'] | |
Give the name of the class that lies between ServerResource and ResultSetMetaData in a valid relationship chain. | QueryResource | false | Q1 | true | ['QueryResource'] | |
Give the name of the class that QueryResource extends. Return only one class name. | ServerResource | false | Q10 | false | null | |
Give the name of the class that SQLApplication extends. Return only one class name. | Application | false | Q10 | false | null | |
Name the class with the highest number of relationships (as source or target). Write out only the class name. | QueryResource | false | Q12 | false | null | |
List the names of static attributes declared in Query. Return a comma-separated list. | jdbcTemplate | false | Q14 | false | null | |
List the names of static attributes declared in ReadProperties. Return a comma-separated list. | props | false | Q14 | false | null | |
List the names of static methods declared in Bootstrap. Return a comma-separated list. | main, startHttpServer | false | Q16 | false | null | |
List the names of static methods declared in Query. Return a comma-separated list. | execute, getDs, init | false | Q16 | false | null | |
List the names of static methods declared in ReadProperties. Return a comma-separated list. | getProperty, load | false | Q16 | false | null | |
List the names of static methods declared in Application. Return a comma-separated list. | None | true | Q16 | false | null | |
List the names of all classes that have a composition relationship where JdbcTemplate is the target. Return a comma-separated list. | Query | false | Q21 | false | null | |
List the names of all classes that have a composition relationship where Properties is the target. Return a comma-separated list. | ReadProperties | false | Q21 | false | null | |
List the names of all classes that have a composition relationship where Application is the target. Return a comma-separated list. | None | true | Q21 | false | null | |
List the names of all classes that are composition targets of Query. Return a comma-separated list. | JdbcTemplate | false | Q3 | false | null | |
List the names of all classes that are composition targets of ReadProperties. Return a comma-separated list. | Properties | false | Q3 | false | null |
This is the dataset accompanying the conference paper: "Unlocking UML Class Diagram Understanding in Vision Language Models".
For more details have a look at the arxiv preprint