{ "info": { "author": "Simon Jupp", "author_email": "jupp@ebi.ac.uk", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 2.7", "Topic :: Scientific/Engineering :: Bio-Informatics" ], "description": "HCA Bundle JSON-LD\n==================\n\nRepresenting HCA Bundles as JSON-LD allows them to be easily converted\nto RDF and queried using SPARQL. This software, when combined with a\ngraph or triplet store can provide semantic data models that allow for\nan expressive query interface.\n\nUsage\n-----\n\nThe \"bundle\\_to\\_rdf\" module presents a method for converting HCA\nbundles to RDF ttl files.\n\n::\n\n import requests\n import bundle_to_rdf\n\n DSS_URL = \"https://dss.dev.data.humancellatlas.org/v1\"\n bundle_uuid = \"4be0071d-b36e-4414-a7ee-7b879f60be7c\"\n\n r = requests.get(\"{}/bundles/{}?replica=aws\".format(DSS_URL, bundle_uuid))\n bundle = r.json()\n\n file_name = bundle_to_rdf.bundle_to_rdf(bundle)\n print(file_name)\n\nA file is created in the current working directory with a filename\nfollowing the pattern: ``{bundle_uuid}.ttl``.\n\nThis file can then be loaded into a triplet store of your choosing. For\nan example of usage with BlazeGraph, check out the\n``example-usage.ipynb``.\n\nDevelopment\n-----------\n\nThis module should make as few assumptions about the DSS data model as\npossible. Future developments would use this module as part of a service\nto either create RDF that can be queried directly, or loaded into a\ngraph store like Blazegraph or Amazon Neptune.\n\nTODO\n~~~~\n\n- Add unit tests, the module currently relies on active connections to\n the DSS\n- Improve example notebook with biological use cases\n- Demonstrate using the SPARQL and RDF interface to demonstrate tabular\n representations\n- Integrate into a microservice for generating RDF from bundles on the\n fly\n\nContributing\n~~~~~~~~~~~~\n\n- Please add any issues you experience to our Github issue tracker!\n- This software is Open Source, Apache licensed, send in your changes!", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/simonjupp/hca-bundle-jsonld", "keywords": "genomics", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "hca-bundle-jsonld", "package_url": "https://pypi.org/project/hca-bundle-jsonld/", "platform": "", "project_url": "https://pypi.org/project/hca-bundle-jsonld/", "project_urls": { "Homepage": "https://github.com/simonjupp/hca-bundle-jsonld" }, "release_url": "https://pypi.org/project/hca-bundle-jsonld/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Create RDF and JSON-LD from HCA bundles", "version": "0.1.2" }, "last_serial": 3694799, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "6649d1c333c109cf09025647aa05ba5c", "sha256": "3b3e25c2152937320501279f4a1d7f05d3795992073c9afa8257fa1778d69196" }, "downloads": -1, "filename": "hca-bundle-jsonld-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6649d1c333c109cf09025647aa05ba5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4140, "upload_time": "2018-03-22T09:51:00", "url": "https://files.pythonhosted.org/packages/9f/3e/ea501a89db84f0aff2b8d4aadf69fd5c35fd40cab7c1224f5aa601815470/hca-bundle-jsonld-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "6938bb387343ba2806e04d61e8df7076", "sha256": "852a7e6f429fa375f4c7c5ad09ac252fc54ae92a8b295b53e15eabb3be1c0ee9" }, "downloads": -1, "filename": "hca-bundle-jsonld-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6938bb387343ba2806e04d61e8df7076", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4170, "upload_time": "2018-03-22T09:54:23", "url": "https://files.pythonhosted.org/packages/62/5c/edc8a14034d1a15301d4782f8b3fe2e1cd144c451f5b81d8978f1aede473/hca-bundle-jsonld-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6938bb387343ba2806e04d61e8df7076", "sha256": "852a7e6f429fa375f4c7c5ad09ac252fc54ae92a8b295b53e15eabb3be1c0ee9" }, "downloads": -1, "filename": "hca-bundle-jsonld-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6938bb387343ba2806e04d61e8df7076", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4170, "upload_time": "2018-03-22T09:54:23", "url": "https://files.pythonhosted.org/packages/62/5c/edc8a14034d1a15301d4782f8b3fe2e1cd144c451f5b81d8978f1aede473/hca-bundle-jsonld-0.1.2.tar.gz" } ] }