Difference between revisions of "User:Alexander.Gesinn/WD 2021-03-22"
(Created page with "== Initial Situation == A table defined by <source> {{#ask:IsA::Event |?Acronym |mainlabel=Event | ?End_date = end_date | ?Start_date = start_date | limit=20 |format...") |
m |
||
Line 1: | Line 1: | ||
== Initial Situation == | == Initial Situation == | ||
A table defined by | A table defined by | ||
− | <source> | + | <source lang="text"> |
{{#ask:[[IsA::Event]] | {{#ask:[[IsA::Event]] | ||
|?Acronym | |?Acronym | ||
Line 18: | Line 18: | ||
;Solution | ;Solution | ||
− | <source> | + | <source lang="text"> |
{{#ask:[[IsA::Event]] | {{#ask:[[IsA::Event]] | ||
|?Acronym | |?Acronym | ||
Line 37: | Line 37: | ||
The [https://www.semantic-mediawiki.org/wiki/Help:Datatables_format datatables format] is used to enable the data in the table to be searched. | The [https://www.semantic-mediawiki.org/wiki/Help:Datatables_format datatables format] is used to enable the data in the table to be searched. | ||
− | <source> | + | <source lang="text"> |
{{#ask:[[IsA::Event]] | {{#ask:[[IsA::Event]] | ||
|?Acronym | |?Acronym | ||
Line 58: | Line 58: | ||
Add an additional frequently used field/column to be selected from the properties listed on the [[PropertyUsageSorted]] page, e.g., Ordinal. | Add an additional frequently used field/column to be selected from the properties listed on the [[PropertyUsageSorted]] page, e.g., Ordinal. | ||
− | <source> | + | <source lang="text"> |
{{#ask:[[IsA::Event]] | {{#ask:[[IsA::Event]] | ||
|?Acronym | |?Acronym |
Revision as of 15:02, 7 April 2021
Contents
Initial Situation
A table defined by
{{#ask:[[IsA::Event]]
|?Acronym
|mainlabel=Event
| ?End_date = end_date
| ?Start_date = start_date
| limit=20
|format=table
}}
Task 1: Increase the limit
Increase the limit to the maximum value that is possible according to the current configuration of OpenResearch.
The above query is using the parameter limit
to restrict the maximum number of results that are returned. By removing limit
, the number of results is limited by configuration parameter $smwgQMaxInlineLimit
(default: 500). The number of results returned before the "...further results" link is shown can be configured by $smwgQDefaultLimit
(default: 50).
- Solution
{{#ask:[[IsA::Event]]
|?Acronym
|?End_date=end_date
|?Start_date=start_date
|format=table
}}
Acronym | end_date | start_date | |
---|---|---|---|
" DBKDA 2021" | " DBKDA 2021" | 3 June 2021 | 30 May 2021 |
"ENERGY 2021" | "ENERGY 2021" | 3 June 2021 | 30 May 2021 |
"ICAS 2021" | "ICAS 2021" | 3 June 2021 | 30 May 2021 |
"ICNS 2021" | "ICNS 2021" | 3 June 2021 | 30 May 2021 |
(APIT 2025)2025 7th Asia Pacific Information Technology Conference | (APIT 2025)2025 7th Asia Pacific Information Technology Conference | 2025 | 12 January 2025 |
(CVCI 2025) 2025 6th International Conference on Computer Vision and Computational Intelligence | (CVCI 2025) 2025 6th International Conference on Computer Vision and Computational Intelligence | 2025 | 2025 |
(DMIP 2024) | (DMIP 2024) | 15 September 2024 | 13 September 2024 |
(ICAEB 2024) | ICAEB 2024 | 25 August 2024 | 23 August 2024 |
2021 ICIMP | 2021 ICIMP | 12 June 2021 | 10 June 2021 |
2022 DMIP 2022 | 2022 DMIP 2022 | 13 November 2022 | 10 November 2022 |
2022 ICRCA | 2022 ICRCA | 28 February 2022 | 26 February 2022 |
2022 SGSE 2022 | 2022 SGSE 2022 | 13 November 2022 | 11 November 2022 |
2023 CCIOT | 2023 CCIOT | 24 September 2023 | 22 September 2023 |
2023 DMIP 2023 | 2023 DMIP 2023 | 12 November 2023 | 9 November 2023 |
2023 ICBDM 2023 | 2023 ICBDM 2023 | 18 December 2023 | 16 December 2023 |
2023 ICCCI 2023 | 2023 ICCCI 2023 | 25 June 2023 | 23 June 2023 |
2023 ICCS 2023 | 2023 ICCS 2023 | 24 September 2023 | 22 September 2023 |
2023 ICENT | 2023 ICENT | 24 September 2023 | 22 September 2023 |
2023 ICICM | 2023 ICICM | 23 October 2023 | 20 October 2023 |
2024 13th International Conference on Clean and Green Energy (ICCGE 2024) | 2024 13th International Conference on Clean and Green Energy (ICCGE 2024) | 4 August 2024 | 2 August 2024 |
2024 15th International Conference on Environmental Science and Development (ICESD 2024) | 2024 15th International Conference on Environmental Science and Development (ICESD 2024) | 9 August 2024 | 7 August 2024 |
2024 15th International Conference on Environmental Science and Technology (ICEST 2024) | 2024 15th International Conference on Environmental Science and Technology (ICEST 2024) | 23 November 2024 | 21 November 2024 |
2024 3rd International Conference on Artificial Intelligence and Software Engineering (ICAISE 2024) | 2024 3rd International Conference on Artificial Intelligence and Software Engineering (ICAISE 2024) | 27 October 2024 | 25 October 2024 |
2024 5th Asia Service Sciences and Software Engineering Conference (ASSE 2024) | 2024 5th Asia Service Sciences and Software Engineering Conference (ASSE 2024) | 13 September 2024 | 11 September 2024 |
2024 5th International Artificial Intelligence and Blockchain Conference (AIBC 2024) | 2024 5th International Artificial Intelligence and Blockchain Conference (AIBC 2024) | 13 September 2024 | 11 September 2024 |
2024 5th International Conference on Control and Robot Technology (ICCRT 2024) | 2024 5th International Conference on Control and Robot Technology (ICCRT 2024) | 29 September 2024 | 27 September 2024 |
2024 6th Asia Digital Image Processing Conference (ADIP 2024) | 2024 6th Asia Digital Image Processing Conference (ADIP 2024) | 16 December 2024 | 14 December 2024 |
2024 6th International Conference on Big Data Engineering (BDE 2024) | 2024 6th International Conference on Big Data Engineering (BDE 2024) | 26 July 2024 | 24 July 2024 |
2024 6th International Conference on Mechatronics Systems and Control Engineering (ICMSCE 2024) | 2024 6th International Conference on Mechatronics Systems and Control Engineering (ICMSCE 2024) | 2024 | 27 September 2024 |
2024 6th International Conference on Smart Power & Internet Energy Systems (SPIES 2024) | 2024 6th International Conference on Smart Power & Internet Energy Systems (SPIES 2024) | 6 December 2024 | 4 December 2024 |
2024 7th Artificial Intelligence and Cloud Computing Conference (AICCC 2024) | 2024 7th Artificial Intelligence and Cloud Computing Conference (AICCC 2024) | 16 December 2024 | 14 December 2024 |
2024 7th International Conference on Environment and Ocean Engineering (ICEOE 2024) | 2024 7th International Conference on Environment and Ocean Engineering (ICEOE 2024) | 23 November 2024 | 21 November 2024 |
2024 ICBDM 2024 | 2024 ICBDM 2024 | 16 December 2024 | 14 December 2024 |
2024 ICCS 2024 | 2024 ICCS 2024 | 22 September 2024 | 20 September 2024 |
2024 ICET 2024 | 2024 ICET 2024 | 15 September 2024 | 13 September 2024 |
2024 ICICM 2024 | 2024 ICICM 2024 | 8 November 2024 | 6 November 2024 |
2024 ICIEA 2024 | 2024 ICIEA 2024 | 19 April 2024 | 17 April 2024 |
2024 The 6th International Conference on Control and Computer Vision (ICCCV 2024) | 2024 The 6th International Conference on Control and Computer Vision (ICCCV 2024) | 15 June 2024 | 13 June 2024 |
2025 7th International Symposium on Computational and Business Intelligence (ISCBI 2025) | 2025 7th International Symposium on Computational and Business Intelligence (ISCBI 2025) | 16 February 2025 | 14 February 2025 |
3DUI 2016 | 3DUI 2016 | 20 March 2016 | 19 March 2016 |
3DUI 2020 | 3DUI 2020 | 26 March 2020 | 22 March 2020 |
3IA 2009 | 3IA 2009 | 30 May 2009 | 29 May 2009 |
3PGIC 2010 | 3PGIC 2010 | 18 February 2010 | 15 February 2010 |
3dui 2010 | 3DUI 2020 | 21 March 2010 | 20 March 2010 |
3rd EPSEE 2024 | 3rd EPSEE 2024 | 9 June 2024 | 7 June 2024 |
4S4D 2017 | 4S4D 2017 | 18 May 2017 | 17 May 2017 |
5GU 2017 | 5GU 2017 | 9 June 2017 | 8 June 2017 |
5GWN 2017 | 5GWN 2017 | 23 April 2017 | 21 April 2017 |
AAAC 2023) | AAAC 2023 | 17 September 2023 | 15 September 2023 |
AAAC 2024 | AAAC 2024 | 22 September 2024 | 20 September 2024 |
... further results |
Task 2: Modify query to use datatables
The datatables format is used to enable the data in the table to be searched.
{{#ask:[[IsA::Event]]
|?Acronym
|?End_date=end_date
|?Start_date=start_date
|mainlabel=Event
|format=datatables
}}
Loading...
Task 3: Add additional field/column
Add an additional frequently used field/column to be selected from the properties listed on the PropertyUsageSorted page, e.g., Ordinal.
{{#ask:[[IsA::Event]]
|?Acronym
|?End_date=end_date
|?Start_date=start_date
|?Ordinal
|mainlabel=Event
|format=datatable
}}
Loading...
Task 4: UrlGetParameter
- The UrlGetParameter extension is used so that a query parameter can be attached to the page URL, e.g., the ordinal value "1" is specified as an URL query parameter, such that the wiki pages shows a table only with entries for conferences that were the first in their series.
- Issue #16 is avoided.
- Solution
- Note 1: Parameters passed via URL should be encoded using only the limited US-ASCII characters legal within a URI. This is done automatically by Extension:UrlGetParameters, e.g.
test=A:B
will be returned astest=A%3AB
by#urlget
. Thus decoding might be required before using parameters. - Note 2: If a parameter is optional, code that relies on that parameter, needs to deal with absence of the parameter without causing issues.
- Note 3: If a parameter is expected to be a specific data type / format, code that relies on that data type / format, needs to implement checks ("never trust a stranger unless he gives you candy"). https://www.mediawiki.org/wiki/Extension:RegexFunctions can help with that.
No Ordinal
given, showing all results:
Loading...