Module sdjas :: Class SymbolicData
[hide private]
[frames] | no frames]

Class SymbolicData

source code

Access to the database of ideals as provided by the SymbolicData Project (http://symbolicdata.org).

Instance Methods [hide private]
 
__init__(self, sparql='symbolicdata.org')
The constructor parses the sd.ini file and sets up some variables.
source code
 
get_ideals(self, force_reload=False)
Returns a Python list of ideals.
source code
 
list_ideals(self, output=True, force_reload=False)
Lists all the available ideals.
source code
 
get_ideal(self, uri)
Returns an ideal as a Jas object that is ready to be used by Jas.
source code
 
get_sd_ideal(self, uri)
Returns an internal object that represents the SymbolicData database object.
source code
Method Details [hide private]

__init__(self, sparql='symbolicdata.org')
(Constructor)

source code 

The constructor parses the sd.ini file and sets up some variables. An optional parameter can be passed to select the SPARQL endpoint that should be used. The keywords for different SPARQL endpoints are defined in the sd.ini file.

The default SPARQL endpoint is the one from symbolicdata.org

get_sd_ideal(self, uri)

source code 

Returns an internal object that represents the SymbolicData database object. (See below for details)