Missing T in ShEx extracted from Wikidata
Summary
When a Schema is extracted from Wikidata some of the predicates/properties use the wd prefix. This should be wdt.
Steps to reproduce
Generate a shex for an airport on wikidata using ShExJapp.
What is the current bug behaviour?
This will result in the following schema: https://wikidata-shex.wmflabs.org/wiki/Schema:O35.
What is the expected correct behaviour?
It should generate a schema like this one for taxon: https://wikidata-shex.wmflabs.org/wiki/Schema:O32.
wd:Qxx is indeed the IRI to which the label is attached. However, Wikidata used the following pattern
{ wd:Pxx rdfs:label "label for Qxx" ; wikibase:directClaim wdt:Pxx ; wikibase:claim p:Pxx ; }
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
/cc @project-manager