SELECT ?compound_name ?cs_uri ?smiles ?inchi ?inchiKey ?num_ro5_violations ?chembl_uri ?activity_uri ?assay_uri ?equiv_compound ?equiv_assay ?target_uri ?equiv_target ?target_name ?target_organism ?assay_description ?assay_organism ?std_type ?relation ?std_value ?std_unit ?doi_internal ?doi ?pmid ?bNode1 ?molweight ?db_uri ?drug_name ?drugType_uri ?drugType FROM NAMED FROM NAMED FROM NAMED FROM NAMED WHERE { GRAPH { RESOURCE ?compound_name . RESOURCE ?cs_uri . } GRAPH { ?cs_uri ?smiles . ?cs_uri ?inchi . ?cs_uri ?inchiKey . } GRAPH { ?equiv_compound ?cs_uri . ?chembl_uri ?equiv_compound . ?activity_uri ?chembl_uri . ?activity_uri ?assay_uri . ?assay_uri ?equiv_assay . ?assay_uri ?target_uri . ?target_uri ?equiv_target . ?target_uri ?target_name . OPTIONAL { _:1 ?cs_uri . _:1 . _:1 ?num_ro5_violations . } OPTIONAL { ?target_uri ?target_organism . } OPTIONAL { ?assay_uri ?assay_description . } OPTIONAL { ?assay_uri ?assay_organism . } OPTIONAL { ?activity_uri ?std_type . } OPTIONAL { ?activity_uri ?relation . } OPTIONAL { ?activity_uri ?std_value . } OPTIONAL { ?activity_uri ?std_unit . } OPTIONAL { ?activity_uri ?doi_internal . OPTIONAL { ?doi_internal ?doi . } OPTIONAL { ?doi_internal ?pmid . } } OPTIONAL { ?chembl_uri ?bNode1 . ?bNode1 . ?bNode1 ?molweight . } } OPTIONAL { GRAPH { RESOURCE ?db_uri . ?db_uri ?drug_name . OPTIONAL { ?db_uri ?drugType_uri . ?drugType_uri ?drugType . } } } }