{"id":20631222,"url":"https://github.com/solidlabresearch/locationhistory","last_synced_at":"2026-04-23T09:36:52.901Z","repository":{"id":109001475,"uuid":"593183717","full_name":"SolidLabResearch/LocationHistory","owner":"SolidLabResearch","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-25T12:43:15.000Z","size":90512,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-17T07:09:37.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/SolidLabResearch.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-01-25T12:41:42.000Z","updated_at":"2023-01-25T12:43:32.000Z","dependencies_parsed_at":"2023-05-09T10:00:17.283Z","dependency_job_id":null,"html_url":"https://github.com/SolidLabResearch/LocationHistory","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2FLocationHistory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2FLocationHistory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2FLocationHistory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolidLabResearch%2FLocationHistory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SolidLabResearch","download_url":"https://codeload.github.com/SolidLabResearch/LocationHistory/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242619114,"owners_count":20159001,"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-11-16T14:11:34.737Z","updated_at":"2026-04-23T09:36:47.844Z","avatar_url":"https://github.com/SolidLabResearch.png","language":"JavaScript","readme":"\n# Location History App\n[![DOI](https://zenodo.org/badge/464384389.svg)](https://zenodo.org/badge/latestdoi/464384389)\n\nThe app prototype, let's the user capture their location from browser after logging in with their WebID and store their raw location data as RDF which is validated against a SHACL shape. The Users can also request location from other users using their webID. They can also approve/revoke the requests for sharing location from other users. \n\nThis prototype is developed as part of the SOLIDLAB Research Challenge [#10](https://github.com/SolidLabResearch/Challenges/issues/10).\n\n## Running the app\n\n### Live\n\nThe application is hosted on [github pages](https://sindhu-vasireddy.github.io/LocationHistory/).\n\n### Local\n\nIf you want to test out the application locally, execute the following steps:\n\n1. Clone the Repository.\n2. Install the node dependencies using:\n   ```npm ci```\n4. Generate the webpack bundle using:\n   ```npm run build```\n6. Start the server using:\n   ```npm start```\n\n### Note:-\nA. Enter your webid to login to your pod\ne.g. (https://data.knows.idlab.ugent.be/person/SindhuVasireddy/#me)\nB. This is a work in progress, the prototype is being added with additional features continously.\n\n## How does the app work\n\n### Model\n\n[SSN/SOSA](https://www.w3.org/TR/vocab-ssn/) is used to model the location data and how it was generated.\n\nThe device that runs the application is encoded as a [`sosa:Platform`](https://www.w3.org/TR/vocab-ssn/#SOSAPlatform). The location sensor on that device is encoded as a [`sosa:Sensor`](https://www.w3.org/TR/vocab-ssn/#SOSASensor).\n\nA location measurement includes the longitude, the latitude and a timestamp. On top of that, the persons WebID that is using the  location app is encoded as well.\nAll the measurement data is encoded as an [`sosa:Observation`](https://www.w3.org/TR/vocab-ssn/#SOSAObservation).\n\nA visualisation of this modelling can be seen in the image below.\n\n![model](vocab/model.png)\n\nFurthermore, a full example can be found at [here](vocab/examples/location_ssn.ttl). A [SHACL shape](setup/shacl/shapes.ttl) is also included to validate the model.\n\n### Storage\n\nThe data points are stored in a container with location `$StorageSpace$public/YourLocationHistory/Data/` , where `$StorageSpace$` is the root storage of the pod.\n\n#### Discovery of the root pod\n\nThe application discovers the root storage of your pod based on the `pim:storage` predicate as defined in the [Solid WebID](https://solid.github.io/webid-profile/#storage).\n\n\u003cdetails\u003e\n\u003csummary\u003eExtra information\u003c/summary\u003e\n\nHowever, storage triples are **optional** in a Solid Profile. So as a fallback the URL corresponding to the `solid:oidcIssuer` is used when a storage triple is not present.\n\nIn some cases this will point as well to your root storage, which means the application might work in that case. However, such a triple, [according to the specification](https://solid.github.io/webid-profile/#identity-provider), is only used  \"*to indicate the address of a Solid Identity Provider capable of authenticating the WebID owner.*\"\n\nSimply adding a Storage triple, as described in [https://solid.github.io/webid-profile/#storage](https://solid.github.io/webid-profile/#storage), will make sure the application works for your solid pod.\n\u003c/details\u003e\n\n\n\n### Requesting access to a friends location\n\nThe design of how to ask and give access to your friends is explained [here](./UML/) with UML diagrams.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidlabresearch%2Flocationhistory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidlabresearch%2Flocationhistory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidlabresearch%2Flocationhistory/lists"}