Teester / entityshape

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

Take into account the Wikidata Property when automatically determining schemas to check #45

Closed Teester closed 4 months ago

Teester commented 4 months ago

Sometimes items might contain links with unsuitable Entityschema for Class properties. E.g. a Wikimedia category may contain a Category contains property with Q5 (human) which would trigger E10 (human) to be added to the list of schemas to be checked. This is unsuitable.

One option is to monitor qualifiers on Entityschema for Class statements. E.g. politician contains Entityschema for class statement for E257 (politician) with the qualifier Wikidata property of P106 (occupation) This information could be used to only add E257 to the list when the property being queried is P106. So if the statement is linked via is a list of, for example, it would not be added.