Main Page: Difference between revisions

From KBTestWikibase
Jump to navigation Jump to search
Line 29: Line 29:
<nowiki>PREFIX wikibase: <http://wikiba.se/ontology#></nowiki><br>
<nowiki>PREFIX wikibase: <http://wikiba.se/ontology#></nowiki><br>
<nowiki>PREFIX p: <https://kbtestwikibase.wikibase.cloud/prop/></nowiki><br>
<nowiki>PREFIX p: <https://kbtestwikibase.wikibase.cloud/prop/></nowiki><br>
<nowiki>PREFIX xsd: <http://www.w3.org/2001/XMLSchema#></nowiki><br>
<nowiki>PREFIX xsd: <http://www.w3.org/2001/XMLSchema#></nowiki><br></code>
</code>


== Interactie via de API m.b.v. Python ==
== Interactie via de API m.b.v. Python ==
* https://github.com/KBNLresearch/wikibase-api/tree/master/examples-kb - Examples on how to read, write, delete, update Ps, Qs, claims, qualifiers and references in https://kbtestwikibase.wikibase.cloud using Python
* https://github.com/KBNLresearch/wikibase-api/tree/master/examples-kb - Examples on how to read, write, delete, update Ps, Qs, claims, qualifiers and references in https://kbtestwikibase.wikibase.cloud using Python
* Docs/manual are on https://wikibase-api.readthedocs.io/en/latest/.
* Docs/manual are on https://wikibase-api.readthedocs.io/en/latest/.

Revision as of 14:13, 16 June 2022

Test Wikibase instance for the national library of The Netherlands.

Eigenschappen (properties) (namespace = xx)

Items (namespace = 120)

API

SPARQL

PREFIX wd: <https://kbtestwikibase.wikibase.cloud/entity/>
PREFIX wds: <https://kbtestwikibase.wikibase.cloud/entity/statement/>
PREFIX wdv: <https://kbtestwikibase.wikibase.cloud/value/>
PREFIX wdt: <https://kbtestwikibase.wikibase.cloud/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <https://kbtestwikibase.wikibase.cloud/prop/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

Interactie via de API m.b.v. Python