Paul Schuster was born in Dresden
Used in
Linkage at the API level
Example: Les Misérables
query, pageprops, -> wikibase_item (+ info)
Extra information:
wbentityusage
wblistentityusage
MediaWiki API access: Like any other MediaWiki.
Access via JSON (or other) exports
SPARQL endpoint access
SPARQL Protocol and RDF Query Language
Similar to SQL, but for the Semantic Web
Interface to multiple endpoints
Wikidata SPARQL inteface
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wds: <http://www.wikidata.org/entity/statement/>
PREFIX wdv: <http://www.wikidata.org/value/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
Some used by Wikidata
Other external ones
Example: Universities by Page Rank
Additional examples:
Example for Wikidata: https://query.wikidata.org/sparql
SPARQL client in Python
Entities
Using Unix tools, regexp, and then processing JSON (one per line)
Convenient tool: wikidata-filter
Toy dataset: public universities in Wikidata
Convenient NodeJS image: https://github.com/toniher/docker-nodejs-wikidata
Example:
Count all public universities in Spain
zcat unipubli.json.gz | wikidata-filter --claim P17:Q29 | wc -l
about creation or permissions