Vemonet added a comment.

Cannot find the entry for https://pubchem.ncbi.nlm.nih.gov/compound/134797139 in Wikidata (at least not with the PubChem CID, so PubChem data for this entry (and other entries) might be missing

Cannot find this compound using the InChiKey or Chemical formula either. It could be interesting to create the compound that are not present in Wikidata

sql
SELECT ?p ?propLabel ?o WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } 
  #wd:Q153 ?p ?o . # Get Ethanol
  #?s wdt:P662 "702" . # get ethanol by PubChem ID
  #?s wdt:P235 "LFQSCWFLJHTTHZ-UHFFFAOYSA-N" . # Search ethanol by InChiKey
  #?s wdt:P274 "C₂H₆O" . # Search Ethanol by Chemical Formula

  #?s wdt:P662 "134797139" . # Get one of the last PubChem ID
  #?s wdt:P235 "XZHCKCNVYAHADQ-UHFFFAOYSA-N" . # Search by InChiKey
  ?s wdt:P274 "C₂₃H₃₀ClN₅O₃S" . # Search by Chemical Formula
  
  ?s ?p ?o .
  ?prop wikibase:directClaim ?p . #resolve prop Label 
  FILTER ( ?p != schema:description )
  FILTER ( ?p != rdfs:label )
  FILTER ( ?p != skos:altLabel )  
}

TASK DETAIL
https://phabricator.wikimedia.org/T208036

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Vemonet
Cc: BorDeh, Vemonet, Freddytuxworth, Husky, Laffano, S9a8m, A_ka_es, Teffubud, Dinadineke, Arybolab, Dja, Elvalente, Nandana, tabish.shaikh91, Lahi, Gq86, GoranSMilovanovic, Soteriaspace, Jayprakash12345, JakeTheDeveloper, QZanden, merbst, LawExplorer, DDJJ, Harmonia_Amanda, Spinster, Jane023, Wikidata-bugs, aude, TheDJ, Mbch331, valhallasw
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to