MCPcopy Create free account

hub / github.com/cosminbasca/surfrdf / functions

Functions613 in github.com/cosminbasca/surfrdf

↓ 2 callersMethoddesc
get the `desc` `query` attribute. Syntactic sugar for :meth:`surf.resource.Resource.query_attribute` method.
surf/resource/lazy.py:220
↓ 2 callersMethodfirst
Return first resource or None if there aren't any.
surf/resource/result_proxy.py:238
↓ 2 callersMethodfull
get the `full` `query` attribute. Syntactic sugar for :meth:`surf.resource.Resource.query_attribute` method.
surf/resource/lazy.py:208
↓ 2 callersMethodget_allegro
(self)
plugins/surf.sesame2/sesame2/reader.py:82
↓ 2 callersMethodget_by
(self, params)
surf/test/resource/test_resource_value.py:19
↓ 2 callersFunctionget_namespace
Return the `namespace` short hand notation and the URI based on the URI `base`. The namespace is a `rdf.namespace.Namespace` .. cod
surf/namespace.py:228
↓ 2 callersFunctionget_namespace_url
Return the `namespace` URI registered under the specified `prefix` .. code-block:: python >>> url = ns.get_namespace_url('TEST')
surf/namespace.py:258
↓ 2 callersMethodinsert
(self, i, value)
surf/resource/lazy.py:154
↓ 2 callersMethodinstances_by_attribute
Return all `URIs` that are instances of ``resource`` and have the specified `attributes`. If ``direct`` is `False`, than the
surf/plugin/reader.py:154
↓ 2 callersFunctionjson_to_rdflib
Convert a json result entry to an :mod:`rdfLib` type. :param dict json_object: the *JSON* object :return: the converted value (if possib
surf/util.py:352
↓ 2 callersMethodmap_instance
Create an `instance` of the `class` specified by `uri` and `classes` to be inherited, see `map_type` for more information.
surf/session.py:288
↓ 2 callersMethodorder
get the `order` `query` attribute. Syntactic sugar for :meth:`surf.resource.Resource.query_attribute` method.
surf/resource/lazy.py:214
↓ 2 callersFunctionorder_terms
(s, p, o)
surf/plugin/query_reader.py:154
↓ 2 callersMethodprotocol
(self)
plugins/surf.sesame2/sesame2/sesame2.py:290
↓ 2 callersFunctionregister
register reader and writer plugins :param str name: the plugin name :param reader: the reader plugin :param writer: the writer plugin
surf/plugin/manager.py:81
↓ 2 callersMethodremove
See :func:`surf.plugin.writer.RDFWriter.remove` method.
surf/store.py:192
↓ 2 callersMethodremove
Completely remove the ``*resources`` from the `store`.
surf/plugin/writer.py:126
↓ 2 callersMethodrepositories
(self)
plugins/surf.sesame2/sesame2/sesame2.py:294
↓ 2 callersMethodsave
See :func:`surf.plugin.writer.RDFWriter.save` method.
surf/store.py:174
↓ 2 callersMethodset
Load the `resource` from a `graph`. The `graph` must be a `rdflib` `ConjunctiveGraph` or `Graph` .. note: Currently the meth
surf/resource/__init__.py:812
↓ 2 callersFunctionset_logger_level
(level, name=None)
surf/log.py:110
↓ 2 callersFunctionsingle
alias for :class:`Single` :param attr: the given attribute :type attr: :class:`rdflib.term.URIRef` or str :return: a :class:`Single`
surf/util.py:405
↓ 2 callersMethodsize
(self, id)
plugins/surf.sesame2/sesame2/sesame2.py:330
↓ 2 callersFunctionto_rdf
(attr_name)
surf/util.py:166
↓ 2 callersMethodto_rdf
Convert any value to it's appropriate `rdflib` construct.
surf/resource/__init__.py:373
↓ 2 callersMethodupdate
Update the ``*resources`` to the `store` - persist.
surf/plugin/writer.py:116
↓ 2 callersFunctionuri_to_classname
Handy function to convert a `uri` to a Python valid `class name` .. code-block:: python >>> # prints Ns1some_class, where Ns1 is th
surf/util.py:122
↓ 2 callersMethodxml
(self)
plugins/surf.sesame2/sesame2/sesame2.py:193
↓ 1 callersFunction__add_direct
(prefix)
surf/namespace.py:140
↓ 1 callersFunction__add_inverted
(prefix)
surf/namespace.py:136
↓ 1 callersMethod__build_filter
(self, s, p, o)
surf/plugin/sparql_protocol/writer.py:277
↓ 1 callersMethod__deserialize
serializes the response based on the Content-Type or Accept header
plugins/surf.sesame2/sesame2/sesame2.py:252
↓ 1 callersMethod__eq__
Return True if the two `resources` have the same `subject` and are both of type `Resource`, False otherwise.
surf/resource/__init__.py:60
↓ 1 callersMethod__eq__
Return True if the two `resources` have the same `subject` and are both of type `Resource`, False otherwise.
surf/resource/__init__.py:896
↓ 1 callersMethod__execute_ask
(self, q_string)
plugins/surf.allegro_franz/allegro_franz/reader.py:105
↓ 1 callersMethod__execute_select
(self, q_string)
plugins/surf.allegro_franz/allegro_franz/reader.py:110
↓ 1 callersMethod__init__
(self, reader, *args, **kwargs)
surf/plugin/writer.py:56
↓ 1 callersMethod__init__
(self, type, *vars)
surf/query/__init__.py:156
↓ 1 callersMethod__iterator
(self)
surf/resource/result_proxy.py:220
↓ 1 callersMethod__setitem__
Set the `store` for the specified key, if value not a `Store` instance ignored.
surf/session.py:105
↓ 1 callersMethod_add_many
(self, triples, context=None)
surf/plugin/sparql_protocol/writer.py:213
↓ 1 callersMethod_add_triple
(self, s=None, p=None, o=None, context=None)
surf/plugin/writer.py:87
↓ 1 callersMethod_ask
Return boolean value of an **ASK** query.
surf/plugin/query_reader.py:380
↓ 1 callersMethod_clear
(self,context=None)
surf/plugin/writer.py:67
↓ 1 callersMethod_concept
To be implemented by classes that inherit :class:`surf.plugin.RDFReader`. This method is called directly by the :meth:`concept` meth
surf/plugin/reader.py:78
↓ 1 callersMethod_convert
(self, query_result, *keys)
surf/plugin/query_reader.py:399
↓ 1 callersMethod_filter
(self, stmt)
surf/query/translator/sparql.py:131
↓ 1 callersMethod_get
To be implemented by classes that inherit :class:`surf.plugin.RDFReader`. This method is called directly by the :meth:`get` method.
surf/plugin/reader.py:51
↓ 1 callersMethod_get_by
(self, params)
surf/plugin/reader.py:95
↓ 1 callersMethod_get_by_n_queries
(self, params)
surf/plugin/query_reader.py:270
↓ 1 callersMethod_get_by_subquery
(self, params)
surf/plugin/query_reader.py:299
↓ 1 callersMethod_group
(self, g)
surf/query/translator/sparql.py:118
↓ 1 callersMethod_instances_by_attribute
To be implemented by classes that inherit :class:`surf.plugin.RDFReader`. This method is called directly by the :meth:`instances_by_
surf/plugin/reader.py:87
↓ 1 callersMethod_is_present
To be implemented by classes that inherit :class:`surf.plugin.RDFReader`. This method is called directly by the :meth:`is_present` m
surf/plugin/reader.py:69
↓ 1 callersMethod_load
To be implemented by classes that inherit :class:`surf.plugin.RDFReader`. This method is called directly by the :meth:`load` method.
surf/plugin/reader.py:60
↓ 1 callersMethod_named_group
(self, g)
surf/query/translator/sparql.py:121
↓ 1 callersMethod_optional_group
(self, g)
surf/query/translator/sparql.py:125
↓ 1 callersFunction_prepare_selective_delete_query
(resources, context=None)
surf/plugin/sparql_protocol/writer.py:109
↓ 1 callersFunction_register_surf
()
surf/plugin/manager.py:96
↓ 1 callersMethod_remove
(self, *resources, **kwargs)
surf/plugin/writer.py:79
↓ 1 callersMethod_remove_triple
(self, s=None, p=None, o=None, context=None)
surf/plugin/writer.py:94
↓ 1 callersMethod_results_to_json
(self, results)
plugins/surf.allegro_franz/allegro_franz/reader.py:136
↓ 1 callersMethod_save
(self, *resources)
surf/plugin/writer.py:71
↓ 1 callersMethod_set_triple
(self, s=None, p=None, o=None, context=None)
surf/plugin/writer.py:91
↓ 1 callersMethod_size
(self)
surf/plugin/writer.py:83
↓ 1 callersMethod_subquery
(self, stmt)
surf/query/translator/sparql.py:134
↓ 1 callersMethod_term
(self, term)
surf/plugin/sparql_protocol/writer.py:324
↓ 1 callersMethod_to_table
(self, _)
surf/test/plugin/test_query_reader.py:23
↓ 1 callersMethod_translate
(self, query)
surf/query/translator/sparql.py:55
↓ 1 callersMethod_translate_ask
(self, query)
surf/query/translator/sparql.py:84
↓ 1 callersMethod_translate_clear
(self, query)
surf/query/translator/sparul.py:73
↓ 1 callersMethod_translate_delete
(self, query)
surf/query/translator/sparul.py:97
↓ 1 callersMethod_translate_insert
(self, query)
surf/query/translator/sparul.py:81
↓ 1 callersMethod_translate_load
(self, query)
surf/query/translator/sparul.py:59
↓ 1 callersMethod_triple_pattern
(self, statement)
surf/query/translator/sparql.py:113
↓ 1 callersMethod_union
(self, g)
surf/query/translator/sparql.py:128
↓ 1 callersMethod_update
(self, *resources)
surf/plugin/writer.py:75
↓ 1 callersMethod_uri
For **internal** use only, convert the `uri` to a `URIRef`.
surf/session.py:214
↓ 1 callersFunction_validate_md5
(egg_name, data)
ez_setup.py:69
↓ 1 callersFunction_validate_variable
(variable)
surf/query/__init__.py:116
↓ 1 callersMethodadd_triple
Add a triple to the `store`, in the specified ``context``. `None` can be used as a wildcard.
surf/plugin/writer.py:145
↓ 1 callersFunctionall
Return all registered namespaces as a dict, if `copy` is `True` than a copy of the dictionary is returned. By default, the actual internal dict i
surf/namespace.py:144
↓ 1 callersMethodbind_namespaces_to_graph
Bind the 'resources' registered namespaces to the supplied `graph`.
surf/resource/__init__.py:355
↓ 1 callersFunctionclassmaker
(left_metas=(), right_metas=())
surf/noconflict.py:65
↓ 1 callersMethodclear
(self, context = None)
plugins/surf.sesame2/sesame2/sesame2.py:170
↓ 1 callersMethodclose
(self)
plugins/surf.sesame2/sesame2/reader.py:123
↓ 1 callersMethodclose
Close the `session`. .. note:: It is good practice to close the `session` when it's no longer needed. Re
surf/session.py:228
↓ 1 callersMethodconcept
:func:`surf.plugin.reader.RDFReader.concept` method.
surf/store.py:136
↓ 1 callersMethodcreate
**REST** : POST /: Create a new item, creates a new :class:`surf.resource.Resource` instance :param dict json_params: extra
surf/rest.py:78
↓ 1 callersMethodcreate_repository
(self, id, title, name = None, if_exists = 'open', readable = True, writable = True)
plugins/surf.sesame2/sesame2/allegro.py:69
↓ 1 callersFunctionde_camel_case
Adds spaces to a camel case string. Failure to space out string returns the original string. :param str camel_case: the camel cased string
surf/util.py:265
↓ 1 callersFunctiondescribe
Construct and return :class:`surf.query.Query` object of type **DESCRIBE**
surf/query/__init__.py:520
↓ 1 callersMethodexecute
Execute a `query` of type :class:`surf.query.Query`.
surf/plugin/query_reader.py:428
↓ 1 callersMethodexecute_sparql
(self, query, format='JSON')
plugins/surf.sesame2/sesame2/reader.py:107
↓ 1 callersMethodexecute_sparql
(self, q_string, format='JSON')
surf/plugin/sparql_protocol/reader.py:101
↓ 1 callersMethodfrom_named
Add graph URI(s) that will go in separate *FROM NAMED* clause. Each argument can be either `string` or :class:`surf.rdf.URIRef`.
surf/query/__init__.py:260
↓ 1 callersFunctionget_binding
(node)
plugins/surf.sesame2/sesame2/sesame2.py:57
↓ 1 callersMethodget_dirty_instances
Return all the unsaved (dirty) `instances` of type `Resource`.
surf/resource/__init__.py:365
↓ 1 callersFunctionget_fallback_namespace
()
surf/namespace.py:225
↓ 1 callersFunctionget_logger
(name=LOGGER_NAME, handler=None)
surf/log.py:69
← previousnext →101–200 of 613, ranked by callers