├── LICENSE ├── README.md ├── code ├── .idea │ ├── code.iml │ ├── deployment.xml │ ├── inspectionProfiles │ │ └── Project_Default.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── common │ ├── __pycache__ │ │ ├── bert_args.cpython-36.pyc │ │ ├── dataset_name.cpython-36.pyc │ │ ├── globals_args.cpython-36.pyc │ │ ├── hand_files.cpython-36.pyc │ │ └── kb_name.cpython-36.pyc │ ├── bert_args.py │ ├── dataset_name.py │ ├── globals_args.py │ ├── hand_files.py │ ├── kb_name.py │ └── utils.py ├── common_structs │ ├── __pycache__ │ │ ├── bag.cpython-36.pyc │ │ ├── cycle.cpython-36.pyc │ │ ├── depth_first_paths.cpython-36.pyc │ │ ├── graph.cpython-36.pyc │ │ ├── grounded_graph.cpython-36.pyc │ │ ├── question_annotation.cpython-36.pyc │ │ ├── skeleton.cpython-36.pyc │ │ ├── stack.cpython-36.pyc │ │ ├── structure.cpython-36.pyc │ │ └── ungrounded_graph.cpython-36.pyc │ ├── bag.py │ ├── brat_ann_mention_relation.py │ ├── cycle.py │ ├── depth_first_paths.py │ ├── depth_first_search.py │ ├── find_path.py │ ├── graph.py │ ├── grounded_graph.py │ ├── question_annotation.py │ ├── skeleton.py │ ├── stack.py │ ├── structure.py │ └── ungrounded_graph.py ├── datasets_interface │ ├── question_interface │ │ ├── __pycache__ │ │ │ └── graphquestion_interface.cpython-36.pyc │ │ ├── complexwebquestion_interface.py │ │ ├── graphquestion_interface.py │ │ └── questions_utils.py │ └── virtuoso_interface │ │ ├── __pycache__ │ │ ├── freebase_kb_interface.cpython-36.pyc │ │ └── freebase_sparql_odbc.cpython-36.pyc │ │ ├── freebase_kb_interface.py │ │ ├── freebase_sparql_html.py │ │ └── freebase_sparql_odbc.py ├── evaluation │ ├── __pycache__ │ │ ├── evaluation_utils.cpython-36.pyc │ │ ├── kbcqa_evaluation.cpython-36.pyc │ │ └── sempre_evaluation.cpython-36.pyc │ ├── cwq_precision_1 │ │ ├── ComplexWebQuestions_test.json │ │ ├── eval_script.py │ │ └── eval_script_ywsun.py │ ├── evaluation_utils.py │ ├── kbcqa_evaluation.py │ └── sempre_evaluation.py ├── grounding │ ├── _2_1_grounded_graph │ │ ├── __pycache__ │ │ │ ├── grounded_graph_2_1_generation.cpython-36.pyc │ │ │ └── node_linking_interface_freebase.cpython-36.pyc │ │ ├── class_linking │ │ │ └── class_linking_freebase.py │ │ ├── entity_linking_aqqu_vocab │ │ │ ├── entity_linker.py │ │ │ ├── surface_index_memory.py │ │ │ └── u.py │ │ ├── entity_linking_en_vocab │ │ │ ├── __pycache__ │ │ │ │ ├── entity_link_pipeline.cpython-36.pyc │ │ │ │ └── entity_linker.cpython-36.pyc │ │ │ ├── entity_link_pipeline.py │ │ │ └── entity_linker.py │ │ ├── grounded_graph_2_1_generation.py │ │ ├── literal_linking │ │ │ ├── literal_linking_cwq.py │ │ │ └── literal_linking_graphq.py │ │ └── node_linking_interface_freebase.py │ ├── _2_2_grounded_graph_offline │ │ ├── __pycache__ │ │ │ ├── graph_2_1_to_2_2_by_transfer.cpython-36.pyc │ │ │ └── path_to_graph.cpython-36.pyc │ │ ├── generate_oracle_input.py │ │ ├── graph_2_1_to_2_2_by_transfer.py │ │ └── path_to_graph.py │ ├── _2_2_grounded_graph_online │ │ └── ReadMe.txt │ ├── __pycache__ │ │ ├── grounded_graph_to_sparql.cpython-36.pyc │ │ ├── grounding_args.cpython-36.pyc │ │ └── grounding_utils.cpython-36.pyc │ ├── grounded_graph_to_sparql.py │ ├── grounding_args.py │ ├── grounding_utils.py │ └── ranking │ │ ├── path_match_nn │ │ ├── __pycache__ │ │ │ ├── model.cpython-36.pyc │ │ │ ├── parameters.cpython-36.pyc │ │ │ ├── path_match_interface.cpython-36.pyc │ │ │ ├── path_match_word_utils.cpython-36.pyc │ │ │ └── wordvec.cpython-36.pyc │ │ ├── model.py │ │ ├── parameters.py │ │ ├── path_match_interface.py │ │ ├── path_match_word_utils.py │ │ ├── preproccess_freebase.py │ │ ├── sequence_loader.py │ │ ├── train_test_path_nn.py │ │ └── wordvec.py │ │ └── path_match_sentence_level │ │ ├── question_match_data_preparation_cwq.py │ │ └── question_match_interface.py ├── parsing │ ├── __pycache__ │ │ ├── nltk_nlp_utils.cpython-36.pyc │ │ ├── node_recognition.cpython-36.pyc │ │ ├── parsing_args.cpython-36.pyc │ │ ├── parsing_utils.cpython-36.pyc │ │ ├── query_graph_generator.cpython-36.pyc │ │ ├── relation_extraction_nff.cpython-36.pyc │ │ ├── skeleton_parser.cpython-36.pyc │ │ ├── skeleton_to_dependency.cpython-36.pyc │ │ └── structure_transfers.cpython-36.pyc │ ├── aggregation │ │ ├── __pycache__ │ │ │ ├── aggregation_interface.cpython-36.pyc │ │ │ ├── comparative.cpython-36.pyc │ │ │ ├── counting.cpython-36.pyc │ │ │ └── superlative.cpython-36.pyc │ │ ├── aggregation_interface.py │ │ ├── comparative.py │ │ ├── counting.py │ │ └── superlative.py │ ├── models │ │ ├── __pycache__ │ │ │ └── model_utils.cpython-36.pyc │ │ ├── fine_tuning_based_on_bert │ │ │ ├── __pycache__ │ │ │ │ ├── run_headword_span.cpython-36.pyc │ │ │ │ ├── run_redundancy_span.cpython-36.pyc │ │ │ │ ├── run_sequence_classifier.cpython-36.pyc │ │ │ │ ├── run_token_classifier.cpython-36.pyc │ │ │ │ └── span_utils.cpython-36.pyc │ │ │ ├── greed_search_headword.py │ │ │ ├── greed_search_redundancy_span.py │ │ │ ├── greed_search_run_joint_three_models.py │ │ │ ├── greed_search_sequence_relation.py │ │ │ ├── greed_search_sequence_simplification.py │ │ │ ├── greed_search_token_classifier.py │ │ │ ├── run_headword_span.py │ │ │ ├── run_joint_three_models.py │ │ │ ├── run_redundancy_span.py │ │ │ ├── run_sequence_classifier.py │ │ │ ├── run_token_classifier.py │ │ │ └── span_utils.py │ │ ├── fine_tuning_based_on_bert_interface │ │ │ ├── __pycache__ │ │ │ │ ├── headword_span_interface.cpython-36.pyc │ │ │ │ ├── redundancy_span_interface.cpython-36.pyc │ │ │ │ ├── sequences_classifier_interface.cpython-36.pyc │ │ │ │ ├── simplif_classifier_interface.cpython-36.pyc │ │ │ │ └── token_classifier_interface.cpython-36.pyc │ │ │ ├── headword_span_interface.py │ │ │ ├── joint_three_models_interface.py │ │ │ ├── paraphrase_classifier_interface.py │ │ │ ├── redundancy_span_interface.py │ │ │ ├── sequences_classifier_interface.py │ │ │ ├── simplif_classifier_interface.py │ │ │ └── token_classifier_interface.py │ │ ├── model_utils.py │ │ └── pytorch_pretrained_bert │ │ │ ├── __init__.py │ │ │ ├── __main__.py │ │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-36.pyc │ │ │ ├── file_utils.cpython-36.pyc │ │ │ ├── modeling.cpython-36.pyc │ │ │ ├── optimization.cpython-36.pyc │ │ │ └── tokenization.cpython-36.pyc │ │ │ ├── convert_tf_checkpoint_to_pytorch.py │ │ │ ├── file_utils.py │ │ │ ├── modeling.py │ │ │ ├── optimization.py │ │ │ └── tokenization.py │ ├── nltk_nlp_utils.py │ ├── node_recognition.py │ ├── parsing_args.py │ ├── parsing_utils.py │ ├── query_graph_generator.py │ ├── relation_extraction_nff.py │ ├── skeleton_parser.py │ ├── skeleton_to_dependency.py │ └── structure_transfers.py ├── requirements.txt └── running │ ├── __pycache__ │ └── running_interface.cpython-36.pyc │ ├── freebase │ ├── pipeline_cwq.py │ └── pipeline_graphq.py │ └── running_interface.py ├── skeleton ├── README.md ├── complexwebquestion_1_1_dev_rand_1000_v0.1.json ├── complexwebquestion_1_1_test_rand_1000_v0.1.json ├── complexwebquestion_1_1_train_rand_3000_v0.1.json ├── graphquestions_test_v0.1.json └── graphquestions_train_v0.1.json └── slides ├── 2019.12.21_peking_sparqa_v0.5.pdf ├── 2019.12.21_peking_sparqa_v0.5.pptx ├── 2019.12.2_jsai_sparqa.pptx ├── 2019.12.2_jsai_sparqa_v0.3.pdf ├── 2020.01.16-sparqa-poster-v0.2.pdf ├── 2020.01.24_SPARQA_2_mins_v0.2.pptx ├── 274000300.json ├── 3419_SPARQA_poster.pdf ├── 3419_SPARQA_poster.pub ├── 3419_SPARQA_slides.pdf ├── 3419_SPARQA_slides.pptx └── README.md /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/README.md -------------------------------------------------------------------------------- /code/.idea/code.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/.idea/code.iml -------------------------------------------------------------------------------- /code/.idea/deployment.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/.idea/deployment.xml -------------------------------------------------------------------------------- /code/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /code/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/.idea/misc.xml -------------------------------------------------------------------------------- /code/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/.idea/modules.xml -------------------------------------------------------------------------------- /code/.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/.idea/workspace.xml -------------------------------------------------------------------------------- /code/common/__pycache__/bert_args.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/__pycache__/bert_args.cpython-36.pyc -------------------------------------------------------------------------------- /code/common/__pycache__/dataset_name.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/__pycache__/dataset_name.cpython-36.pyc -------------------------------------------------------------------------------- /code/common/__pycache__/globals_args.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/__pycache__/globals_args.cpython-36.pyc -------------------------------------------------------------------------------- /code/common/__pycache__/hand_files.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/__pycache__/hand_files.cpython-36.pyc -------------------------------------------------------------------------------- /code/common/__pycache__/kb_name.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/__pycache__/kb_name.cpython-36.pyc -------------------------------------------------------------------------------- /code/common/bert_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/bert_args.py -------------------------------------------------------------------------------- /code/common/dataset_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/dataset_name.py -------------------------------------------------------------------------------- /code/common/globals_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/globals_args.py -------------------------------------------------------------------------------- /code/common/hand_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/hand_files.py -------------------------------------------------------------------------------- /code/common/kb_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/kb_name.py -------------------------------------------------------------------------------- /code/common/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common/utils.py -------------------------------------------------------------------------------- /code/common_structs/__pycache__/bag.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/__pycache__/bag.cpython-36.pyc -------------------------------------------------------------------------------- /code/common_structs/__pycache__/cycle.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/__pycache__/cycle.cpython-36.pyc -------------------------------------------------------------------------------- /code/common_structs/__pycache__/depth_first_paths.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/__pycache__/depth_first_paths.cpython-36.pyc -------------------------------------------------------------------------------- /code/common_structs/__pycache__/graph.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/__pycache__/graph.cpython-36.pyc -------------------------------------------------------------------------------- /code/common_structs/__pycache__/grounded_graph.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/__pycache__/grounded_graph.cpython-36.pyc -------------------------------------------------------------------------------- /code/common_structs/__pycache__/question_annotation.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/__pycache__/question_annotation.cpython-36.pyc -------------------------------------------------------------------------------- /code/common_structs/__pycache__/skeleton.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/__pycache__/skeleton.cpython-36.pyc -------------------------------------------------------------------------------- /code/common_structs/__pycache__/stack.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/__pycache__/stack.cpython-36.pyc -------------------------------------------------------------------------------- /code/common_structs/__pycache__/structure.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/__pycache__/structure.cpython-36.pyc -------------------------------------------------------------------------------- /code/common_structs/__pycache__/ungrounded_graph.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/__pycache__/ungrounded_graph.cpython-36.pyc -------------------------------------------------------------------------------- /code/common_structs/bag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/bag.py -------------------------------------------------------------------------------- /code/common_structs/brat_ann_mention_relation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/brat_ann_mention_relation.py -------------------------------------------------------------------------------- /code/common_structs/cycle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/cycle.py -------------------------------------------------------------------------------- /code/common_structs/depth_first_paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/depth_first_paths.py -------------------------------------------------------------------------------- /code/common_structs/depth_first_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/depth_first_search.py -------------------------------------------------------------------------------- /code/common_structs/find_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/find_path.py -------------------------------------------------------------------------------- /code/common_structs/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/graph.py -------------------------------------------------------------------------------- /code/common_structs/grounded_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/grounded_graph.py -------------------------------------------------------------------------------- /code/common_structs/question_annotation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/question_annotation.py -------------------------------------------------------------------------------- /code/common_structs/skeleton.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/skeleton.py -------------------------------------------------------------------------------- /code/common_structs/stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/stack.py -------------------------------------------------------------------------------- /code/common_structs/structure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/structure.py -------------------------------------------------------------------------------- /code/common_structs/ungrounded_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/common_structs/ungrounded_graph.py -------------------------------------------------------------------------------- /code/datasets_interface/question_interface/__pycache__/graphquestion_interface.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/datasets_interface/question_interface/__pycache__/graphquestion_interface.cpython-36.pyc -------------------------------------------------------------------------------- /code/datasets_interface/question_interface/complexwebquestion_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/datasets_interface/question_interface/complexwebquestion_interface.py -------------------------------------------------------------------------------- /code/datasets_interface/question_interface/graphquestion_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/datasets_interface/question_interface/graphquestion_interface.py -------------------------------------------------------------------------------- /code/datasets_interface/question_interface/questions_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/datasets_interface/question_interface/questions_utils.py -------------------------------------------------------------------------------- /code/datasets_interface/virtuoso_interface/__pycache__/freebase_kb_interface.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/datasets_interface/virtuoso_interface/__pycache__/freebase_kb_interface.cpython-36.pyc -------------------------------------------------------------------------------- /code/datasets_interface/virtuoso_interface/__pycache__/freebase_sparql_odbc.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/datasets_interface/virtuoso_interface/__pycache__/freebase_sparql_odbc.cpython-36.pyc -------------------------------------------------------------------------------- /code/datasets_interface/virtuoso_interface/freebase_kb_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/datasets_interface/virtuoso_interface/freebase_kb_interface.py -------------------------------------------------------------------------------- /code/datasets_interface/virtuoso_interface/freebase_sparql_html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/datasets_interface/virtuoso_interface/freebase_sparql_html.py -------------------------------------------------------------------------------- /code/datasets_interface/virtuoso_interface/freebase_sparql_odbc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/datasets_interface/virtuoso_interface/freebase_sparql_odbc.py -------------------------------------------------------------------------------- /code/evaluation/__pycache__/evaluation_utils.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/evaluation/__pycache__/evaluation_utils.cpython-36.pyc -------------------------------------------------------------------------------- /code/evaluation/__pycache__/kbcqa_evaluation.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/evaluation/__pycache__/kbcqa_evaluation.cpython-36.pyc -------------------------------------------------------------------------------- /code/evaluation/__pycache__/sempre_evaluation.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/evaluation/__pycache__/sempre_evaluation.cpython-36.pyc -------------------------------------------------------------------------------- /code/evaluation/cwq_precision_1/ComplexWebQuestions_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/evaluation/cwq_precision_1/ComplexWebQuestions_test.json -------------------------------------------------------------------------------- /code/evaluation/cwq_precision_1/eval_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/evaluation/cwq_precision_1/eval_script.py -------------------------------------------------------------------------------- /code/evaluation/cwq_precision_1/eval_script_ywsun.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/evaluation/cwq_precision_1/eval_script_ywsun.py -------------------------------------------------------------------------------- /code/evaluation/evaluation_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/evaluation/evaluation_utils.py -------------------------------------------------------------------------------- /code/evaluation/kbcqa_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/evaluation/kbcqa_evaluation.py -------------------------------------------------------------------------------- /code/evaluation/sempre_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/evaluation/sempre_evaluation.py -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/__pycache__/grounded_graph_2_1_generation.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/__pycache__/grounded_graph_2_1_generation.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/__pycache__/node_linking_interface_freebase.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/__pycache__/node_linking_interface_freebase.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/class_linking/class_linking_freebase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/class_linking/class_linking_freebase.py -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/entity_linking_aqqu_vocab/entity_linker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/entity_linking_aqqu_vocab/entity_linker.py -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/entity_linking_aqqu_vocab/surface_index_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/entity_linking_aqqu_vocab/surface_index_memory.py -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/entity_linking_aqqu_vocab/u.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/entity_linking_aqqu_vocab/u.py -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/entity_linking_en_vocab/__pycache__/entity_link_pipeline.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/entity_linking_en_vocab/__pycache__/entity_link_pipeline.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/entity_linking_en_vocab/__pycache__/entity_linker.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/entity_linking_en_vocab/__pycache__/entity_linker.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/entity_linking_en_vocab/entity_link_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/entity_linking_en_vocab/entity_link_pipeline.py -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/entity_linking_en_vocab/entity_linker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/entity_linking_en_vocab/entity_linker.py -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/grounded_graph_2_1_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/grounded_graph_2_1_generation.py -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/literal_linking/literal_linking_cwq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/literal_linking/literal_linking_cwq.py -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/literal_linking/literal_linking_graphq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/literal_linking/literal_linking_graphq.py -------------------------------------------------------------------------------- /code/grounding/_2_1_grounded_graph/node_linking_interface_freebase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_1_grounded_graph/node_linking_interface_freebase.py -------------------------------------------------------------------------------- /code/grounding/_2_2_grounded_graph_offline/__pycache__/graph_2_1_to_2_2_by_transfer.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_2_grounded_graph_offline/__pycache__/graph_2_1_to_2_2_by_transfer.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/_2_2_grounded_graph_offline/__pycache__/path_to_graph.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_2_grounded_graph_offline/__pycache__/path_to_graph.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/_2_2_grounded_graph_offline/generate_oracle_input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_2_grounded_graph_offline/generate_oracle_input.py -------------------------------------------------------------------------------- /code/grounding/_2_2_grounded_graph_offline/graph_2_1_to_2_2_by_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_2_grounded_graph_offline/graph_2_1_to_2_2_by_transfer.py -------------------------------------------------------------------------------- /code/grounding/_2_2_grounded_graph_offline/path_to_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/_2_2_grounded_graph_offline/path_to_graph.py -------------------------------------------------------------------------------- /code/grounding/_2_2_grounded_graph_online/ReadMe.txt: -------------------------------------------------------------------------------- 1 | This is upload later... -------------------------------------------------------------------------------- /code/grounding/__pycache__/grounded_graph_to_sparql.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/__pycache__/grounded_graph_to_sparql.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/__pycache__/grounding_args.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/__pycache__/grounding_args.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/__pycache__/grounding_utils.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/__pycache__/grounding_utils.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/grounded_graph_to_sparql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/grounded_graph_to_sparql.py -------------------------------------------------------------------------------- /code/grounding/grounding_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/grounding_args.py -------------------------------------------------------------------------------- /code/grounding/grounding_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/grounding_utils.py -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/__pycache__/model.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/__pycache__/model.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/__pycache__/parameters.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/__pycache__/parameters.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/__pycache__/path_match_interface.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/__pycache__/path_match_interface.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/__pycache__/path_match_word_utils.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/__pycache__/path_match_word_utils.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/__pycache__/wordvec.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/__pycache__/wordvec.cpython-36.pyc -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/model.py -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/parameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/parameters.py -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/path_match_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/path_match_interface.py -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/path_match_word_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/path_match_word_utils.py -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/preproccess_freebase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/preproccess_freebase.py -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/sequence_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/sequence_loader.py -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/train_test_path_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/train_test_path_nn.py -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_nn/wordvec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_nn/wordvec.py -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_sentence_level/question_match_data_preparation_cwq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_sentence_level/question_match_data_preparation_cwq.py -------------------------------------------------------------------------------- /code/grounding/ranking/path_match_sentence_level/question_match_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/grounding/ranking/path_match_sentence_level/question_match_interface.py -------------------------------------------------------------------------------- /code/parsing/__pycache__/nltk_nlp_utils.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/__pycache__/nltk_nlp_utils.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/__pycache__/node_recognition.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/__pycache__/node_recognition.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/__pycache__/parsing_args.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/__pycache__/parsing_args.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/__pycache__/parsing_utils.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/__pycache__/parsing_utils.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/__pycache__/query_graph_generator.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/__pycache__/query_graph_generator.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/__pycache__/relation_extraction_nff.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/__pycache__/relation_extraction_nff.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/__pycache__/skeleton_parser.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/__pycache__/skeleton_parser.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/__pycache__/skeleton_to_dependency.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/__pycache__/skeleton_to_dependency.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/__pycache__/structure_transfers.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/__pycache__/structure_transfers.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/aggregation/__pycache__/aggregation_interface.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/aggregation/__pycache__/aggregation_interface.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/aggregation/__pycache__/comparative.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/aggregation/__pycache__/comparative.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/aggregation/__pycache__/counting.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/aggregation/__pycache__/counting.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/aggregation/__pycache__/superlative.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/aggregation/__pycache__/superlative.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/aggregation/aggregation_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/aggregation/aggregation_interface.py -------------------------------------------------------------------------------- /code/parsing/aggregation/comparative.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/aggregation/comparative.py -------------------------------------------------------------------------------- /code/parsing/aggregation/counting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/aggregation/counting.py -------------------------------------------------------------------------------- /code/parsing/aggregation/superlative.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/aggregation/superlative.py -------------------------------------------------------------------------------- /code/parsing/models/__pycache__/model_utils.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/__pycache__/model_utils.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/__pycache__/run_headword_span.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/__pycache__/run_headword_span.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/__pycache__/run_redundancy_span.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/__pycache__/run_redundancy_span.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/__pycache__/run_sequence_classifier.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/__pycache__/run_sequence_classifier.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/__pycache__/run_token_classifier.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/__pycache__/run_token_classifier.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/__pycache__/span_utils.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/__pycache__/span_utils.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/greed_search_headword.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/greed_search_headword.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/greed_search_redundancy_span.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/greed_search_redundancy_span.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/greed_search_run_joint_three_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/greed_search_run_joint_three_models.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/greed_search_sequence_relation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/greed_search_sequence_relation.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/greed_search_sequence_simplification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/greed_search_sequence_simplification.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/greed_search_token_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/greed_search_token_classifier.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/run_headword_span.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/run_headword_span.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/run_joint_three_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/run_joint_three_models.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/run_redundancy_span.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/run_redundancy_span.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/run_sequence_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/run_sequence_classifier.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/run_token_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/run_token_classifier.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert/span_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert/span_utils.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/__pycache__/headword_span_interface.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/__pycache__/headword_span_interface.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/__pycache__/redundancy_span_interface.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/__pycache__/redundancy_span_interface.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/__pycache__/sequences_classifier_interface.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/__pycache__/sequences_classifier_interface.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/__pycache__/simplif_classifier_interface.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/__pycache__/simplif_classifier_interface.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/__pycache__/token_classifier_interface.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/__pycache__/token_classifier_interface.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/headword_span_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/headword_span_interface.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/joint_three_models_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/joint_three_models_interface.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/paraphrase_classifier_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/paraphrase_classifier_interface.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/redundancy_span_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/redundancy_span_interface.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/sequences_classifier_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/sequences_classifier_interface.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/simplif_classifier_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/simplif_classifier_interface.py -------------------------------------------------------------------------------- /code/parsing/models/fine_tuning_based_on_bert_interface/token_classifier_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/fine_tuning_based_on_bert_interface/token_classifier_interface.py -------------------------------------------------------------------------------- /code/parsing/models/model_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/model_utils.py -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/__init__.py -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/__main__.py -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/__pycache__/file_utils.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/__pycache__/file_utils.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/__pycache__/modeling.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/__pycache__/modeling.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/__pycache__/optimization.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/__pycache__/optimization.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/__pycache__/tokenization.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/__pycache__/tokenization.cpython-36.pyc -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/convert_tf_checkpoint_to_pytorch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/convert_tf_checkpoint_to_pytorch.py -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/file_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/file_utils.py -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/modeling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/modeling.py -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/optimization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/optimization.py -------------------------------------------------------------------------------- /code/parsing/models/pytorch_pretrained_bert/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/models/pytorch_pretrained_bert/tokenization.py -------------------------------------------------------------------------------- /code/parsing/nltk_nlp_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/nltk_nlp_utils.py -------------------------------------------------------------------------------- /code/parsing/node_recognition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/node_recognition.py -------------------------------------------------------------------------------- /code/parsing/parsing_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/parsing_args.py -------------------------------------------------------------------------------- /code/parsing/parsing_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/parsing_utils.py -------------------------------------------------------------------------------- /code/parsing/query_graph_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/query_graph_generator.py -------------------------------------------------------------------------------- /code/parsing/relation_extraction_nff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/relation_extraction_nff.py -------------------------------------------------------------------------------- /code/parsing/skeleton_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/skeleton_parser.py -------------------------------------------------------------------------------- /code/parsing/skeleton_to_dependency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/skeleton_to_dependency.py -------------------------------------------------------------------------------- /code/parsing/structure_transfers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/parsing/structure_transfers.py -------------------------------------------------------------------------------- /code/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/requirements.txt -------------------------------------------------------------------------------- /code/running/__pycache__/running_interface.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/running/__pycache__/running_interface.cpython-36.pyc -------------------------------------------------------------------------------- /code/running/freebase/pipeline_cwq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/running/freebase/pipeline_cwq.py -------------------------------------------------------------------------------- /code/running/freebase/pipeline_graphq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/running/freebase/pipeline_graphq.py -------------------------------------------------------------------------------- /code/running/running_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/code/running/running_interface.py -------------------------------------------------------------------------------- /skeleton/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/skeleton/README.md -------------------------------------------------------------------------------- /skeleton/complexwebquestion_1_1_dev_rand_1000_v0.1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/skeleton/complexwebquestion_1_1_dev_rand_1000_v0.1.json -------------------------------------------------------------------------------- /skeleton/complexwebquestion_1_1_test_rand_1000_v0.1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/skeleton/complexwebquestion_1_1_test_rand_1000_v0.1.json -------------------------------------------------------------------------------- /skeleton/complexwebquestion_1_1_train_rand_3000_v0.1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/skeleton/complexwebquestion_1_1_train_rand_3000_v0.1.json -------------------------------------------------------------------------------- /skeleton/graphquestions_test_v0.1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/skeleton/graphquestions_test_v0.1.json -------------------------------------------------------------------------------- /skeleton/graphquestions_train_v0.1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/skeleton/graphquestions_train_v0.1.json -------------------------------------------------------------------------------- /slides/2019.12.21_peking_sparqa_v0.5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/2019.12.21_peking_sparqa_v0.5.pdf -------------------------------------------------------------------------------- /slides/2019.12.21_peking_sparqa_v0.5.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/2019.12.21_peking_sparqa_v0.5.pptx -------------------------------------------------------------------------------- /slides/2019.12.2_jsai_sparqa.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/2019.12.2_jsai_sparqa.pptx -------------------------------------------------------------------------------- /slides/2019.12.2_jsai_sparqa_v0.3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/2019.12.2_jsai_sparqa_v0.3.pdf -------------------------------------------------------------------------------- /slides/2020.01.16-sparqa-poster-v0.2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/2020.01.16-sparqa-poster-v0.2.pdf -------------------------------------------------------------------------------- /slides/2020.01.24_SPARQA_2_mins_v0.2.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/2020.01.24_SPARQA_2_mins_v0.2.pptx -------------------------------------------------------------------------------- /slides/274000300.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/274000300.json -------------------------------------------------------------------------------- /slides/3419_SPARQA_poster.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/3419_SPARQA_poster.pdf -------------------------------------------------------------------------------- /slides/3419_SPARQA_poster.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/3419_SPARQA_poster.pub -------------------------------------------------------------------------------- /slides/3419_SPARQA_slides.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/3419_SPARQA_slides.pdf -------------------------------------------------------------------------------- /slides/3419_SPARQA_slides.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/3419_SPARQA_slides.pptx -------------------------------------------------------------------------------- /slides/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nju-websoft/SPARQA/HEAD/slides/README.md --------------------------------------------------------------------------------