SPARQLWrapper

Software screenshot:
SPARQLWrapper
Dettagli del software:
Versione: 1.5.2
Data di caricamento: 20 Feb 15
Licenza: Libero
Popolarità: 17

Rating: nan/5 (Total Votes: 0)

SPARQLWrapper è un'interfaccia endpoint SPARQL a Python. Si tratta di un wrapper per un servizio SPARQL. Essa aiuta a creare l'URI query e, eventualmente, convertire il risultato in un formato più gestibile.
Il pacchetto SPARQLWrapper è rilasciato sotto licenza W3C.
Qui si ha un esempio di come utilizzare la libreria nel programma python:
da SPARQLWrapper SPARQLWrapper import, JSON
SPARQL = SPARQLWrapper ("http://dbpedia.org/sparql")
sparql.setQuery ("" "
& nbsp; rdfs prefisso:
& Nbsp;? SELEZIONA label
& Nbsp; DOVE {rdfs: label label}
"" ")
sparql.setReturnFormat (JSON)
risultati = sparql.query (). convertire ()
per dare risultati ["risultati"] ["binding"]:
& Nbsp; risultato di stampa ["label"] ["value"]

Requisiti :

  • Python

Programmi simili

Cache Monitor
Cache Monitor

17 Feb 15

TPDA
TPDA

20 Feb 15

MONyog
MONyog

17 Feb 15

Qore xmlsec Module
Qore xmlsec Module

20 Feb 15

Commenti a SPARQLWrapper

I commenti non trovato
Aggiungi commento
Accendere le immagini!