{ "info": { "author": "Jesse Donkervliet", "author_email": "j.donkervliet+dedalo@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Dedalo\n\nDedalo explains why a set of URIs belongs together.\n\n## Example\n\nHave a look at the example below and get going in seconds!\n\nWe'll use the file `abba.txt` as input. Its contents are:\n\n```\n1,http://dbpedia.org/resource/Benny_Andersson\n1,http://dbpedia.org/resource/Bj\u00f6rn_Ulvaeus\n1,http://dbpedia.org/resource/Agnetha_F\u00e4ltskog\n1,http://dbpedia.org/resource/Anni-Frid_Lyngstad\n2,http://dbpedia.org/resource/Linus_Torvalds\n2,http://dbpedia.org/resource/Avicii\n2,http://dbpedia.org/resource/Stellan_Skarsg\u00e5rd\n2,http://dbpedia.org/resource/Markus_Persson\n```\n\nThe number at the start of each line indicates the _group_ the URI belongs to. You can use any number you like, as long as it's an integer.\n\nYou can use the following code to explain group 1.\n\n```python\nimport dedalov2 as ddl\n\nfor explanation in ddl.explain(\"the-internet.hdt\",\n \"abba.txt\",\n minimum_score=1,\n groupid=1):\n print(explanation)\n```\n\nThe results depend on the `hdt` file you're using. If it includes URIs from DBPedia, the results look something like this:\n\n```\nhttp://dbpedia.org/property/label -| http://dbpedia.org/resource/Polar_Music\nhttp://dbpedia.org/property/associatedActs -| http://dbpedia.org/resource/ABBA\nhttp://dbpedia.org/property/wikilink -| http://dbpedia.org/resource/Anni-Frid_Lyngstad\nhttp://www.w3.org/2004/02/skos/core#subject -| http://dbpedia.org/resource/Category:ABBA_members\nhttp://dbpedia.org/property/wikilink -| http://dbpedia.org/resource/Cher\nhttp://dbpedia.org/property/wikilink -| http://dbpedia.org/resource/Polar_Music\nhttp://dbpedia.org/ontology/associatedBand -| http://dbpedia.org/resource/ABBA\nhttp://dbpedia.org/ontology/associatedMusicalArtist -| http://dbpedia.org/resource/ABBA\nhttp://dbpedia.org/property/wikilink -| http://dbpedia.org/resource/Svensktoppen\nhttp://dbpedia.org/property/wikilink -| http://dbpedia.org/resource/Eurovision_Song_Contest\nhttp://dbpedia.org/property/wikilink -| http://dbpedia.org/resource/ABBA\nhttp://dbpedia.org/property/wikiPageUsesTemplate -| http://dbpedia.org/resource/Template:infobox_musical_artist\nhttp://dbpedia.org/property/wikilink -| http://dbpedia.org/resource/Rik_Mayall\nhttp://dbpedia.org/ontology/label -| http://dbpedia.org/resource/Polar_Music\n```\n\nThese URIs are long and difficult to read.\nRead [the docs](https://dedalov2.readthedocs.io/en/latest/features.html#using-uri-prefixes) to learn how to make the output look better.\n\n## Installation\n\nDedalov2 requires Python 3 and can be installed using Python's package manager, pip.\n\n```bash\npip install dedalov2\n```\n\nDepending on your use case, you may want to pass the `-U` flag or run this in a virtual environment.\n\n## Documentation\n\nSee the [documentation page](https://dedalov2.readthedocs.io/en/latest/index.html) for more examples.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jdonkervliet/dedalov2", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "dedalov2", "package_url": "https://pypi.org/project/dedalov2/", "platform": "", "project_url": "https://pypi.org/project/dedalov2/", "project_urls": { "Homepage": "https://github.com/jdonkervliet/dedalov2" }, "release_url": "https://pypi.org/project/dedalov2/0.0.1/", "requires_dist": [ "hdt (>=2.2.1)", "psutil (>=5.6.3)" ], "requires_python": ">=3.7.2", "summary": "Explain groups of URIs on the Semantic Web", "version": "0.0.1" }, "last_serial": 5510711, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "578e9c3c5818efdca3049bc81114ea3d", "sha256": "d504956ec0edc449087e8bc6c6ad4e577710f84969a6eb8b47f1e6c284eef81c" }, "downloads": -1, "filename": "dedalov2-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "578e9c3c5818efdca3049bc81114ea3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7.2", "size": 15840, "upload_time": "2019-07-10T08:13:12", "url": "https://files.pythonhosted.org/packages/95/c4/d30a1c59d1cf43b73a53d4a64641448636b1c269744075fc378f4c286d2e/dedalov2-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c02787bc1d4cf905403cd43d2fde4365", "sha256": "345f44c027c4bd680c3c62dba886647de3f6ae0c17eb31dcc34c3bce3edf0f7e" }, "downloads": -1, "filename": "dedalov2-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c02787bc1d4cf905403cd43d2fde4365", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.2", "size": 12235, "upload_time": "2019-07-10T08:13:14", "url": "https://files.pythonhosted.org/packages/7b/80/6506571b1786aed615687702420a8de555067a98c25f20e7ac22ed7bc756/dedalov2-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "578e9c3c5818efdca3049bc81114ea3d", "sha256": "d504956ec0edc449087e8bc6c6ad4e577710f84969a6eb8b47f1e6c284eef81c" }, "downloads": -1, "filename": "dedalov2-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "578e9c3c5818efdca3049bc81114ea3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7.2", "size": 15840, "upload_time": "2019-07-10T08:13:12", "url": "https://files.pythonhosted.org/packages/95/c4/d30a1c59d1cf43b73a53d4a64641448636b1c269744075fc378f4c286d2e/dedalov2-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c02787bc1d4cf905403cd43d2fde4365", "sha256": "345f44c027c4bd680c3c62dba886647de3f6ae0c17eb31dcc34c3bce3edf0f7e" }, "downloads": -1, "filename": "dedalov2-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c02787bc1d4cf905403cd43d2fde4365", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.2", "size": 12235, "upload_time": "2019-07-10T08:13:14", "url": "https://files.pythonhosted.org/packages/7b/80/6506571b1786aed615687702420a8de555067a98c25f20e7ac22ed7bc756/dedalov2-0.0.1.tar.gz" } ] }