prefix dcterms: <http://purl.org/dc/terms/>
prefix sio: <http://semanticscience.org/resource/>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix subject: <http://purl.jp/bio/4/subject/>
prefix xkos: <http://rdf-vocabulary.ddialliance.org/xkos#>
SELECT distinct ?chem ?label_chem ?event ?label_event ?disease ?label_disease
{
graph <http://nikkaji.biosciencedbc.jp/IOBC_1_2_0.ttl> {
   {?event xkos:precedes ?disease .} UNION {?event sio:SIO_000062 ?disease .} #finding pre-biological events of diseases
   {?chem sio:SIO_000062 ?event .} UNION {?chem sio:SIO_000225 ?event .}#finding chemicals regulating bi-ological events
       ?disease dcterms:subject subject:LS51 . #diseases
       {?chem dcterms:subject subject:CA06 .} #organic compounds
       UNION 
       {?chem dcterms:subject subject:CA05 .} #inorganic compounds
       UNION 
       {?chem dcterms:subject subject:LS44 .} #drugs
       ?chem skos:prefLabel ?label_chem. 
       ?event skos:prefLabel ?label_event. 
       ?disease skos:prefLabel ?label_disease. 
  }
}
chem label_chem event label_event disease label_disease
http://purl.jp/bio/4/id/200906073750105452
"Antifibrinolytic Agents"@en
http://purl.jp/bio/4/id/200906057747871335
"Fibrinolysis"@en
http://purl.jp/bio/4/id/200906056051568500
"Fibrinolytic purpura"@en
http://purl.jp/bio/4/id/200906073750105452
"Antifibrinolytic Agents"@en
http://purl.jp/bio/4/id/200906057747871335
"Fibrinolysis"@en
http://purl.jp/bio/4/id/200906067186745349
"Fibrinolysis increased"@en
http://purl.jp/bio/4/id/200906013420581816
"bone resorption inhibitor"@en
http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://purl.jp/bio/4/id/200906089752719133
"Osteolysis"@en
http://purl.jp/bio/4/id/200906013420581816
"bone resorption inhibitor"@en
http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://purl.jp/bio/4/id/200906091488347200
"Osteitis Fibrosa Cystica"@en
http://purl.jp/bio/4/id/200906013420581816
"bone resorption inhibitor"@en
http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://purl.jp/bio/4/id/200906001105054885
"Osteolytic lesion"@en
http://purl.jp/bio/4/id/200906013420581816
"bone resorption inhibitor"@en
http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://purl.jp/bio/4/id/200906071402515148
"Alveolar Bone Loss"@en
http://purl.jp/bio/4/id/200906044745977085
"denosmab"@en
http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://purl.jp/bio/4/id/200906071402515148
"Alveolar Bone Loss"@en
http://purl.jp/bio/4/id/200906044745977085
"denosmab"@en
http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://purl.jp/bio/4/id/200906001105054885
"Osteolytic lesion"@en
http://purl.jp/bio/4/id/200906044745977085
"denosmab"@en
http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://purl.jp/bio/4/id/200906089752719133
"Osteolysis"@en
http://purl.jp/bio/4/id/200906044745977085
"denosmab"@en
http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://purl.jp/bio/4/id/200906091488347200
"Osteitis Fibrosa Cystica"@en
http://purl.jp/bio/4/id/201106093760210504
"nano hydroxyapatite"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906010772649012
"Enostosis"@en
http://purl.jp/bio/4/id/201106093760210504
"nano hydroxyapatite"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906023236884500
"Osteoplastica"@en
http://purl.jp/bio/4/id/201106093760210504
"nano hydroxyapatite"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906023762412418
"Bony cataract"@en
http://purl.jp/bio/4/id/201106093760210504
"nano hydroxyapatite"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906037805510770
"Tuberculous dactylitis"@en
http://purl.jp/bio/4/id/201106093760210504
"nano hydroxyapatite"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906098650924815
"Lipoma ossificans"@en
http://purl.jp/bio/4/id/201106093760210504
"nano hydroxyapatite"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/201006034756428844
"Hyper-ALP-emia"@en
http://purl.jp/bio/4/id/200906011336031042
"Teriparatide"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/201006034756428844
"Hyper-ALP-emia"@en
http://purl.jp/bio/4/id/200906011336031042
"Teriparatide"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906010772649012
"Enostosis"@en
http://purl.jp/bio/4/id/200906011336031042
"Teriparatide"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906023236884500
"Osteoplastica"@en
http://purl.jp/bio/4/id/200906011336031042
"Teriparatide"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906037805510770
"Tuberculous dactylitis"@en
http://purl.jp/bio/4/id/200906011336031042
"Teriparatide"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906023762412418
"Bony cataract"@en
http://purl.jp/bio/4/id/200906011336031042
"Teriparatide"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906098650924815
"Lipoma ossificans"@en
http://purl.jp/bio/4/id/200906028111201151
"Bone Density Conservation Agents"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906037805510770
"Tuberculous dactylitis"@en
http://purl.jp/bio/4/id/200906028111201151
"Bone Density Conservation Agents"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906098650924815
"Lipoma ossificans"@en
http://purl.jp/bio/4/id/200906028111201151
"Bone Density Conservation Agents"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906023762412418
"Bony cataract"@en
http://purl.jp/bio/4/id/200906028111201151
"Bone Density Conservation Agents"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/201006034756428844
"Hyper-ALP-emia"@en
http://purl.jp/bio/4/id/200906028111201151
"Bone Density Conservation Agents"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906010772649012
"Enostosis"@en
http://purl.jp/bio/4/id/200906028111201151
"Bone Density Conservation Agents"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906023236884500
"Osteoplastica"@en
http://purl.jp/bio/4/id/201606003333886619
"osteogenesis promoter"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906010772649012
"Enostosis"@en
http://purl.jp/bio/4/id/201606003333886619
"osteogenesis promoter"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/201006034756428844
"Hyper-ALP-emia"@en
http://purl.jp/bio/4/id/201606003333886619
"osteogenesis promoter"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906023762412418
"Bony cataract"@en
http://purl.jp/bio/4/id/201606003333886619
"osteogenesis promoter"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906037805510770
"Tuberculous dactylitis"@en
http://purl.jp/bio/4/id/201606003333886619
"osteogenesis promoter"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906098650924815
"Lipoma ossificans"@en
http://purl.jp/bio/4/id/201606003333886619
"osteogenesis promoter"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906023236884500
"Osteoplastica"@en
http://purl.jp/bio/4/id/200906073750105452
"Antifibrinolytic Agents"@en
http://purl.jp/bio/4/id/200906057747871335
"Fibrinolysis"@en
http://purl.jp/bio/4/id/200906035735795788
"Fibrinolytic disorder"@en
http://purl.jp/bio/4/id/200906013420581816
"bone resorption inhibitor"@en
http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://purl.jp/bio/4/id/200906063703747270
"Osteolysis, Essential"@en
http://purl.jp/bio/4/id/200906044745977085
"denosmab"@en
http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://purl.jp/bio/4/id/200906063703747270
"Osteolysis, Essential"@en
http://purl.jp/bio/4/id/201106093760210504
"nano hydroxyapatite"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906036817699430
"Osteoplastic sarcoma"@en
http://purl.jp/bio/4/id/201106093760210504
"nano hydroxyapatite"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906022917346569
"Abnormal bone metabolism"@en
http://purl.jp/bio/4/id/200906011336031042
"Teriparatide"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906036817699430
"Osteoplastic sarcoma"@en
http://purl.jp/bio/4/id/200906011336031042
"Teriparatide"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906022917346569
"Abnormal bone metabolism"@en
http://purl.jp/bio/4/id/200906028111201151
"Bone Density Conservation Agents"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906036817699430
"Osteoplastic sarcoma"@en
http://purl.jp/bio/4/id/200906028111201151
"Bone Density Conservation Agents"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906022917346569
"Abnormal bone metabolism"@en
http://purl.jp/bio/4/id/201606003333886619
"osteogenesis promoter"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906022917346569
"Abnormal bone metabolism"@en
http://purl.jp/bio/4/id/201606003333886619
"osteogenesis promoter"@en
http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://purl.jp/bio/4/id/200906036817699430
"Osteoplastic sarcoma"@en