There must be a sub-library in pywikibot that performs the same functionality as WikidataProperty. If not, find a way to auto-generate the Python3 file
Could use this query:
SELECT ?property ?propertyLabel WHERE {
?property wikibase:propertyType ?propertyType .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ASC(xsd:integer(STRAFTER(STR(?property), 'P')))
There must be a sub-library in pywikibot that performs the same functionality as WikidataProperty. If not, find a way to auto-generate the Python3 file
Could use this query:
Try It