{"id":22152099,"url":"https://github.com/constraintautomaton/traveling-with-a-map","last_synced_at":"2026-02-09T09:31:03.992Z","repository":{"id":259613721,"uuid":"692074788","full_name":"constraintAutomaton/Traveling-with-a-Map","owner":"constraintAutomaton","description":"A paper on using RDF data shapes for optimizing the search space of Link Traversal queries.","archived":false,"fork":false,"pushed_at":"2025-03-18T12:23:27.000Z","size":3135,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T00:34:28.240Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/constraintAutomaton.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-15T13:58:09.000Z","updated_at":"2025-03-18T12:23:30.000Z","dependencies_parsed_at":"2024-12-20T05:18:42.642Z","dependency_job_id":"b60ec288-745a-4403-8911-07460a517b56","html_url":"https://github.com/constraintAutomaton/Traveling-with-a-Map","commit_stats":null,"previous_names":["constraintautomaton/query-shape-containment-paper","constraintautomaton/traveling-with-a-map"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constraintAutomaton%2FTraveling-with-a-Map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constraintAutomaton%2FTraveling-with-a-Map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constraintAutomaton%2FTraveling-with-a-Map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constraintAutomaton%2FTraveling-with-a-Map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/constraintAutomaton","download_url":"https://codeload.github.com/constraintAutomaton/Traveling-with-a-Map/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245276799,"owners_count":20589033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T00:41:47.655Z","updated_at":"2026-02-09T09:30:58.971Z","avatar_url":"https://github.com/constraintAutomaton.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traveling with a Map: Optimizing the Search Space of Link Traversal Queries Using RDF Data Shapes\n\nThe centralization of web information raises legal and ethical concerns, particularly in social, healthcare, and education applications. Decentralization offers a promising alternative, but efficient query performance remains a challenge. Link Traversal Query Processing (LTQP) enables querying in decentralized networks but suffers from long execution times and high data transfer due to excessive HTTP requests. We propose a shape-based pruning approach that utilizes *shape indexes* and a *query-shape subsumption* algorithm to reduce the search space and, consequently, the number of HTTP requests. We formalize this method as a link pruning mechanism for LTQP and evaluate its impact on social media queries using the Solidbench benchmark. Our results show that shape-based pruning improves query execution time and reduces network usage by up to 7 times compared to the state of the art, with the tradeoff of an insignificant increase in the number of triples per shape-index instance. This work demonstrates the potential of shape-based metadata for optimizing LTQP queries in decentralized knowledge graphs.\n\n\n## Building a PDF\nThe repository uses [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) for the figures.\nThe first step is to make sure that the submodule is instantiated.\nYou can do this during the cloning process by using the following command:\n```bash\ngit clone --recurse-submodules -j8 {repo-url}\n``` \nAlternatively, if you've already cloned the repository, you can initialize the submodule afterward with:\n```bash\ngit submodule update --init --recursive\n```\nThe authors compiled the PDF version using `pdflatex` (you can use your favorite latex compiler).\nWe created a `makefile` to facilitate the building of the PDF version.\nIf `pdflatex` and the other dependencies of the [TeX Live](https://tug.org/texlive/) suite and [`latexmk`](https://mgeier.github.io/latexmk.html) are installed on the machine of the user you can generate the PDF by running:\n\n```bash\nmake main.pdf\n```\n\nor simply:\n\n```bash\nmake\n```\n\n## Complementary Material\n\nhttps://github.com/shapeIndexComunicaExperiment/documentation/blob/main/README.md\n\n## License\nThe code is licensed under the CC-BY-4.0 license. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconstraintautomaton%2Ftraveling-with-a-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconstraintautomaton%2Ftraveling-with-a-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconstraintautomaton%2Ftraveling-with-a-map/lists"}