WolfgangFahl / ConferenceCorpus

ScientificEventCorpus
Apache License 2.0
1 stars 2 forks source link

add commandline interface to CorpusLookup #4

Closed WolfgangFahl closed 3 years ago

WolfgangFahl commented 3 years ago

refactor from ptp lookup for some command line functionality e.g. for creating the EventCorpus cache SQLite database

WolfgangFahl commented 3 years ago
python corpus/lookup.py -h
usage: lookup.py [-h] [-d] [-e ENDPOINT] [-v] [-u]

Created on 2021-07-39

  Created by Wolfgang Fahl on 2020-06-22.
  Copyright 2020 Wolfgang Fahl. All rights reserved.

  Licensed under the Apache License 2.0
  http://www.apache.org/licenses/LICENSE-2.0

  Distributed on an "AS IS" basis without warranties
  or conditions of any kind, either express or implied.

USAGE

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           show debug info
  -e ENDPOINT, --endpoint ENDPOINT
                        SPARQL endpoint to use for wikidata queries
  -v, --version         show program's version number and exit
  -u, --uml             output plantuml diagram markup