WolfgangFahl / snapquery

Frontend to Introduce Named Queries and Named Query Middleware to wikidata
Apache License 2.0
4 stars 1 forks source link

fix parameterization (redundance and examples) #33

Open WolfgangFahl opened 1 week ago

WolfgangFahl commented 1 week ago
  1. use only one implementation
  2. set parameters according to default parameters from queries
  3. add default parameters in nomination or creation (e.g. using LLM) or from usage
tholzheim commented 1 week ago

Current implementations: https://github.com/WolfgangFahl/snapquery/blob/5821b55866c0216f8a8af5a2bf89e5c61bbb2d20/snapquery/namespace_stats_view.py#L183-L198

https://github.com/WolfgangFahl/snapquery/blob/5821b55866c0216f8a8af5a2bf89e5c61bbb2d20/snapquery/snapquery_cmd.py#L89-L103

https://github.com/WolfgangFahl/snapquery/blob/5821b55866c0216f8a8af5a2bf89e5c61bbb2d20/tests/test_query_execution.py#L22-L30