Teester / entityshape

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

Add support for "or" #3

Open Teester opened 3 years ago

Teester commented 3 years ago

Currently "or" or "|" are ignored when generating a shape so x or y is interpreted as x and y.

Need to decide how to represent "or" in a shape and then how to take "or" into account when comparing the shape to an entity.

fnielsen commented 3 years ago

I suppose that is why, e.g., E303 does not work https://www.wikidata.org/wiki/EntitySchema:E303 ?