# HG changeset patch # User RĂ©mi Cardona # Date 1397471257 -7200 # Node ID c2108dbfb50810a6987c7d68c30171718246e048 # Parent 46c8d8701240416088ce38b0ea18e5bd8bf89067 an URI -> a URI diff -r 46c8d8701240 -r c2108dbfb508 dbapi.py --- a/dbapi.py Mon Apr 14 12:07:00 2014 +0200 +++ b/dbapi.py Mon Apr 14 12:27:37 2014 +0200 @@ -164,7 +164,7 @@ * a simple instance id for in-memory connection - * an uri like scheme://host:port/instanceid where scheme may be one of + * a uri like scheme://host:port/instanceid where scheme may be one of 'pyro', 'inmemory' or 'zmqpickle' * if scheme is 'pyro', determine the name server address. If diff -r 46c8d8701240 -r c2108dbfb508 doc/tutorials/dataimport/diseasome_parser.py --- a/doc/tutorials/dataimport/diseasome_parser.py Mon Apr 14 12:07:00 2014 +0200 +++ b/doc/tutorials/dataimport/diseasome_parser.py Mon Apr 14 12:27:37 2014 +0200 @@ -31,9 +31,9 @@ def _retrieve_reltype(uri): """ - Retrieve a relation type from an URI. + Retrieve a relation type from a URI. - Internal function which takes an URI containing a relation type as input + Internal function which takes a URI containing a relation type as input and returns the name of the relation. If no URI string is given, then the function returns None. """ diff -r 46c8d8701240 -r c2108dbfb508 doc/tutorials/dataimport/schema.py --- a/doc/tutorials/dataimport/schema.py Mon Apr 14 12:07:00 2014 +0200 +++ b/doc/tutorials/dataimport/schema.py Mon Apr 14 12:27:37 2014 +0200 @@ -47,7 +47,7 @@ only has unique omim and omim_page identifiers, when it has them, these attributes have been defined through relations such that for each disease there is at most one omim and one omim_page. - Each such identifier is defined through an URI, that is, through + Each such identifier is defined through a URI, that is, through an ``ExternalUri`` entity. That is, these relations are of cardinality "?*". For optimization purposes, one might be tempted to defined them as inlined, by setting @@ -55,7 +55,7 @@ - chromosomal_location is also defined through a relation of cardinality "?*", since any disease has at most one chromosomal location associated to it. - - same_as is also defined through an URI, and hence through a + - same_as is also defined through a URI, and hence through a relation having ``ExternalUri`` entities as objects. For more information on this data set and the data set itself, @@ -109,12 +109,12 @@ - label, defined through a Yams String. - bio2rdf_symbol, also defined as a Yams String, since it is just an identifier. - - gene_id is an URI identifying a gene, hence it is defined + - gene_id is a URI identifying a gene, hence it is defined as a relation with an ``ExternalUri`` object. - a pair of unique identifiers in the HUGO Gene Nomenclature Committee (http://http://www.genenames.org/). They are defined as ``ExternalUri`` entities as well. - - same_as is also defined through an URI, and hence through a + - same_as is also defined through a URI, and hence through a relation having ``ExternalUri`` entities as objects. """ # Corresponds to http://www.w3.org/2000/01/rdf-schema#label