petermr / dictionary

Collection of Wikidata-based dictionaries for scientific annotation and searching
Apache License 2.0
7 stars 4 forks source link

Error while doing amidict showing: Invalid value for option '--informat': expected one of [xml, html, json] (case-sensitive) but was 'wikisparqlxml' #34

Closed 950vasant closed 3 years ago

950vasant commented 3 years ago
C:\Users\vasan>amidict -vv --dictionary plant_part --directory newfolder2 --input newfolder1/sparq7 --informat wikisparqlxml --sparqlmap wikidataURL=item,wikipediaPage=wikipedia,wikidataAltLabel=itemAltLabel,name=itemLabel,term=itemLabel,Description=itemDescription,Hindi=hindiLabel,Hindi_description=hindi,Hindi_altLabel=hindialtLabel,Hindi_wikipediaPage=hindiwikipedia,Tamil=tamilLabel,Tamil_description=tamil,Tamil_altLabel=tamilaltLabel,Tamil_wikipediaPage=tamilwikipedia,Spanish=esLabel,Spanish_description=es,Spanish_altLabel=esaltLabel,Chinese=zhLabel,Chinese_description=zh,Chinese_altLabel=zhaltLabel,French=frLabel,French_description=fr,French_altLabel=frAltLabel,German=deLabel,German_description=de,German_altLabel=dealtLabel,Urdu=urLabel,Urdu_description=ur,Urdu_altLabel=uraltLabel --transformName wikidataID=EXTRACT(wikidataURL,./(.)) --synonyms=wikidataAltLabel
Invalid value for option '--informat': expected one of [xml, html, json] (case-sensitive) but was 'wikisparqlxml'
Usage: amidict [OPTIONS] COMMAND
Try 'amidict --help' for more information.
950vasant commented 3 years ago

Added syntax createbefore informat

Issue is resolved now.