Teester / entityshape

An api to compare a wikidata item with an entityschema
GNU General Public License v3.0
5 stars 3 forks source link

Investigate why the api is returning information for properties which are in qualifier and references #38

Open Teester opened 1 month ago

Teester commented 1 month ago

When checking an item whose statements contain qualifiers and references, the api returns information about the qualifier and reference properties even though they are not main properties.

e.g. for a P31 (instance of) statement with a P248 (stated in) reference, the response includes information for P31, which can be applied to the P31 statements as expected, and information for P248, which doesn't apply to either properties or statement in the entity. The api shouldn't return an assessment for P248 in this case.

Our current strategy is to just hide these responses in the summary.