206_alternative_name_kinds

rq turtle/ttl

Find proteins with a name of a specific, distinct naming convention beyond the ordinary recommended/alternative name pair: an allergen name (with the allergen nomenclature this comes from), a CD antigen name (HCDM nomenclature, e.g. for cell-surface markers), or an INN (international nonproprietary name, the standard name for a pharmaceutical substance such as a therapeutic antibody)

Use at

PREFIX up: <http://purl.uniprot.org/core/>

SELECT
  ?protein
  ?kind
  ?name
WHERE {
  ?protein up:alternativeName ?altName .
  {
    ?altName up:allergenName ?name .
    BIND("allergen" AS ?kind)
  } UNION {
    ?altName up:cdAntigenName ?name .
    BIND("CD antigen" AS ?kind)
  } UNION {
    ?altName up:internationalNonproprietaryName ?name .
    BIND("INN" AS ?kind)
  }
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?altName")
  v5("?kind"):::projected 
  v3("?name"):::projected 
  v1("?protein"):::projected 
  v1 --"up:alternativeName"-->  v2
  subgraph union0[" Union "]
  subgraph union0l[" "]
    style union0l fill:#abf,stroke-dasharray: 3 3;
    subgraph union1[" Union "]
    subgraph union1l[" "]
      style union1l fill:#abf,stroke-dasharray: 3 3;
      v2 --"up:internationalNonproprietaryName"-->  v3
      bind0[/"'INN'"/]
      bind0 --as--o v5
    end
    subgraph union1r[" "]
      style union1r fill:#abf,stroke-dasharray: 3 3;
      v2 --"up:cdAntigenName"-->  v3
      bind1[/"'CD antigen'"/]
      bind1 --as--o v5
    end
    union1r <== or ==> union1l
    end
  end
  subgraph union0r[" "]
    style union0r fill:#abf,stroke-dasharray: 3 3;
    v2 --"up:allergenName"-->  v3
    bind2[/"'allergen'"/]
    bind2 --as--o v5
  end
  union0r <== or ==> union0l
  end