fititnt / wiki_as_base-py

[MVP] Use MediaWiki Wiki page content as read-only database. Python library implementation. See https://github.com/fititnt/openstreetmap-serverless-functions/tree/main/function/wiki-as-base
The Unlicense
0 stars 0 forks source link

Test MVP support for (de facto) Wikibase Q Items and P properties (internal JSON format, not RDF) #5

Open fititnt opened 1 year ago

fititnt commented 1 year ago

Not sure if useful, but anyway, might not be hard to add another option on the cli

fititnt commented 1 year ago

Hummm, interesting. Even without specific call for wikibase extension, prefixing the Qs and Ps allow to request the raw data of page. So the following works if the page is found

wiki_as_base --titles='Item:Q1234|Property:P12

However, it return default options of Wikibase (which may be already ok).