bikidata


Namebikidata JSON
Version 0.2.22 PyPI version JSON
download
home_pagehttps://github.com/ISE-FIZKarlsruhe/bikidata/
SummaryDeveloper-friendly Queries over RDF triples
upload_time2025-08-08 17:35:43
maintainerNone
docs_urlNone
authorEtienne Posthumus
requires_python<4.0,>=3.10
licenseMIT
keywords search rdf linked data
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # bikiDATA

## Developer-friendly Queries over RDF triples

Using this tool you can hit the ground running, and make some useful queries over RDF data using simple JSON calls.

### Getting started TL;DR

You have a n-triple file called `myfile.nt`.

Install bikidata by saying `pip install bikidata`

Import it into bikidata with: `python -m bikidata myfile.nt`

And now, in a python prompt, you can query things, for example:

```python
import bikidata

r = bikidata.query({
    "filters": [
        {"p":"fts",
         "o":"something"
        }
    ]
})
```

or

```python
r = bikidata.query({
    "filters": [
        { "p":"id",
          "o":"<http://example.com/id/123>"
        }
    ]
})
```

or

```python
r = bikidata.query({
    "filters": [
        {"p":"fts",
         "o":"something"
        },
        { "op":"not",
          "p":"<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>",
          "o":"<https://swapi.co/vocabulary/Species>"
        }
    ]
})
```

For more examples, see the file: [examples.ipynb](examples.ipynb)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ISE-FIZKarlsruhe/bikidata/",
    "name": "bikidata",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "search, RDF, Linked Data",
    "author": "Etienne Posthumus",
    "author_email": "ep@epoz.org",
    "download_url": "https://files.pythonhosted.org/packages/c7/a8/28049a0bfd0d74c2b5d2cd16b528ffeee254445871568193560653beaf3e/bikidata-0.2.22.tar.gz",
    "platform": null,
    "description": "# bikiDATA\n\n## Developer-friendly Queries over RDF triples\n\nUsing this tool you can hit the ground running, and make some useful queries over RDF data using simple JSON calls.\n\n### Getting started TL;DR\n\nYou have a n-triple file called `myfile.nt`.\n\nInstall bikidata by saying `pip install bikidata`\n\nImport it into bikidata with: `python -m bikidata myfile.nt`\n\nAnd now, in a python prompt, you can query things, for example:\n\n```python\nimport bikidata\n\nr = bikidata.query({\n    \"filters\": [\n        {\"p\":\"fts\",\n         \"o\":\"something\"\n        }\n    ]\n})\n```\n\nor\n\n```python\nr = bikidata.query({\n    \"filters\": [\n        { \"p\":\"id\",\n          \"o\":\"<http://example.com/id/123>\"\n        }\n    ]\n})\n```\n\nor\n\n```python\nr = bikidata.query({\n    \"filters\": [\n        {\"p\":\"fts\",\n         \"o\":\"something\"\n        },\n        { \"op\":\"not\",\n          \"p\":\"<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>\",\n          \"o\":\"<https://swapi.co/vocabulary/Species>\"\n        }\n    ]\n})\n```\n\nFor more examples, see the file: [examples.ipynb](examples.ipynb)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Developer-friendly Queries over RDF triples",
    "version": "0.2.22",
    "project_urls": {
        "Homepage": "https://github.com/ISE-FIZKarlsruhe/bikidata/",
        "Repository": "https://github.com/ISE-FIZKarlsruhe/bikidata/"
    },
    "split_keywords": [
        "search",
        " rdf",
        " linked data"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bfe493dba0bbb9fc8e0b1a11d119d01b1fa0ddaa743a35788642c00c3ed0df94",
                "md5": "ca3496865b690dbd542488e17e8efcc6",
                "sha256": "920d5cdbbe6c31fcd851690955b8560cc0461ecc15f02f9bd7632619cda79ad6"
            },
            "downloads": -1,
            "filename": "bikidata-0.2.22-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ca3496865b690dbd542488e17e8efcc6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 12881,
            "upload_time": "2025-08-08T17:35:42",
            "upload_time_iso_8601": "2025-08-08T17:35:42.621373Z",
            "url": "https://files.pythonhosted.org/packages/bf/e4/93dba0bbb9fc8e0b1a11d119d01b1fa0ddaa743a35788642c00c3ed0df94/bikidata-0.2.22-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7a828049a0bfd0d74c2b5d2cd16b528ffeee254445871568193560653beaf3e",
                "md5": "795d3f311c466bec2dac815c0a0a1a32",
                "sha256": "c3565461827ca0d60f1f9a0162cac8ca455cec5f0597d282f770731adb90862e"
            },
            "downloads": -1,
            "filename": "bikidata-0.2.22.tar.gz",
            "has_sig": false,
            "md5_digest": "795d3f311c466bec2dac815c0a0a1a32",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 11003,
            "upload_time": "2025-08-08T17:35:43",
            "upload_time_iso_8601": "2025-08-08T17:35:43.909764Z",
            "url": "https://files.pythonhosted.org/packages/c7/a8/28049a0bfd0d74c2b5d2cd16b528ffeee254445871568193560653beaf3e/bikidata-0.2.22.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-08 17:35:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ISE-FIZKarlsruhe",
    "github_project": "bikidata",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "bikidata"
}
        
Elapsed time: 0.99471s