Changes between Version 16 and Version 17 of URI

Show
Ignore:
Timestamp:
2010/02/12 14:24:18 (15 years ago)
Author:
peter
Comment:

Formatting only

Legend:

Unmodified
Added
Removed
Modified
  • URI

    v16 v17  
    11== Which URI to use in your RDF? == 
    22 
    3 '''Guideline 1: Be polite.''' 
    4 When referring to third-party data, use the URL that the data provider uses. Ideally there should be no HTTP GET arguments in that URL, but if there are to avoid ambiguity for string comparison sort them in alphabetical order (e.g. http://www.example.com/?a=100&b=2 sorting a before b).  '''(though it cannot be under-stated just how BAD & WRONG it is to put arguments in your URL!!)  When minting new URLs please try to avoid this...''' 
     3=== Guideline 1: Be polite. === 
     4When referring to third-party data, use the URL that the data provider uses. 
    55 
     6Ideally there should be no HTTP GET arguments in that URL, but if there are to avoid ambiguity for string comparison sort them in alphabetical order (e.g. http://www.example.com/?a=100&b=2 sorting a before b).  '''(though it cannot be under-stated just how BAD & WRONG it is to put arguments in your URL!!)  When minting new URLs please try to avoid this...''' 
    67 
    7 '''Guideline 2. If there is no official URL''' 
     8=== Guideline 2. If there is no official URL === 
    89Often a provider offers multiple URLs for the same resource. e.g. the entrez query http://www.ncbi.nlm.nih.gov/sites/entrez?Db=pubmed&Cmd=ShowDetailView&TermToSearch=22177139 is the same as http://www.ncbi.nlm.nih.gov/pubmed/22177139 (the community recommend to use the later) or http://www.ebi.uniprot.org/entry/P05067 is the same as http://purl.uniprot.org/uniprot/P05067 (where UniProt asks you use the later, which will give RDF if your HTTP header requests it).  
    910 
     
    1213If you want to link to a provider for which the official URL is not clear, document the one you use on Freebase. State that you do not know if it is supported. Other providers should follow this first-come-first-served convention UNTIL the original provide states otherwise (see Guideline 1). 
    1314 
    14 '''Guideline 3. Confusion''' 
     15=== Guideline 3. Confusion === 
    1516Sometimes there is more than provider and thus more than one official URI for a record about a common concept, which can happen with consortia. e.g. PDB is available at PDBj, PDBe, RCSB PDB. Then choose the one that you prefer. Consider adding owl:seeAlso references between them, in strong preference over owl:sameAs due that giving misleading semantics.