jakobw / wd-query-builder

Prototype of the Wikidata Query Builder for generating lists from Wikidata
https://tools.wmflabs.org/wd-query-builder/
GNU General Public License v2.0
8 stars 0 forks source link

Support combining conditions with OR #5

Open waldyrious opened 6 years ago

waldyrious commented 6 years ago

Currently, it is already possible to combine multiple values for a property, e.g. using the "any item matching" option in the dropdown menu.

It would be nice to have a way to also combine properties using such an "any" relationship, i.e. combining different properties with OR rather than AND.

For example, I'd like to query for items that have either the "country" or "country of origin" property set to a specific country.

jakobw commented 6 years ago

Hey, thanks for being interested in the project! There is currently a lot of discussion going on at WMDE internally about all things concerning automated list generation, the query builder and the query service. Long story short: the development of this project is on hold until it is clear how it fits into the bigger picture and how to continue with it. The OR-combination of properties is definitely something that will be considered once we have a roadmap.

Will you be at the MediaWiki Hackathon in Barcelona? I'd love to hear your ideas and maybe hack on something query builder related! :)

waldyrious commented 6 years ago

Ah, understood -- thanks for the information. Glad to hear that combining conditions with OR might be a possibility.

Will you be at the MediaWiki Hackathon in Barcelona? I'd love to hear your ideas and maybe hack on something query builder related! :)

I wish I could. I haven't been able to participate in Wikimanias an hackathons for a couple years now, much to my dismay, and unfortunately I don't know yet when I'll be able to again (mostly due to other stuff taking priority). That said, I'll keep an eye on this repo and will certainly offer my help and feedback as time permits.