{"id":22823037,"url":"https://github.com/dataobservatory-eu/turtle","last_synced_at":"2026-02-03T13:06:43.601Z","repository":{"id":219473971,"uuid":"749138537","full_name":"dataobservatory-eu/tuRtle","owner":"dataobservatory-eu","description":"A Turtle converter for R","archived":false,"fork":false,"pushed_at":"2025-07-13T09:12:46.000Z","size":1844,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-25T21:42:05.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://turtle.dataobservatory.eu/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dataobservatory-eu.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null}},"created_at":"2024-01-27T17:35:39.000Z","updated_at":"2025-07-13T09:09:31.000Z","dependencies_parsed_at":"2024-06-11T21:04:07.204Z","dependency_job_id":"c7054ce4-9126-4341-8ff2-cee6775b40f3","html_url":"https://github.com/dataobservatory-eu/tuRtle","commit_stats":null,"previous_names":["dataobservatory-eu/turtle"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dataobservatory-eu/tuRtle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataobservatory-eu%2FtuRtle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataobservatory-eu%2FtuRtle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataobservatory-eu%2FtuRtle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataobservatory-eu%2FtuRtle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dataobservatory-eu","download_url":"https://codeload.github.com/dataobservatory-eu/tuRtle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dataobservatory-eu%2FtuRtle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29046503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-12T16:14:02.899Z","updated_at":"2026-02-03T13:06:43.579Z","avatar_url":"https://github.com/dataobservatory-eu.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r setupknitr, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/\",\n  out.width = \"100%\"\n)\n```\n\n# tuRtle \u003ca href='https://turtle.dataobservatory.eu/'\u003e\u003cimg src='man/figures/logo.png' align=\"right\" /\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n[![lifecycle](https://lifecycle.r-lib.org/articles/figures/lifecycle-experimental.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![Project Status: WIP](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)\n[![dataobservatory](https://img.shields.io/badge/ecosystem-dataobservatory.eu-3EA135.svg)](https://dataobservatory.eu/)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.11582410.svg)](https://zenodo.org/records/10576998)\n\u003c!-- badges: end --\u003e\n\nThe goal of tuRtle is to parse or export R data with the Turtle syntax for the Resource Description Framework (RDF). This is a very early version that is being co-developed with the [dataset](https://dataset.dataobservatory.eu/) package.\n\n## Installation\n\nYou can install the development version of tuRtle with `remotes::install_github()`:\n\n```{r installation, eval=FALSE}\nremotes::install_github(\"dataobservatory-eu/tuRtle\", build = FALSE)\n```\n\n## Example\n\nLet us organise statements into a table of *s* subject, *p* predicate and *o* object:\n\n```{r tdfdef, results='asis'}\ntdf \u003c- data.frame (s = c(\"eg:01\",\"eg:02\",  \"eg:01\", \"eg:02\", \"eg:01\" ),\n                   p = c(\"a\", \"a\", \"eg-var:\", \"eg-var:\", \"rdfs:label\"),\n                   o = c(\"qb:Observation\",\n                         \"qb:Observation\",\n                         \"\\\"1\\\"^^\u003cxs:decimal\u003e\",\n                         \"\\\"2\\\"^^\u003cxs:decimal\u003e\", \n                         '\"Example observation\"')\n                   )\n\nknitr::kable(tdf)\n```\n\nThe Turtle serialisation is this, written into an `example_file`. The parameter `ttl_namespace = NULL` results in using the default prefixes of the dataset package.\n\n```{r ttl_example}\nlibrary(tuRtle)\nexample_file\u003c- file.path(tempdir(), \"example_ttl.ttl\")\nttl_write(tdf=tdf, ttl_namespace = NULL, file_path = example_file)\n\nreadLines(example_file)\n```\n\n## Code of Conduct\n\nPlease note that the tuRtle project is released with a [Contributor Code of Conduct](https://dataobservatory-eu.github.io/tuRtle/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdataobservatory-eu%2Fturtle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdataobservatory-eu%2Fturtle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdataobservatory-eu%2Fturtle/lists"}