HomePhabricator

Provide path towards SPARQL queries with elements

Authored by JeanFred on Oct 25 2019, 5:43 PM.

Description

Provide path towards SPARQL queries with elements

  • Add two methods to property_statistics.py that generate the queries, based on grouping and property
  • Add method make_stats_object_for_page_title to get the PropertyStatistics object from the page title
  • Add endpoint queries that takes as parameters the page (to retrieve the config), the property and the grouping and calls the above methods

Details

Committed
JeanFredOct 25 2019, 5:44 PM
Parents
R2566:352c544fa824: Extract method make_stats_object_for_page from process_page
Branches
Unknown
Tags
Unknown
ChangeId
None