{"id":28966361,"url":"https://github.com/dice-group/rdfdetector","last_synced_at":"2026-07-16T22:33:15.492Z","repository":{"id":136895968,"uuid":"260540715","full_name":"dice-group/rdfdetector","owner":"dice-group","description":"Detect RDF serialization format used for a given data stream","archived":false,"fork":false,"pushed_at":"2021-05-04T13:07:14.000Z","size":1977,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-16T23:56:18.339Z","etag":null,"topics":["hdt","json-ld","n-quads","n-triples","notation3","rdf","rdfjson","rdfxml","trig","trix","turtle"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dice-group.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2020-05-01T19:23:10.000Z","updated_at":"2025-10-24T14:54:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"405f3fac-7271-44d3-be6c-af8c38f6aabe","html_url":"https://github.com/dice-group/rdfdetector","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dice-group/rdfdetector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dice-group%2Frdfdetector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dice-group%2Frdfdetector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dice-group%2Frdfdetector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dice-group%2Frdfdetector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dice-group","download_url":"https://codeload.github.com/dice-group/rdfdetector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dice-group%2Frdfdetector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35560452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-16T02:00:06.687Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["hdt","json-ld","n-quads","n-triples","notation3","rdf","rdfjson","rdfxml","trig","trix","turtle"],"created_at":"2025-06-24T07:31:42.645Z","updated_at":"2026-07-16T22:33:15.476Z","avatar_url":"https://github.com/dice-group.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"Detect RDF serialization format used for a given data stream.\n\n## Usage\n\n```\n\u003crepository\u003e\n    \u003cid\u003eorg.aksw.maven.internal\u003c/id\u003e\n    \u003cname\u003eUniversity Leipzig, AKSW Maven2 Repository\u003c/name\u003e\n    \u003curl\u003ehttps://maven.aksw.org/repository/internal\u003c/url\u003e\n\u003c/repository\u003e\n```\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.dice-research\u003c/groupId\u003e\n    \u003cartifactId\u003erdfdetector\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n```java\nimport org.apache.jena.riot.Lang;\nimport org.dice_research.rdfdetector.RdfSerializationDetector;\n\nRdfSerializationDetector detector = new RdfSerializationDetector();\n\nBufferedInputStream stream = /* ... */;\nfor (Lang lang : detector.detect(stream)) { /* ... */ }\n```\n\n## Source\n\nhttps://github.com/dice-group/rdfdetector\n\n## Supported formats and the corresponding automatons\n\n### N-Quads\nhttps://www.w3.org/TR/2014/REC-n-quads-20140225/\n\n![](figures/LangNQuads.dot.png)\n\n### Notation3\nhttps://www.w3.org/TeamSubmission/2011/SUBM-n3-20110328/\n\n![](figures/LangN3.dot.png)\n\n### TriG\nhttps://www.w3.org/TR/2014/REC-trig-20140225/\n\n![](figures/LangTriG.dot.png)\n\n### JSON-LD\nhttps://www.w3.org/TR/2014/REC-json-ld-20140116/\n\n![](figures/LangJSONLD.dot.png)\n\n### RDFJSON\nhttps://www.w3.org/TR/2013/NOTE-rdf-json-20131107/\n\n![](figures/LangRDFJSON.dot.png)\n\n### RDF/XML\nhttps://www.w3.org/TR/2014/REC-rdf-syntax-grammar-20140225/\n\n![](figures/LangRDFXML.dot.png)\n\n### TriX\nhttps://www.hpl.hp.com/techreports/2004/HPL-2004-56.pdf\n\n![](figures/LangTriX.dot.png)\n\n### HDT\nhttp://www.rdfhdt.org/hdt-internals/\n\n![](figures/LangHDT.dot.png)\n\n### Other formats\nTurtle and N-Triples are supported as subsets of Notation3.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdice-group%2Frdfdetector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdice-group%2Frdfdetector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdice-group%2Frdfdetector/lists"}