Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    sparqlhttp 1.13

    Download button

    No screenshots available
    Downloads: 439  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Drew Perttula | More programs
    LGPL / FREE
    January 14th, 2012, 10:03 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    sparqlhttp description

    HTTP SPARQL server and client for twisted and rdflib

    sparqlhttp is a Python library for programs that use twisted for networking, use rdflib for RDF, and want to do sparql over http. It contains a client and a server, but you should be able to mix and match with other sparql clients and servers.

    Classes

    - RemoteGraph twisted web client that talks to SPARQLResource (or other sparql-over-http servers)

    HTTP

    - SPARQLResource twisted web resource that supports various GET/POST commands

    - Graph2 slightly different API for the rdflib graph class
    ConjunctiveGraph (from rdflib)

    There is also a LocalGraph class, which presents exactly the same API as RemoteGraph, but it talks to an in-process rdflib graph. This is convenient for testing your async RemoteGraph code without bothering to setup the http connection.

    # this code will work whether graph is a RemoteGraph or a LocalGraph

     def method(self):
     d = graph.remoteLabel(subj)
     d.addCallback(self.withLabel)

     def withLabel(self, label):
     print label



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    SPARQL server | HTTP server | SPARQL client | HTTP | SPARQL | server

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM