| abian created this task. abian added a project: Wikidata Query UI. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. |
TASK DESCRIPTION
As a user I want to easily reuse data from Wikidata through my scripts and applications.
Problem: At a Wikidata hackathon (18-19 Oct) the participants couldn't reuse some of the code examples that are provided by the Query UI. Some of these examples are incomplete or have typos.
Example: The Java snippet is dirty and contains mistakes which prevent an application from being compiled...
for (HashMap value : (ArrayList>) rs.get("result").get("rows")) {
Screenshots/mockups:
BDD
GIVEN
AND
WHEN
AND
THEN
AND
Acceptance criteria:
For all the programming languages that are considered:
- The code snippet can be properly executed without requiring any change on it and returns or prints the results of the requested query.
- Tasks of data retrieval are encapsulated in a function/procedure/method and there isn't any data exchange with Wikidata outside that function/procedure/method.
- The code is understandable and consistently formatted (indentation, spaces, line breaks, etc.).
- At least the query and the URL endpoint are easily configurable (e.g., by directly assigning each value to a variable).
- Retrieved data are stored in an iterable or navigable data structure (e.g., an array).
Open questions:
TASK DETAIL
EMAIL PREFERENCES
To: abian
Cc: Aklapper, abian, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
Cc: Aklapper, abian, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
