{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/websrc-a-dataset-for-web-based-structural","title":"WebSRC: A Dataset for Web-Based Structural Reading Comprehension","arxiv_id":"2101.09465","date":"2021-01-23","proceeding":"EMNLP 2021 11","authors":["Xingyu Chen","Zihan Zhao","Lu Chen","Danyang Zhang","Jiabao Ji","Ao Luo","Yuxuan Xiong","Kai Yu"],"abstract":"Web search is an essential way for humans to obtain information, but it's still a great challenge for machines to understand the contents of web pages. In this paper, we introduce the task of structural reading comprehension (SRC) on web. Given a web page and a question about it, the task is to find the answer from the web page. This task requires a system not only to understand the semantics of texts but also the structure of the web page. Moreover, we proposed WebSRC, a novel Web-based Structural Reading Comprehension dataset. WebSRC consists of 400K question-answer pairs, which are collected from 6.4K web pages. Along with the QA pairs, corresponding HTML source code, screenshots, and metadata are also provided in our dataset. Each question in WebSRC requires a certain structural understanding of a web page to answer, and the answer is either a text span on the web page or yes/no. We evaluate various baselines on our dataset to show the difficulty of our task. We also investigate the usefulness of structural information and visual features. Our dataset and baselines have been publicly available at https://x-lance.github.io/WebSRC/.","url_abs":"https://arxiv.org/abs/2101.09465v2","url_pdf":"https://arxiv.org/pdf/2101.09465v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"websrc-a-dataset-for-web-based-structural","repo_url":"https://github.com/X-LANCE/WebSRC-Baseline","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"reading-comprehension","task_name":"Reading Comprehension"}],"methods":[],"datasets_introduced":[{"slug":"websrc","name":"WebSRC","full_name":"WebSRC: A Dataset for Web-Based Structural Reading Comprehension"}],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2101.09465","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2101.09465"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/X-LANCE/WebSRC-Baseline","reach":null}],"summary":{"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"listed":{"samples":2,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"d7665067db2419c7","entry":"convert_csv_to_dict","repo":"X-LANCE/WebSRC-Baseline","repo_kind":"listed","path":"src/dataset_generation.py","file_url":"https://github.com/X-LANCE/WebSRC-Baseline/blob/HEAD/src/dataset_generation.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d7665067db2419c7"}},{"code_sha256_prefix":"25cc7305c47dc14a","entry":"dataset_split","repo":"X-LANCE/WebSRC-Baseline","repo_kind":"listed","path":"src/dataset_generation.py","file_url":"https://github.com/X-LANCE/WebSRC-Baseline/blob/HEAD/src/dataset_generation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"25cc7305c47dc14a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}