Main Page: Difference between revisions
Jump to navigation
Jump to search
OlafJanssen (talk | contribs) No edit summary |
OlafJanssen (talk | contribs) (→SPARQL) |
||
Line 14: | Line 14: | ||
== SPARQL== | == SPARQL== | ||
* SPARQL-queries zijn mogelijk via https://kbtestwikibase.wikibase.cloud/query/ | * SPARQL-queries zijn mogelijk via https://kbtestwikibase.wikibase.cloud/query/ | ||
* [https://kbtestwikibase.wikibase.cloud/query/#%23kbwb%20%3D%20KB%20Wikibase%0APREFIX% | * [https://kbtestwikibase.wikibase.cloud/query/#%23kbwb%20%3D%20KB%20Wikibase%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fentity%2F%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fkbtestwikibase.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0A%0ASELECT%20%3Fding%20%3FdingLabel%20%3FdingDescription%20WHERE%0A%7B%0A%3Fding%20wdt%3AP3%20wd%3AQ2%20%23Geef%20me%20alle%20dingen%20die%20een%20nationale%20bibliotheek%20%28Q2%29%20zijn%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D Hele basale SPARQL-zoekvraag] | ||
* Er moeten voorlopig verplicht prefixen meegegeven worden: | * Er moeten voorlopig verplicht prefixen meegegeven worden: | ||
<code> | <code> | ||
<nowiki>PREFIX | <nowiki>PREFIX wd: <https://kbtestwikibase.wikibase.cloud/entity/></nowiki><br> | ||
<nowiki>PREFIX | <nowiki>PREFIX wds: <https://kbtestwikibase.wikibase.cloud/entity/statement/></nowiki><br> | ||
<nowiki>PREFIX | <nowiki>PREFIX wdv: <https://kbtestwikibase.wikibase.cloud/value/></nowiki><br> | ||
<nowiki>PREFIX | <nowiki>PREFIX wdt: <https://kbtestwikibase.wikibase.cloud/prop/direct/></nowiki><br> | ||
<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> |
Revision as of 12:17, 10 June 2022
Test Wikibase instance for the national library of The Netherlands.
Eigenschappen (properties)
Items
API
Een voorbeeld om item Q1 op te vragen als JSON: https://kbtestwikibase.wikibase.cloud/api.php?action=wbgetentities&ids=Q1&format=json
SPARQL
- SPARQL-queries zijn mogelijk via https://kbtestwikibase.wikibase.cloud/query/
- Hele basale SPARQL-zoekvraag
- Er moeten voorlopig verplicht prefixen meegegeven worden:
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#>