| Cparle updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
UsStore the Wikidata Query Service (WDQS) to run a SPARQL query (which allows operators like `>` and `<`)in a special data structure in elasticsearch. This would take a bit of speccing-out, and then use the ids as a filter for an elasticsearch query - basically we'd ask WDQS for all pictures depicting 'cat' with quantity qualifier >1 we'd need to write specific code for only this qualifier, then search elasticsearch for anything else we wanted to search for but only among the (max 1000) IDs we got from WDQS.which would be tricky
The deepcat feature uses WDQS with elasticsearch, so we could base our approach on the deepcat code (see https://gerrit.wikimedia.org/r/#/c/405059/)
Option 3
Store the data in a special data structure in elasticsearch. This would take a bit of speccing-outOption 3
Use the Wikidata Query Service (WDQS) to run a SPARQL query (which allows operators like `>` and `<`), and then use the ids as a filter for an elasticsearch query - basically we'd ask WDQS for all pictures depicting 'cat' with quantity qualifier >1, then search elasticsearch for anything else we wanted to search for but only among the (max 1000) IDs we got from WDQS.
The deepcat feature uses WDQS with elasticsearch, and the we'd need to write specificso we could base our approach on the deepcat code for only this qualifier, which would be tricky(see https://gerrit.wikimedia.org/r/#/c/405059/)
Note that there are currently **1025** items in wikidata that have a 'depicts' statement with a 'quantity' qualifier
...
Option 23UsStore the Wikidata Query Service (WDQS) to run a SPARQL query (which allows operators like `>` and `<`)in a special data structure in elasticsearch. This would take a bit of speccing-out, and then use the ids as a filter for an elasticsearch query - basically we'd ask WDQS for all pictures depicting 'cat' with quantity qualifier >1 we'd need to write specific code for only this qualifier, then search elasticsearch for anything else we wanted to search for but only among the (max 1000) IDs we got from WDQS.which would be tricky
The deepcat feature uses WDQS with elasticsearch, so we could base our approach on the deepcat code (see https://gerrit.wikimedia.org/r/#/c/405059/)
Option 3
Store the data in a special data structure in elasticsearch. This would take a bit of speccing-outOption 3
Use the Wikidata Query Service (WDQS) to run a SPARQL query (which allows operators like `>` and `<`), and then use the ids as a filter for an elasticsearch query - basically we'd ask WDQS for all pictures depicting 'cat' with quantity qualifier >1, then search elasticsearch for anything else we wanted to search for but only among the (max 1000) IDs we got from WDQS.
The deepcat feature uses WDQS with elasticsearch, and the we'd need to write specificso we could base our approach on the deepcat code for only this qualifier, which would be tricky(see https://gerrit.wikimedia.org/r/#/c/405059/)
Note that there are currently **1025** items in wikidata that have a 'depicts' statement with a 'quantity' qualifier
TASK DETAIL
EMAIL PREFERENCES
To: Cparle
Cc: Aklapper, Ramsey-WMF, Cparle, Lahi, PDrouin-WMF, Gq86, E1presidente, SandraF_WMF, GoranSMilovanovic, QZanden, EBjune, Tramullas, Acer, V4switch, LawExplorer, Susannaanas, Wong128hk, Aschroet, Jane023, Wikidata-bugs, PKM, Base, matthiasmullie, aude, Ricordisamoa, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Matanya, Mbch331
Cc: Aklapper, Ramsey-WMF, Cparle, Lahi, PDrouin-WMF, Gq86, E1presidente, SandraF_WMF, GoranSMilovanovic, QZanden, EBjune, Tramullas, Acer, V4switch, LawExplorer, Susannaanas, Wong128hk, Aschroet, Jane023, Wikidata-bugs, PKM, Base, matthiasmullie, aude, Ricordisamoa, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Matanya, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
