MCPcopy Create free account

hub / github.com/cosminbasca/surfrdf / functions

Functions613 in github.com/cosminbasca/surfrdf

Methodclose
Close the `plugin`.
surf/plugin/writer.py:170
Methodclose
Close the `plugin` and free any resources it may hold
surf/plugin/__init__.py:53
Methodclose
(self)
surf/plugin/rdflib/reader.py:102
Methodclose
(self)
surf/plugin/rdflib/writer.py:169
Methodclose
(self)
surf/plugin/sparql_protocol/reader.py:116
Methodclose
(self)
surf/test/test_store.py:55
Methodclose
(self)
surf/test/test_store.py:80
Methodcommit_pending_transaction_on_close
(self)
surf/plugin/rdflib/reader.py:75
Methodcommit_pending_transaction_on_close
(self)
surf/plugin/rdflib/writer.py:80
Methodconcept
Return the `concept` URI of the following `resource`. `resource` can be a `string` or a `URIRef`. :param resource: the given
surf/plugin/reader.py:142
Methodconcept
Return the Resources `concept` uri (type). If parameter ``store`` is specified, concept will be retrieved from there. If resource wa
surf/resource/__init__.py:859
Functionconstruct
Construct and return :class:`surf.query.Query` object of type **CONSTRUCT**
surf/query/__init__.py:513
Methodcontext
Specify context/graph that resources should be loaded from.
surf/resource/result_proxy.py:199
Methodcontexts
(self, id)
plugins/surf.sesame2/sesame2/sesame2.py:326
Functiondefault_session
Prepare store and session.
surf/test/test_resource_standalone.py:10
Methoddefault_store
The `default store` of the session. See `default_store_key` to see how the `default store` is selected.
surf/session.py:199
Methoddefault_store_key
The `default store key` of the session. If it is set explicitly on `session` creation it is returned, else the first `store key` is
surf/session.py:185
Methoddelete
**REST** : DELETE /id: Delete an existing item. removes an instance from the underlying :class:`surf.store.Store` store :par
surf/rest.py:122
Methoddesc
Set sorting order to descending.
surf/resource/result_proxy.py:113
Functiondisable_logger
(name=None)
surf/log.py:123
Methodedit
**REST** : GET /id;edit: alias for :meth:`surf.rest.Rest.update` method :param str id: the resources id :param dict
surf/rest.py:112
Methodendpoint
(self)
surf/plugin/sparql_protocol/reader.py:69
Methodendpoint
(self)
surf/plugin/sparql_protocol/writer.py:151
Methodexecute
see :meth:`surf.plugin.query_reader.RDFQueryReader.execute` method.
surf/store.py:152
Methodexecute_sparql
(self, q_string, format = 'JSON')
plugins/surf.allegro_franz/allegro_franz/reader.py:116
Methodexecute_sparql
see :meth:`surf.plugin.query_reader.RDFQueryReader.execute_sparql` method.
surf/store.py:160
Methodexecute_sparql
(self, q_string, format=None)
surf/plugin/rdflib/reader.py:96
Methodfilter
get the `filter` `query` attribute. Syntactic sugar for :meth:`surf.resource.Resource.query_attribute` method.
surf/resource/lazy.py:232
Methodfilter
Add filter conditions. Expects arguments in form:: ns_predicate = "(%s > 15)" ``ns_predicate`` specifies which predica
surf/resource/result_proxy.py:160
Methodfrom_
(self, *uris)
surf/query/update.py:92
Methodfull
Enable eager-loading of resource attributes. With this modifier, resources will have their attributes already loaded.
surf/resource/result_proxy.py:70
Methodget_by
(self, params)
surf/store.py:148
Methodget_by
(self, params)
surf/plugin/reader.py:166
Methodget_by
get the `get_by` `query` attribute. Syntactic sugar for :meth:`surf.resource.Resource.query_attribute` method.
surf/resource/lazy.py:226
Methodget_by
Retrieve all instances that match specified filters and class. Filters are specified as keyword arguments, argument names follow SuRF
surf/resource/__init__.py:669
Methodget_by_attribute
Retrieve all `instances` from the data store that have the specified `attributes` and are of `rdf:type` of the resource class
surf/resource/__init__.py:572
Methodget_dirty
(self)
surf/resource/__init__.py:239
Methodget_first
return the first `resource` or None otherwise.
surf/resource/lazy.py:87
Methodget_something
(self)
surf/test/resource/test_resource.py:61
Functionget_store_session
Return initialized SuRF store and session objects.
surf/test/plugin/test_sparql_protocol.py:12
Methodgetvalues_callable
Return stored values for this attribute.
surf/resource/__init__.py:395
Methodgraph
(self)
surf/plugin/rdflib/writer.py:76
Functiongroup
Return group graph pattern. Returned object can be used as argument in :meth:`Query.where` method. group()` accepts multiple arguments,
surf/query/__init__.py:438
Methodindex
**REST** : GET /: All items in the collection, :return: all instances for the current :class:`surf.resources.Resource` :rtyp
surf/rest.py:69
Methodindex_info
(self, id)
plugins/surf.sesame2/sesame2/allegro.py:120
Methodindex_triples
Index triples if this functionality is present. Return `True` if successful.
plugins/surf.allegro_franz/allegro_franz/writer.py:136
Methodindex_triples
See :func:`surf.plugin.writer.RDFWriter.index_triples` method.
surf/store.py:224
Methodindex_triples
Perform `index` of the `triples` if such functionality is present. Return `True` if operation successful.
surf/plugin/writer.py:176
Methodindex_triples
Index triples if this functionality is present. :return: True if successful :rtype: bool
surf/plugin/rdflib/writer.py:134
Methodindex_triples
performs index of the triples if such functionality is present, returns True if operation successful
surf/plugin/sparql_protocol/writer.py:286
Methodinference
Toggle `logical inference` on / off. The property has any effect only if such functionality is supported by the underlying :class:`s
surf/plugin/__init__.py:59
Methodinstance_factory
Specify the function for converting triples into instances. ``instance_factory_func`` function can also be specified as argument to
surf/resource/result_proxy.py:31
Methodinstances_by_attribute
:func:`surf.plugin.reader.RDFReader.instances_by_attribute` method.
surf/store.py:141
Functionis_attr_direct
Checks whether this is a direct or inverse edge / property. The naming convention defined by the :attr:`pattern_direct` and :attr:`pattern_in
surf/util.py:203
Methodis_present
:func:`surf.plugin.reader.RDFReader.is_present` method.
surf/store.py:131
Methodis_present
Check whether the `resource` is present in the underlying :class:`surf.store.Store` store :param resource: the given resource
surf/plugin/reader.py:131
Methodis_present
Return True if the `resource` is present in data `store`. Resource is assumed to be present if there is at least one triple having `
surf/resource/__init__.py:781
Methodlimit
get the `limit` `query` attribute. Syntactic sugar for :meth:`surf.resource.Resource.query_attribute` method.
surf/resource/lazy.py:196
Methodlimit
Set the limit for returned result count.
surf/resource/result_proxy.py:56
Methodload
(self, remote_uri)
surf/query/update.py:107
Methodload_resource
Create an `instance` of the `class` specified by `uri`, while `subject` is the subject of the new resource instance. The other param
surf/session.py:327
Methodload_triples
loads triples from supported sources if such functionality is present returns True if operation successfull
plugins/surf.allegro_franz/allegro_franz/writer.py:147
Methodload_triples
loads triples from supported sources if such functionality is present returns True if operation successfull
plugins/surf.sesame2/sesame2/writer.py:154
Methodload_triples
Load `triples` from supported `sources` if such functionality is present. Return `True` if operation successful.
surf/plugin/writer.py:184
Methodload_triples
Load files (or resources on the web) into the triple-store. :param str source: the source file to load RDF triples from :par
surf/plugin/rdflib/writer.py:144
Methodload_triples
Load resources on the web into the triple-store. :param str source: path to the sources of triples to load :param context: t
surf/plugin/sparql_protocol/writer.py:294
Methodlog_level
(self)
surf/session.py:162
Functionmake_class
(name, bases, adict)
surf/noconflict.py:66
Methodmappings
(self, id)
plugins/surf.sesame2/sesame2/allegro.py:123
Functionmock_get_by
Verify that all passed keywords are strings.
surf/test/resource/test_resource.py:245
Functionmock_instance_factory
(params, instance_data)
surf/test/resource/test_resource_value.py:26
Functionmock_instance_factory
(params, instance_data)
surf/test/resource/test_result_proxy.py:29
Functionmodify
()
surf/query/update.py:144
Methodnamed_group
Add ``GROUP ?name { ... }`` construct to *WHERE* clause. ``name`` is the variable name that will be bound to graph IRI. ``*
surf/query/__init__.py:317
Methodnamespace
(self, prefix)
plugins/surf.allegro_franz/allegro_franz/writer.py:178
Methodnamespace
Return the `namespace` of the currenlt Resources class type.
surf/resource/__init__.py:849
Methodnamespaces
(self)
plugins/surf.allegro_franz/allegro_franz/writer.py:175
Methodnamespaces
(self, id)
plugins/surf.sesame2/sesame2/sesame2.py:334
Methodnew
**REST** : GET /new: Form to create a new item. alias for :meth:`surf.rest.Rest.create` method :param dict json_params: extr
surf/rest.py:90
Methodoffset
get the `offset` `query` attribute. Syntactic sugar for :meth:`surf.resource.Resource.query_attribute` method.
surf/resource/lazy.py:202
Methodoffset
Set the limit for returned results.
surf/resource/result_proxy.py:63
Methodorder
Request results to be ordered. If no arguments are specified, resources will be ordered by their subject URIs. If ``value``
surf/resource/result_proxy.py:92
Methodpop
(self, i = -1)
surf/resource/lazy.py:168
Methodprepare_getvalues_callable
Return callable that returns stored values for this attr.
surf/resource/__init__.py:392
Functionpretty_rdf
Returns a string of the given URI under the form `namespace:symbol`, if `namespace` is registered, else returns an empty string :param s
surf/util.py:300
Methodprolog_query
(self, id, query, infer = False, limit = None)
plugins/surf.sesame2/sesame2/sesame2.py:307
Methodquery_data
the query `data`, internal structure representing the contents of the *WHERE* clause
surf/query/__init__.py:206
Methodquery_from
list of URIs that will go into query FROM clauses
surf/query/__init__.py:192
Methodquery_from_named
list of URIs that will go into query FROM NAMED clauses
surf/query/__init__.py:199
Methodquery_limit
the query `limit`, can be a number or None
surf/query/__init__.py:213
Methodquery_modifier
the query `modifier` can be: *DISTINCT*, *REDUCED*, or `None`
surf/query/__init__.py:178
Methodquery_offset
the query `offset`, can be a number or None
surf/query/__init__.py:220
Methodquery_order_by
the query `order by` variables
surf/query/__init__.py:227
Methodquery_type
the query `type` can be: *SELECT*, *ASK*, *DESCRIBE*or *CONSTRUCT*
surf/query/__init__.py:171
Methodquery_vars
the query `variables` to return as the resultset
surf/query/__init__.py:185
Methodrdflib_identifier
(self)
surf/plugin/rdflib/reader.py:67
Methodrdflib_identifier
(self)
surf/plugin/rdflib/writer.py:72
Methodrdflib_store
(self)
surf/plugin/rdflib/reader.py:63
Methodrdflib_store
(self)
surf/plugin/rdflib/writer.py:68
Methodreduced
Add *REDUCED* modifier.
surf/query/__init__.py:240
← previousnext →401–500 of 613, ranked by callers