MCPcopy Create free account

hub / github.com/cosminbasca/surfrdf / functions

Functions613 in github.com/cosminbasca/surfrdf

↓ 1 callersFunctionget_noconflict_metaclass
Not intended to be used outside of this module, unless you know what you are doing.
surf/noconflict.py:41
↓ 1 callersMethodget_one
return only one `resource`. If there are more `resources` available the :class:`surf.exc.NoResultFound` exception is raised
surf/resource/lazy.py:73
↓ 1 callersFunctionget_prefix
The inverse function of `get_namespace_url(prefix)`, return the `prefix` of a `namespace` based on its URI. .. code-block:: python
surf/namespace.py:276
↓ 1 callersFunctionget_rdflib_store
()
examples/rdflib_mysql.py:8
↓ 1 callersFunctionget_reader
(reader_id, *args, **kwargs)
surf/plugin/manager.py:139
↓ 1 callersFunctionget_text
(node)
plugins/surf.sesame2/sesame2/sesame2.py:50
↓ 1 callersFunctionget_writer
(writer_id, reader, *args, **kwargs)
surf/plugin/manager.py:146
↓ 1 callersMethodgraph
(self)
surf/plugin/rdflib/reader.py:71
↓ 1 callersMethodgraph
Return an `rdflib` `ConjunctiveGraph` represenation of the current `resource`
surf/resource/__init__.py:735
↓ 1 callersMethodload
Load all attributes from the data store. By default, load all attributes from the data store: - direct attributes (where
surf/resource/__init__.py:530
↓ 1 callersMethodload_from_source
Load the `resource` from a source (uri, file or string rdf data).
surf/resource/__init__.py:797
↓ 1 callersFunctionload_plugins
Call this method to load the plugins into the manager. The method is called by default when a :class:`surf.store.Store` is instantiated. To c
surf/plugin/manager.py:65
↓ 1 callersMethodload_statements
(self, id, location, update = True, format = 'rdf', context = None, baseURI = None, externalFormat = None, sav
plugins/surf.sesame2/sesame2/allegro.py:100
↓ 1 callersFunctionmain
Install or upgrade setuptools and EasyInstall
ez_setup.py:203
↓ 1 callersFunctionnamed_group
Return named group graph pattern. Returned object can be used as argument in :meth:`Query.where` method. ``*statements`` is one or more
surf/query/__init__.py:466
↓ 1 callersFunctionnamespace_split
Same as :func:`uri_split`, but instead of the base of the uri, returns the registered `namespace` for this uri .. code-block:: python
surf/util.py:81
↓ 1 callersFunctionnormalize
(string)
surf/util.py:278
↓ 1 callersMethodone
Return the only resource or raise if resource count != 1. If the query matches no resources, this method will raise :class:
surf/resource/result_proxy.py:249
↓ 1 callersFunctionparse_sparql_xml
(response)
plugins/surf.sesame2/sesame2/sesame2.py:49
↓ 1 callersFunctionquery_ask
Construct :class:`surf.query.Query` of type **ASK**. :param s: the `subject` :param context: the context :return: the query :rty
surf/plugin/query_reader.py:86
↓ 1 callersMethodquery_attribute
(self, attribute_name)
surf/test/resource/test_resource_value.py:40
↓ 1 callersMethodquery_attribute
Return ResultProxy for querying attribute values.
surf/resource/__init__.py:695
↓ 1 callersFunctionquery_concept
Construct :class:`surf.query.Query` with `?c` as the unknown. :param s: the `subject` :return: the query :rtype: :class:`surf.query.
surf/plugin/query_reader.py:131
↓ 1 callersFunctionquery_p_s
Construct :class:`surf.query.Query` with `?s` and `?c` as unknowns. :param c: the `class` :param p: the `predicate` :param bool dire
surf/plugin/query_reader.py:105
↓ 1 callersFunctionquery_sp
Construct :class:`surf.query.Query` with `?v` and `?c` as unknowns. :param s: the `subject` :param p: the `predicate` :param bool di
surf/plugin/query_reader.py:47
↓ 1 callersFunctionregister
Register a namespace with a shorthand notation with the `namespace` manager. The arguments are passed in as key-value pairs. .. code-block::
surf/namespace.py:180
↓ 1 callersMethodremove
Remove the `resource` from the data `store`.
surf/resource/__init__.py:765
↓ 1 callersFunctionremove_redundant
(metaclasses)
surf/noconflict.py:29
↓ 1 callersFunctionsetup_logger
(name=LOGGER_NAME, handler=None)
surf/log.py:94
↓ 1 callersFunctionskip_redundant
Redundant items are repeated items or items in the original skipset.
surf/noconflict.py:20
↓ 1 callersMethodsparql_query
(self, id, query, infer = False, format = 'sparql+json')
plugins/surf.sesame2/sesame2/sesame2.py:310
↓ 1 callersFunctionstring_conforms_to_base64
check whether the given string conforms to the *base64* encoding. :param str string: the string :return: True if strings conforms to bas
surf/util.py:70
↓ 1 callersFunctiontoRdfLib
(term)
plugins/surf.allegro_franz/allegro_franz/util.py:49
↓ 1 callersFunctionto_json
serializes a :class:`rdflib.graph.Graph` to *JSON* according to the *rdf-json* specification for further details please consult: https://dvcs
surf/serializer.py:46
↓ 1 callersFunctiontry_add_triple
()
surf/test/plugin/test_sparql_protocol.py:67
↓ 1 callersFunctiontry_query
()
surf/test/plugin/test_sparql_protocol.py:60
↓ 1 callersMethodupdate
See :func:`surf.plugin.writer.RDFWriter.update` method.
surf/store.py:183
↓ 1 callersFunctionupdate_md5
Update our built-in md5 registry
ez_setup.py:244
↓ 1 callersFunctionuse_setuptools
Automatically find/download setuptools and make it available on sys.path `version` should be a valid setuptools version number that is available
ez_setup.py:80
↓ 1 callersFunctionuuid_subject
This function generates a unique subject in the provided `namespace` based on the :func:`uuid.uuid4()` method, If `namespace` is not specifie
surf/util.py:239
Method__contains__
True if the `item` is contained within the managed `stores`.
surf/session.py:123
Method__contains__
(self, key)
surf/resource/lazy.py:116
Method__del__
(self)
plugins/surf.sesame2/sesame2/sesame2.py:249
Method__delattr__
The `del` method - responsible for deleting the attribute of the object given by `attr_name` .. note:: This method sets the
surf/resource/__init__.py:433
Method__delete__
(self, obj)
surf/util.py:401
Method__delitem__
Remove the specified `store` from the management `session`.
surf/session.py:112
Method__delitem__
(self, key)
surf/resource/lazy.py:133
Method__delitem__
Dictionary-style attribute access.
surf/resource/__init__.py:453
Method__get__
(self, obj, type=None)
surf/util.py:395
Method__getattr__
Find `instances` of the current Class that extends `Resource`, the `instances` are selected from the values of the specified
surf/resource/__init__.py:74
Method__getattr__
Retrieve and cache attribute values. If attribute name is not in the "ns_predicate" form, an `AttributeError` will be raised.
surf/resource/__init__.py:464
Method__getitem__
Return the `store` associated with the key.
surf/session.py:100
Method__getitem__
(self, key)
surf/resource/lazy.py:122
Method__getitem__
Dictionary-style attribute access.
surf/resource/__init__.py:522
Method__hash__
(self)
surf/resource/__init__.py:71
Method__hash__
(self)
surf/resource/__init__.py:907
Method__init__
(self, *args, **kwargs)
plugins/surf.allegro_franz/allegro_franz/reader.py:52
Method__init__
(self, reader, *args, **kwargs)
plugins/surf.allegro_franz/allegro_franz/writer.py:51
Method__init__
(self, *args, **kwargs)
plugins/surf.sesame2/sesame2/reader.py:45
Method__init__
(self, reader, *args, **kwargs)
plugins/surf.sesame2/sesame2/writer.py:47
Method__init__
(self)
plugins/surf.sesame2/sesame2/sesame2.py:109
Method__init__
(self, response)
plugins/surf.sesame2/sesame2/sesame2.py:198
Method__init__
(self, host, port = 80, root_path = '/sesame', strict = False)
plugins/surf.sesame2/sesame2/sesame2.py:245
Method__init__
(self, msg)
plugins/surf.sesame2/sesame2/allegro.py:44
Method__init__
(self, host, port = 80, root_path = '/sesame', directory = '', strict = False)
plugins/surf.sesame2/sesame2/allegro.py:52
Method__init__
(self, resources_namespace, concept_class)
surf/rest.py:59
Method__init__
(self, attr)
surf/util.py:389
Method__init__
Create a new `session` object that handles the creation of types and instances, also the session binds itself to the `Resource` objects
surf/session.py:71
Method__init__
(self, reader = None, writer = None, *args, **kwargs)
surf/store.py:66
Method__init__
(self,*args,**kwargs)
surf/plugin/writer.py:45
Method__init__
(self, *args, **kwargs)
surf/plugin/__init__.py:49
Method__init__
(self, *args, **kwargs)
surf/plugin/query_reader.py:200
Method__init__
(self, *args, **kwargs)
surf/plugin/rdflib/reader.py:49
Method__init__
(self, reader, *args, **kwargs)
surf/plugin/rdflib/writer.py:47
Method__init__
(self, *args, **kwargs)
surf/plugin/sparql_protocol/reader.py:52
Method__init__
(self, reader, *args, **kwargs)
surf/plugin/sparql_protocol/writer.py:127
Method__init__
(self)
surf/test/resource/test_resource_value.py:9
Method__init__
(self, store=None)
surf/test/resource/test_resource_value.py:33
Method__init__
(self)
surf/test/resource/test_result_proxy.py:8
Method__init__
(self, getvalues_callable, resource, attribute_name)
surf/resource/lazy.py:54
Method__init__
Initialize a Resource, with the `subject` (a URI - either a string or a URIRef). If ``subject`` is None than a unique subj
surf/resource/__init__.py:171
Method__init__
(self, params = None, store = None, instance_factory = None)
surf/resource/result_proxy.py:21
Method__init__
(self, name = None)
surf/query/__init__.py:65
Method__init__
(self, type, *vars)
surf/query/update.py:65
Method__init__
(self, query)
surf/query/translator/__init__.py:44
Method__instance_factory
Construct resource from `instance_data`, return it.
surf/resource/__init__.py:609
Method__iter__
`iterator` over the managed `stores`.
surf/session.py:116
Method__iter__
(self)
surf/resource/lazy.py:175
Method__iter__
Return iterator over resources in this collection.
surf/resource/result_proxy.py:227
Method__len__
Total number of `stores` managed by the session.
surf/session.py:96
Method__len__
(self)
surf/store.py:235
Method__len__
(self)
surf/resource/lazy.py:112
Method__len__
Return count of resources in this collection.
surf/resource/result_proxy.py:232
Method__ne__
The inverse of :meth:`__eq__`.
surf/resource/__init__.py:56
Method__ne__
The inverse of :meth:`__eq__`.
surf/resource/__init__.py:892
Method__new__
(mcs, classname, bases, class_dict)
surf/resource/__init__.py:50
Method__repr__
(self)
surf/resource/lazy.py:183
Method__reversed__
(self)
surf/session.py:120
Method__set__
(self, obj, value)
surf/util.py:398
Method__set_context
(self, value)
surf/resource/__init__.py:251
← previousnext →201–300 of 613, ranked by callers