{"library":"sparqlslurper","title":"SPARQL Slurper for rdflib","type":"library","description":"SPARQL Slurper is a Python library that provides an easy way to execute SPARQL queries and iterate over results using rdflib. Version 0.5.1 is the latest stable release, with a maintenance-focused release cadence. It supports Python >=3.7.4.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install sparqlslurper"],"cli":null},"imports":["from sparqlslurper import SlurpyGraph"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"http://github.com/hsolbrig/sparqlslurper","docs":null,"changelog":null,"pypi":"https://pypi.org/project/sparqlslurper/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from sparqlslurper import SlurpyGraph\nfrom rdflib import Graph\n\ng = Graph()\ng.parse('https://example.org/data.ttl', format='turtle')\n\nslurper = SlurpyGraph(g)\nfor row in slurper.query('SELECT ?s ?p ?o WHERE { ?s ?p ?o } LIMIT 10'):\n    print(row.s, row.p, row.o)","lang":"python","description":"Load an RDF graph, slurp SPARQL results, and iterate rows.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}