MCPcopy Create free account

hub / github.com/cosminbasca/surfrdf / functions

Functions613 in github.com/cosminbasca/surfrdf

Methodregex
(cls, var, pattern, flag=None)
surf/query/__init__.py:92
Functionregister_fallback
Register a fallback namespace to use when creating resource without specifying subject. .. code-block:: python >>> ns.register_fall
surf/namespace.py:205
Methodregister_fts_predicate
register free text search predicates
plugins/surf.allegro_franz/allegro_franz/writer.py:169
Functionregistered_readers
gets the registered reader plugins. Plugins are instances of :cls:`surf.plugin.reader.RDFReader`. :return: the registered reader plugins
surf/plugin/manager.py:119
Functionregistered_writers
gets the registered writer plugins. Plugins are instances of :cls:`surf.plugin.reader.RDFWriter`. :return: the registered writer plugins
surf/plugin/manager.py:129
Methodremove
(self, graph, context = None)
plugins/surf.sesame2/sesame2/sesame2.py:156
Methodremove
(self, value)
surf/resource/lazy.py:161
Methodremove_all_statements
(self, id)
plugins/surf.sesame2/sesame2/sesame2.py:384
Methodremove_namespace
(self, prefix)
plugins/surf.allegro_franz/allegro_franz/writer.py:184
Methodremove_namespace
(self, *namespaces)
plugins/surf.sesame2/sesame2/sesame2.py:184
Methodremove_namespace
(self, id, prefix)
plugins/surf.sesame2/sesame2/sesame2.py:345
Methodremove_repository
warning: works only locally!, do not use otherwise
plugins/surf.sesame2/sesame2/allegro.py:88
Methodremove_triple
See :func:`surf.plugin.writer.RDFWriter.remove_triple` method.
surf/store.py:218
Methodremove_triple
Remove a triple from the `store`, from the specified ``context``. `None` can be used as a wildcard.
surf/plugin/writer.py:161
Methodresource
convenience method to get a resource given the arguments :param session: the *SuRF* session :type session: :class:`surf.sess
surf/rest.py:146
Methodrest_api
Return a :class:`surf.rest.Rest` class responsible for exposing **REST** api functions for integration into REST aware web frameworks.
surf/resource/__init__.py:879
Methodresults_format
(self)
surf/plugin/sparql_protocol/reader.py:73
Methodsave
Save the `resource` to the data `store`.
surf/resource/__init__.py:760
Methodset_data
(self, data)
surf/test/resource/test_resource_value.py:16
Methodset_data
(self, data)
surf/test/resource/test_result_proxy.py:15
Methodset_dirty
(self, dirty)
surf/resource/__init__.py:225
Functionset_logger
(logger)
surf/log.py:104
Methodset_namespace
(self, prefix, namespace)
plugins/surf.allegro_franz/allegro_franz/writer.py:181
Methodset_query
(self,query)
surf/query/translator/__init__.py:49
Methodset_triple
See :func:`surf.plugin.writer.RDFWriter.set_triple` method.
surf/store.py:212
Methodset_triple
Replace a triple in the `store` and specified ``context``. `None` can be used as a wildcard.
surf/plugin/writer.py:153
Methodshow
**REST** : GET /id: Show a specific item. show / retrieve the specified resource :param str id: the resources id :re
surf/rest.py:132
Methodsize
Return the number of `triples` in the current `store`.
surf/plugin/writer.py:138
Methodstatements
(self, id, s = None, p = None, o = None, context = None, infer = False, format = 'xml')
plugins/surf.sesame2/sesame2/sesame2.py:360
Functionstore_proxy
()
surf/test/resource/test_result_proxy.py:34
Functionstore_session
Return initialized SuRF store and session objects.
surf/test/resource/test_resource.py:10
Functionstore_value
()
surf/test/resource/test_resource_value.py:79
Functionsymbol
Return the part of a URI after the last **/** or *#*, `property` is a string denoting a URI .. code-block:: python >>> print ns.sym
surf/namespace.py:165
Functiontest_all_empty_list
Test ResultProxy with no filters, no returned data.
surf/test/resource/test_result_proxy.py:41
Functiontest_ask
Try ASK.
surf/test/query/test_sparql.py:187
Functiontest_attr2rdf_period
Check that attr2rdf handles minus symbol in predicate names.
surf/test/test_util.py:14
Functiontest_auto_load
Test that session.auto_load works.
surf/test/resource/test_resource.py:219
Functiontest_class_instances
Test that dirty class instances are not lost to GC.
surf/test/resource/test_resource.py:83
Functiontest_class_mapping
Test class mapping.
surf/test/resource/test_resource.py:55
Functiontest_clear
CLEAR GRAPH
surf/test/query/test_sparul.py:99
Functiontest_close_multiples_stores
Test that closing a session with multiple stores work.
surf/test/test_session.py:7
Functiontest_close_unicode_exception
Test that closing a store handles exceptions.
surf/test/test_store.py:34
Functiontest_contains
Test LazyResourceLoader.__contains__.
surf/test/resource/test_resource_value.py:49
Functiontest_context
Test context.
surf/test/resource/test_resource_value.py:137
Functiontest_context
Test context.
surf/test/resource/test_result_proxy.py:99
Functiontest_convert_unicode_exception
Test RDFQueryReader.convert() handles exceptions with unicode.
surf/test/plugin/test_query_reader.py:8
Functiontest_decimal_to_rdf
Test conversion from decimal.Decimal to Literal.
surf/test/test_util.py:51
Functiontest_default_namespace
Test resource initialization in specified namespace.
surf/test/resource/test_resource.py:128
Functiontest_delete_from
Try to produce DELETE DATA FROM ... { ... } query.
surf/test/query/test_sparul.py:51
Functiontest_delete_where
DELETE ... WHERE ...
surf/test/query/test_sparul.py:78
Functiontest_describe
Try to produce DESCRIBE query.
surf/test/query/test_sparql.py:120
Functiontest_dict_access
Test that resources support dictionary-style attribute access.
surf/test/resource/test_resource.py:196
Functiontest_empty_attribute_sync
Test synchronization between empty attribute and rdf_direct.
surf/test/resource/test_resource.py:18
Functiontest_exceptions
Test that exceptions are raised on invalid queries.
surf/test/plugin/test_sparql_protocol.py:53
Functiontest_filter
Test filter.
surf/test/resource/test_resource_value.py:149
Functiontest_filter
Test filter.
surf/test/resource/test_result_proxy.py:111
Functiontest_from
Try to produce query that contains FROM clauses.
surf/test/query/test_sparql.py:76
Functiontest_from_named
Try to produce query that contains FROM & FROM NAMED clauses.
surf/test/query/test_sparql.py:97
Functiontest_from_none
Check that .from_(None) raises.
surf/test/query/test_sparql.py:140
Functiontest_full
Test full().
surf/test/resource/test_resource_value.py:100
Functiontest_full
Test full().
surf/test/resource/test_result_proxy.py:62
Functiontest_get_by
Test Resource.get_by() method.
surf/test/test_resource_standalone.py:22
Functiontest_get_by
Test get_by.
surf/test/resource/test_resource_value.py:124
Functiontest_get_by
Test get_by.
surf/test/resource/test_result_proxy.py:86
Functiontest_get_by_resource
Test that get_by accepts Resources as values.
surf/test/resource/test_resource_value.py:161
Functiontest_get_by_resource
Test that get_by accepts Resources as values.
surf/test/resource/test_result_proxy.py:123
Functiontest_get_namespace
()
surf/test/test_namespace.py:15
Functiontest_get_namespace_url
()
surf/test/test_namespace.py:26
Functiontest_get_one_exceptions
Test RessourceValue.one.
surf/test/resource/test_resource_value.py:65
Functiontest_get_prefix
()
surf/test/test_namespace.py:35
Functiontest_get_prefix_predefined
Test get_prefix with predefined namespaces.
surf/test/test_namespace.py:44
Functiontest_init_namespace
Test resource initialization in specified namespace.
surf/test/resource/test_resource.py:102
Functiontest_insert
Try to produce INSERT ... query.
surf/test/query/test_sparul.py:39
Functiontest_insert_data_into
INSERT DATA INTO ... { ... }
surf/test/query/test_sparul.py:63
Functiontest_instance
Test Resource._instance().
surf/test/resource/test_resource.py:158
Functiontest_limit_offset
Test limit, offset.
surf/test/resource/test_resource_value.py:88
Functiontest_limit_offset
Test limit, offset.
surf/test/resource/test_result_proxy.py:50
Functiontest_load
LOAD ...
surf/test/query/test_sparul.py:113
Functiontest_load_into
LOAD ... INTO ...
surf/test/query/test_sparul.py:127
Functiontest_loaded_attribute_sync
Test synchronization between loaded attribute and rdf_direct.
surf/test/resource/test_resource.py:37
Functiontest_multiple_sessions
Test that multiple sessions coexist correctly.
surf/test/resource/test_resource.py:141
Functiontest_multiples
Test synchronization between empty attribute and rdf_direct.
surf/test/test_store.py:11
Functiontest_order_desc
Test order, desc.
surf/test/resource/test_resource_value.py:112
Functiontest_order_desc
Test order, desc.
surf/test/resource/test_result_proxy.py:74
Functiontest_query_attribute_unicode
Test that query_attribute calls ResultProxy with string arguments. query_attribute sets up and returns ResultProxy instance. Here we test
surf/test/resource/test_resource.py:236
Functiontest_rdf2attr
()
surf/test/test_util.py:9
Functiontest_rdf2attr_surf
Test rdf2attr with SURF namespace. This once had a bug which generated attribute names like "__fallback_namespace_label" instead of
surf/test/test_util.py:60
Functiontest_rdflib_load
()
surf/test/plugin/test_rdflib.py:29
Functiontest_rdflib_query
()
surf/test/plugin/test_rdflib.py:39
Functiontest_rdflib_store
Create a SuRF rdflib based store
surf/test/plugin/test_rdflib.py:9
Functiontest_register
()
surf/test/test_namespace.py:9
Functiontest_simple
Try to produce a simple "SELECT ... WHERE ..." query.
surf/test/query/test_sparql.py:39
Functiontest_single
()
surf/test/test_util.py:23
Functiontest_str
Test that __str__ translates query to string.
surf/test/query/test_sparul.py:153
Functiontest_str
Try str(query).
surf/test/query/test_sparql.py:168
Functiontest_subquery
Try to produce query that contains subquery in WHERE clause.
surf/test/query/test_sparql.py:55
Functiontest_successful_close
Test that store handles successful reader and writer closes.
surf/test/test_store.py:93
Functiontest_to_table
Test _to_table with empty bindings.
surf/test/plugin/test_sparql_protocol.py:38
Functiontest_type_mapping
Test that XSD types are mapped to Python types.
surf/test/resource/test_resource.py:174
Functiontest_unicode
Check that returned query string is unicode.
surf/test/query/test_sparul.py:142
← previousnext →501–600 of 613, ranked by callers