{"id": "doi/10.5281/zenodo.21335284", "created": "2026-10-27T15:30:02.099918+00:00", "updated": "2026-10-27T15:30:02.158462+00:00", "links": {"self": "https://nma.eosc.cz/api/datasets/doi/10.5281/zenodo.21335284", "self_html": "https://nma.eosc.cz/datasets/records/doi/10.5281/zenodo.21335284", "reserve_doi": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/draft/pids/doi", "parent": "https://nma.eosc.cz/api/datasets/pczdx-dw628", "parent_html": "https://nma.eosc.cz/records/pczdx-dw628", "self_iiif_manifest": "https://nma.eosc.cz/api/iiif/record:doi/10.5281/zenodo.21335284/manifest", "self_iiif_sequence": "https://nma.eosc.cz/api/iiif/record:doi/10.5281/zenodo.21335284/sequence/default", "files": "https://nma.eosc.cz/api/datasets/doi/10.5281/zenodo.21335284/files", "media_files": "https://nma.eosc.cz/api/datasets/doi/10.5281/zenodo.21335284/media-files", "archive": "https://nma.eosc.cz/api/datasets/doi/10.5281/zenodo.21335284/files-archive", "archive_media": "https://nma.eosc.cz/api/datasets/doi/10.5281/zenodo.21335284/media-files-archive", "latest": "https://nma.eosc.cz/api/datasets/doi/10.5281/zenodo.21335284/versions/latest", "latest_html": "https://nma.eosc.cz/datasets/records/doi/10.5281/zenodo.21335284/latest", "versions": "https://nma.eosc.cz/api/datasets/doi/10.5281/zenodo.21335284/versions", "record": "https://nma.eosc.cz/api/datasets/doi/10.5281/zenodo.21335284", "access_links": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/access/links", "access_grants": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/access/grants", "access_users": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/access/users", "access_groups": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/access/groups", "access_request": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/access/request", "access": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/access", "communities": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/communities", "communities-suggestions": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/communities-suggestions", "request_deletion": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/request-deletion", "file_modification": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/file-modification", "quota_increase": "https://nma.eosc.cz/api/records/doi/10.5281/zenodo.21335284/quota-increase", "requests": "https://nma.eosc.cz/api/requests/?topic=record:doi/10.5281/zenodo.21335284", "applicable-requests": "https://nma.eosc.cz/api/requests/applicable?topic=record:doi/10.5281/zenodo.21335284", "self_persistent_html": "https://nma.eosc.cz/s/doi/10.5281/zenodo.21335284"}, "revision_id": 3, "parent": {"id": "pczdx-dw628", "access": {"owned_by": {"user": "system"}, "settings": {"allow_user_requests": false, "allow_guest_requests": false, "accept_conditions_text": null, "secret_link_expiration": 0}}, "communities": {"ids": ["f6f58523-9fb6-4267-b204-f015d13f7a91"], "default": "f6f58523-9fb6-4267-b204-f015d13f7a91", "entries": [{"id": "f6f58523-9fb6-4267-b204-f015d13f7a91", "created": "2026-10-27T10:51:41.821930+00:00", "updated": "2026-10-27T10:51:41.935778+00:00", "links": {}, "revision_id": 2, "slug": "zenodo-upol", "metadata": {"title": "Palack\u00fd University Olomouc", "description": "Datasets of Palack\u00fd University Olomouc harvested from Zenodo."}, "access": {"visibility": "public", "members_visibility": "restricted", "member_policy": "closed", "record_submission_policy": "open", "review_policy": "closed"}, "custom_fields": {}, "deletion_status": {"is_deleted": false, "status": "P"}, "children": {"allow": false}}]}, "pids": {}, "workflow": null}, "versions": {"is_latest": true, "index": 1}, "is_published": true, "is_draft": false, "pids": {"oai": {"identifier": "oai:nma.eosc.cz:doi/10.5281/zenodo.21335284", "provider": "oai"}}, "metadata": {"publication_date": "2026", "persistent_url": "https://doi.org/10.5281/zenodo.21335284", "title": "Formalizing Narratives for Spatial Context Extraction in GeoA", "description": "Minimal Reproducibility Package for Formalizing Narratives for Spatial Context Extraction in GeoAI\n\nThis Zenodo record contains the minimal reproducibility package associated with the following manuscript:\n\nMen\u0161\u00edk, M., \u010c\u00edhalov\u00e1, M., Rapant, P., Du\u017e\u00ed, M., \u017d\u00e1\u010dek, M., and Albert, A.Formalizing Narratives for Spatial Context Extraction in GeoAI2026\n\nThe manuscript has been submitted for publication and is currently under review.\n\nThe package implements the text-processing pipeline described in the manuscript. It processes English sentences describing movement using spaCy and a set of custom rules for identifying the values of the directional valency functors DIR1, DIR2, DIR3, and MANN.\n\nThe identified information is transformed into a structured, Prolog-oriented representation intended for subsequent computational processing. The package also includes a simple web interface implemented using Flask.\n\nPackage Contents\n\nThe archive contains:\n\n\n\nthe complete Python source code required to run the processing pipeline;\n\na Flask web application providing a graphical interface to the pipeline;\n\nthe rule-based implementation for identifying the values of DIR1, DIR2, DIR3, and MANN;\n\nplain-text files containing independent example sentences;\n\ngenerated visually formatted outputs;\n\ngenerated structured outputs;\n\nproject documentation in README.md;\n\ndependency specifications in requirements.txt.\n\n\nEach example input file contains one English sentence per line. Every sentence describes a single main movement event and may explicitly specify its origin, path, destination, or relative direction.\n\nThe sentences are processed independently and do not form a continuous narrative.\n\nReproducibility Scope\n\nThe supplied example sentences are designed so that the expected values of DIR1, DIR2, DIR3, and MANN can be identified directly from their meaning.\n\nThe package can be used to:\n\n\n\nprocess the supplied example sentence files using the pipeline described in the associated manuscript;\n\ngenerate a visually formatted representation of the identified functor values;\n\ngenerate structured output intended for subsequent computational processing;\n\nprocess additional English sentence files that follow the supported input format;\n\ninspect which extraction rule produced each identified value.\n\n\nThe supplied text files serve as demonstration inputs for the implemented processing workflow. They do not constitute an annotated evaluation dataset, a quantitative benchmark, or a continuous narrative dataset.\n\nInput and Output\n\nInput files must be UTF-8-encoded plain-text files containing exactly one complete English sentence per line. The files contain no header or additional metadata, and empty lines between sentences should be avoided.\n\nFor each sentence, the application generates four records corresponding to DIR1, DIR2, DIR3, and MANN. Each record contains:\n\n\n\nthe numerical identifier of the narrative;\n\nthe numerical identifier of the sentence;\n\nthe identifier of the rule that produced the result;\n\nthe functor type;\n\nthe identified functor value;\n\nthe associated motion verb.\n\n\nFunctors for which no value was identified are omitted.\n\nThe output is a structured, TIL Script representation.\n\nReproducing the Processing Workflow\n\nThe accompanying README.md provides detailed instructions for:\n\n\n\ncreating and activating a Python virtual environment;\n\ninstalling the required dependencies;\n\ninstalling the required spaCy language model;\n\nstarting the Flask web application;\n\nprocessing the supplied example files;\n\nprocessing additional files in the supported format;\n\ninspecting and downloading the generated outputs.\n\n\nFollowing these instructions enables independent researchers to run and inspect the complete sentence-processing workflow implemented in the package.\n\nTechnical Environment\n\nThe package was developed and tested using:\n\n\n\nPython: 3.12.6\n\nFlask: 3.1.3\n\nspaCy: 3.8.14\n\nspaCy language model: en_core_web_trf 3.8.0\n\nOperating system: Windows 11\n\n\nAll additional Python dependencies are listed in requirements.txt.\n\nKnown Limitations\n\nThe implementation is intended for English sentences describing a single main movement event with a limited amount of explicitly expressed spatial information.\n\nEach input line is processed independently. The application does not use information from preceding or following sentences and does not perform cross-sentence coreference resolution.\n\nThe quality of the generated output depends on the tokenization, lemmatization, part-of-speech tagging, and dependency analysis produced by spaCy. Sentences containing unusual word order, implicit spatial information, multiple movement events, or syntactic ambiguity may not be processed correctly.\n\nThe application does not resolve identified place names against an external geographic database.\n\nData Availability\n\nThe archive includes the example input files and the corresponding generated outputs used to demonstrate the processing workflow.\n\nThe example sentences do not represent a complete experimental dataset and are not intended for quantitative evaluation of the method.\n\nLicense\n\nThe source code included in this reproducibility package is distributed under the MIT License.\n\nThe example input sentences and the accompanying documentation are distributed under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.\n\nThird-party software and language models used by the application, including spaCy, Flask, and en_core_web_trf, remain subject to their respective licenses and are not relicensed as part of this package.\n\nPurpose\n\nThis reproducibility package enables independent researchers to inspect, run, verify, and reuse the implementation of the processing pipeline described in the associated manuscript.\n\nThe archived materials support methodological transparency, verification of the implemented extraction rules, long-term preservation of the source code, and further research on the extraction of spatial information from natural-language descriptions.\n\nContact\n\nFor questions concerning the source code or the processing workflow, contact:\n\nAdam AlbertDepartment of Computer Science, FEECSVSB \u2013 Technical University of OstravaEmail: adam.albert@vsb.cz\n\nFunding\n\nWork is partially supported by SP2026/056 Application of Formal Methods in Knowledge Modelling and Software Engineering IX, V\u0160B - Technical University of Ostrava, Czech Republic.", "publisher": "Zenodo", "creators": [{"person_or_org": {"type": "personal", "name": "Mensik, Marek", "given_name": "Marek", "family_name": "Mensik", "identifiers": [{"identifier": "0000-0001-9482-3777", "scheme": "orcid"}]}, "affiliations": [{"id": "05x8mcb75", "name": "VSB - Technical University of Ostrava", "identifiers": [{"identifier": "05x8mcb75", "scheme": "ror"}]}]}, {"person_or_org": {"type": "personal", "name": "\u010c\u00edhalov\u00e1, Martina", "given_name": "Martina", "family_name": "\u010c\u00edhalov\u00e1", "identifiers": [{"identifier": "0000-0001-9451-6523", "scheme": "orcid"}]}, "affiliations": [{"id": "04qxnmv42", "name": "Palack\u00fd University Olomouc", "identifiers": [{"identifier": "04qxnmv42", "scheme": "ror"}]}]}, {"person_or_org": {"type": "personal", "name": "Rapant, Petr", "given_name": "Petr", "family_name": "Rapant", "identifiers": [{"identifier": "0000-0002-9839-7610", "scheme": "orcid"}]}, "affiliations": [{"name": "VSB - Technical Univerzity of Ostrava"}]}, {"person_or_org": {"type": "personal", "name": "Duzi, Marie", "given_name": "Marie", "family_name": "Duzi", "identifiers": [{"identifier": "0000-0002-5393-6916", "scheme": "orcid"}]}, "affiliations": [{"id": "05x8mcb75", "name": "VSB - Technical University of Ostrava", "identifiers": [{"identifier": "05x8mcb75", "scheme": "ror"}]}]}, {"person_or_org": {"type": "personal", "name": "\u017d\u00e1\u010dek, Marek", "given_name": "Marek", "family_name": "\u017d\u00e1\u010dek", "identifiers": [{"identifier": "0009-0000-3141-9195", "scheme": "orcid"}]}, "affiliations": [{"id": "05x8mcb75", "name": "VSB - Technical University of Ostrava", "identifiers": [{"identifier": "05x8mcb75", "scheme": "ror"}]}]}, {"person_or_org": {"type": "personal", "name": "Albert, Adam", "given_name": "Adam", "family_name": "Albert", "identifiers": [{"identifier": "0000-0002-8371-1339", "scheme": "orcid"}]}, "affiliations": [{"id": "05x8mcb75", "name": "VSB - Technical University of Ostrava", "identifiers": [{"identifier": "05x8mcb75", "scheme": "ror"}]}]}], "dates": [{"date": "2026-07-13", "type": {"id": "issued", "title": {"cs": "Datum vyd\u00e1n\u00ed", "en": "Date Issued"}}}, {"date": "2026-07-28", "type": {"id": "updated", "title": {"cs": "Datum aktualizace", "en": "Date Updated"}}}], "resource_type": {"id": "dataset", "title": {"cs": "Datov\u00e1 sada", "en": "Dataset"}}, "rights": [{"id": "cc-by-4.0", "title": {"cs": "Creative Commons Uve\u010fte p\u016fvod 4.0 Mezin\u00e1rodn\u00ed licence", "en": "Creative Commons Attribution 4.0 International"}, "description": {"cs": "Umo\u017e\u0148uje ostatn\u00edm rozmno\u017eovat, roz\u0161i\u0159ovat, vystavovat a sd\u011blovat d\u00edlo a z n\u011bj odvozen\u00e1 d\u00edla pouze p\u0159i uveden\u00ed autora. V \u010de\u0161tin\u011b: Uve\u010fte p\u016fvod (v \u010de\u0161tin\u011b d\u0159\u00edve ozna\u010dov\u00e1no jako Uve\u010fte autora); v angli\u010dtin\u011b: Attribution; zkratka CC BY.", "en": "The Creative Commons Attribution license allows re-distribution and re-use of a licensed work on the condition that the creator is appropriately credited."}, "props": {"url": "https://creativecommons.org/licenses/by/4.0/", "scheme": "spdx"}}]}, "custom_fields": {}, "access": {"record": "public", "files": "public", "embargo": {"active": false, "reason": null}, "status": "metadata-only"}, "files": {"enabled": false, "order": [], "count": 0, "total_bytes": 0, "entries": {}}, "media_files": {"enabled": false, "order": [], "count": 0, "total_bytes": 0, "entries": {}}, "status": "published", "deletion_status": {"is_deleted": false, "status": "P"}, "stats": {"this_version": {"views": 0, "unique_views": 0, "downloads": 0, "unique_downloads": 0, "data_volume": 0.0}, "all_versions": {"views": 0, "unique_views": 0, "downloads": 0, "unique_downloads": 0, "data_volume": 0.0}}, "$schema": "local://datasets-v1.0.0.json", "state": "published", "state_timestamp": "2026-10-27T15:30:02.103147+00:00"}