{"library":"oxrdflib","title":"oxrdflib","description":"rdflib stores based on pyoxigraph. Version 0.5.0 requires Python >=3.8, upgrades pyoxigraph to 0.5, adds JSON-LD support, and improves SPARQL query behavior. Development is active on GitHub.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install oxrdflib"],"cli":null},"imports":["from oxrdflib import OxigraphStore","from oxrdflib import Oxigraph"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from rdflib import Graph\nfrom oxrdflib import OxigraphStore\n\ng = Graph(store=OxigraphStore())\ng.parse(\"example.ttl\", format=\"turtle\")\nprint(len(g))\n\n# Query\ng.update(\"INSERT DATA { <http://example.com/s> <http://example.com/p> <http://example.com/o> .}\")\nresults = g.query(\"SELECT * WHERE {?s ?p ?o}\")\nfor row in results:\n    print(row)","lang":"python","description":"Create an rdflib Graph backed by Oxigraph in-memory store. Parse and query RDF.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}