{"id":24129426,"url":"https://github.com/synbiodex/sbol-data","last_synced_at":"2025-08-23T05:39:37.452Z","repository":{"id":18014314,"uuid":"21039549","full_name":"SynBioDex/sbol-data","owner":"SynBioDex","description":"APIs to manage SBOL-shaped data documents.","archived":false,"fork":false,"pushed_at":"2018-05-02T13:38:08.000Z","size":551,"stargazers_count":0,"open_issues_count":7,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-23T05:39:37.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SynBioDex.png","metadata":{"files":{"readme":"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}},"created_at":"2014-06-20T13:53:31.000Z","updated_at":"2018-05-02T15:50:21.000Z","dependencies_parsed_at":"2022-08-04T22:00:32.985Z","dependency_job_id":null,"html_url":"https://github.com/SynBioDex/sbol-data","commit_stats":null,"previous_names":["drdozer/sbol-data"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/SynBioDex/sbol-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SynBioDex%2Fsbol-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SynBioDex%2Fsbol-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SynBioDex%2Fsbol-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SynBioDex%2Fsbol-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SynBioDex","download_url":"https://codeload.github.com/SynBioDex/sbol-data/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SynBioDex%2Fsbol-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745625,"owners_count":24813513,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"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":[],"created_at":"2025-01-11T19:32:07.928Z","updated_at":"2025-08-23T05:39:37.432Z","avatar_url":"https://github.com/SynBioDex.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"sbol-data\n=========\n\n\u003e *APIs to manage SBOL-shaped data documents.*\n\n## Introduction\n\nSBOL is a data model and data exchange standard for synthetic biology.\nIt captures various information about the design and function of DNA, and how DNA has been enginered.\nThe native serialization is in RDF.\nHowever, to support tools that don't have access to a full RDF stack, the serialization is highly constrained.\n**sbol-data** provides a data model that exactly captures these constraints upon how the RDF is serialized.\n\nAlthough designed for use with SBOL, the **sbol-data** data model is schema-agnostic.\nIt can be used to encode a wide range of data structures.\n\nThrough the *IO* providers framework, **sbol-data** supports a range of human- and machine-readable input and output\nformats, including:\n\n* RDF\n* JSON\n* Mock-Turtle (almost RDF-Turtle)\n* Graphviz (export only)\n\n## Overview\n\nThe **sbol-data** structures form a forest of trees. *DocumentRoot* is the top-level element, and it contains a list\nof *TopLevelDocument* children.\nEach of these is a self-contained data record.\nThese have a collection of named properties, which can have literal values (e.g. strings or ints), or can point to a\n*NestedDocument* child.\nThese can also have named properties that may themselves point to nested documents, and so on.\n\nCyclic references are not allowed.\nIf you use the *Datatree* factory object, they are not possible.\n\nEach document (TopLevelDocument or NestedDocument) has an associated URI that is its *identity*.\nThis uniquely identifies the document.\nIf one document needs to refer to another one, then this is done by having a named property were the value is a URI\nreferencing the other document.\n\n## Use\n\n```java\nimport org.sbolstandard.core.datatree.*;\nimport static org.sbolstandard.core.datatree.Datatree;\nimport org.sbolstandard.examples.Sbol2Terms;\n\n...\n\nTopLevelDocument\u003cQName\u003e modelLacIInverter = TopLevelDocument(\n  NamespaceBindings(utah),\n  Sbol2Terms.model.model,\n  sbolExample.namespacedUri(\"model/LacI_inverter\"),\n  NamedProperties(\n    NamedProperty(Sbol2Terms.documented.name, \"LacI Inverter Model\"),\n    NamedProperty(Sbol2Terms.model.source,URI.create(\"http://www.async.ece.utah.edu/LacI_Inverter.xml\")),\n    NamedProperty(Sbol2Terms.model.language,\"SBML\"),\n    NamedProperty(Sbol2Terms.model.framework,\"ODE\"),\n    NamedProperty(Sbol2Terms.model.role,\"simulation\")\n  )\n);\n\nDocumentRoot\u003cQName\u003e root = DocumentRoot(\n  NamespaceBindings(RdfTerms.rdf, SbolTerms.sbol2),\n  TopLevelDocuments(moduleLacIInverter,modelLacIInverter),\n  Datatree.LiteralProperties()\n);\n\nXMLStreamWriter xmlWriter = new IndentingXMLStreamWriter(\n  XMLOutputFactory.newInstance().createXMLStreamWriter(\n    System.out));\nRdfIo rdfIo = new RdfIo();\nrdfIo.createIoWriter(xmlWriter).write(root);\nxmlWriter.close();\n```\n\n##Change Log\nv0.1.0, 29/08/2014\nInitial release\n\nv0.1.1, 20/01/2015\nFixed the RDF prefix mapping to read  SBOL1 files \n\nv0.1.2, 29/05/2015\nExposed Boolean and Double property values\n\nv0.1.3, 17/05/2016\nAdded equals and toString methods\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynbiodex%2Fsbol-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynbiodex%2Fsbol-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynbiodex%2Fsbol-data/lists"}