SDM-TIB / SDM-RDFizer

An Efficient RML-Compliant Engine for Knowledge Graph Construction
https://doi.org/10.5281/zenodo.3872103
Apache License 2.0
112 stars 25 forks source link

Error with Json Source files #33

Closed FrankBorrero closed 4 years ago

FrankBorrero commented 4 years ago

Json.zip Hi, Using SDM-RDFIzer with json files im geting error:

Semantifying KGCase2david.nt... Traceback (most recent call last): File "/home/fborrero/SDM-RDFizer/SDM-RDFizer/rdfizer/run_rdfizer.py", line 3, in semantify(str(sys.argv[1])) File "/home/fborrero/SDM-RDFizer/SDM-RDFizer/rdfizer/rdfizer/semantify.py", line 3646, in semantify number_triple += executor.submit(semantify_file, triples_map, triples_map_list, output_file_descriptor, wr, config[dataset_i]["name"], data[0]).results() AttributeError: 'Future' object has no attribute 'results'.

The data sourcefiles, and the mapping files were use with RMLmapper, and RockterRML and no problems were presented at the moment of generating the graph.

This let me assume that there is not any problem with source files or the mapping files as it worked with the other RDFizers.

Im attaching the source files used, also the mapping files and the configfile.ini for reproducibility.

eiglesias34 commented 4 years ago

I fixed the problem. I also ran the data that was given and was processed with no problem. Please confirm, so that we can close this issue.

FrankBorrero commented 4 years ago

It was executed again and it was successful. Thanks.