135_conjugate_acid_base_pair

rq turtle/ttl

Given a ChEBI compound, find the acid it is the conjugate base of (e.g. ammonia, CHEBI:16134, is the conjugate base of ammonium), using the direct chemrof:conjugate_base_of predicate rather than the OWL-restriction pattern used elsewhere in this project for the same underlying relationship.

Use at

PREFIX chemrof: <https://w3id.org/chemrof/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX CHEBI: <http://purl.obolibrary.org/obo/CHEBI_>

SELECT
  ?base
  ?baseLabel
  ?acid
  ?acidLabel
WHERE {
  BIND (CHEBI:16134 AS ?base)
  ?base chemrof:conjugate_base_of ?acid ;
    rdfs:label ?baseLabel .
  ?acid rdfs:label ?acidLabel .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?acid"):::projected 
  v4("?acidLabel"):::projected 
  v1("?base"):::projected 
  v3("?baseLabel"):::projected 
  bind0[/"'CHEBI:16134'"/]
  bind0 --as--o v1
  v1 --"chemrof:conjugate_base_of"-->  v2
  v1 --"rdfs:label"-->  v3
  v2 --"rdfs:label"-->  v4