Wikidata Workflows
Nintendofan885 edited this page Sep 9, 2020
·
17 revisions
see also Wikidata Links
- interactively in search box:
haswbstatement:P227=118578537
- https://wikidata-todo.toolforge.org/resolver.php?quick=VIAF:12307054
- https://wikidata-todo.toolforge.org/resolver.php?prop=P227&value=120434059
- https://hub.toolforge.org/P227:118578537?site=wikidata
Input created through a YASR web frontend or directly by a Jena Fuseki SPARQL endpoint.
- SPARQL Lab query (example - query is directed at STW thesaurus (SKOS), but can be adapted and run against another endpoint.)
- Save result as CSV (YASR download button)
- Open file and paste into http://www.becsv.com/csv-tsv.php, with options
- Result Control 'First row is column names' deactivated
- Result Separator 'Tab'
- Convert CSV to Delimited
- Open Mix'n'match and log into WiDaR
- Copy&paste result into https://mix-n-match.toolforge.org/import.php
- Execute local query file
curl --silent \
-H "Content-type: application/sparql-query" \
-H "Accept: text/tab-separated-values; charset=utf-8" \
--data-binary @stw_w_en_mnm.rq \ # query file + output format
http://zbw.eu/beta/sparql/stw/query \ # endpoint
| tail -n +2 \ # skip first line with variable names
| sed 's/^"//' | sed 's/"$//' | sed 's/"\t"/\t/g' \ # remove enclosing quotes
> stw_w_en_mnm.tsv # output file
- Open Mix'n'match and log into WiDaR
- Upload in https://mix-n-match.toolforge.org/import.php
- Help:Merge
- Help:Split an item
- Copy: like Split (yet error prone)