Skip to content

Commit 547f65c

Browse files
authored
options are parsed wrongly
The way the options are parsed is not inline with the documentation: rdf2hdt [options] <rdf input file> <hdt output file> -h This help -i Also generate index to solve all triple patterns. -c <configfile> HDT Config options file -o <options> HDT Additional options (option1=value1;option2=value2;...) -f <format> Format of the RDF input (nquads,nq,ntriples,nt,trig,turtle,ttl) -B "<base URI>" Base URI of the dataset. -V Prints the HDT version number. -p Prints a progress indicator. -v Verbose output and also not with the java version: https://github.com/rdfhdt/hdt-java/blob/672fccee8e00b28377b6dd3747df63528635483e/hdt-java-core/src/main/java/org/rdfhdt/hdt/options/HDTOptionsBase.java#L66
1 parent ec01e9f commit 547f65c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libhdt/src/hdt/HDTSpecification.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void HDTSpecification::setOptions(const std::string& options) {
4848
std::istringstream strm(options);
4949
std::string singleOption;
5050
while(getline(strm, singleOption, ';') ){
51-
size_t pos = singleOption.find(':');
51+
size_t pos = singleOption.find('=');
5252

5353
if(pos!=std::string::npos) {
5454
std::string property = singleOption.substr(0, pos);

0 commit comments

Comments
 (0)