SPARQLWrapper

SPARQL Wrapper
Download

SPARQLWrapper Ranking & Summary

Advertisement

  • Rating:
  • License:
  • W3C License
  • Price:
  • FREE
  • Publisher Name:
  • Ivan Herman, Sergio Fernández, Carlos Tejo
  • Publisher web site:

SPARQLWrapper Tags


SPARQLWrapper Description

SPARQL Wrapper SPARQLWrapper is a SPARQL endpoint interface to Python. It is a wrapper around a SPARQL service. It helps in creating the query URI and, possibly, convert the result into a more manageable format.The SPARQLWrapper package is licensed under W3C license.Here you have an example of how to use the library in your python program:from SPARQLWrapper import SPARQLWrapper, JSONsparql = SPARQLWrapper("http://dbpedia.org/sparql")sparql.setQuery(""" PREFIX rdfs: SELECT ?label WHERE { rdfs:label ?label }""")sparql.setReturnFormat(JSON)results = sparql.query().convert()for result in results: print result Requirements: · Python


SPARQLWrapper Related Software