prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#>
prefix rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix sio: <http://semanticscience.org/resource/>
prefix id: <http://purl.jp/bio/4/id/>
prefix dc: <http://purl.org/dc/terms/>
prefix xkos: <http://rdf-vocabulary.ddialliance.org/xkos#>

select distinct  ?StartingPoint ?ol0  ?StartingPoint_TO_o1 ?o1 ?ol1 ?o1_TO_StartingPoint 

where{
  graph <http://nikkaji.biosciencedbc.jp/IOBC_1_2_0.ttl>{
  FILTER (?StartingPoint_TO_o1 != rdfs:subClassOf &&
          ?StartingPoint_TO_o1 != skos:broader &&
          ?StartingPoint_TO_o1 != skos:exactMatch &&
          ?StartingPoint_TO_o1 != skos:prefLabel &&
          ?StartingPoint_TO_o1 != dc:subject &&
          ?StartingPoint_TO_o1 != rdfs:seeAlso &&
          ?StartingPoint_TO_o1 != rdfs:label &&
          ?StartingPoint_TO_o1 != rdf:type &&
          ?StartingPoint_TO_o1 != dc:identifier &&
          ?StartingPoint_TO_o1 != dc:subject &&
          ?StartingPoint_TO_o1 != skos:altLabel &&
          ?StartingPoint_TO_o1 != rdfs:label &&
          ?StartingPoint_TO_o1 != skos:narrower
         )

  FILTER(?StartingPoint = id:200906094913122330)
         {?StartingPoint ?StartingPoint_TO_o1 ?o1.} OPTIONAL {?o1 ?o1_TO_StartingPoint ?StartingPoint .}
         {?StartingPoint skos:prefLabel ?ol0.}
         {?StartingPoint dc:subject ?sub0.}
OPTIONAL {?StartingPoint rdfs:seeAlso ?als0.}
         {?o1 skos:prefLabel ?ol1 .}
         {?o1 dc:subject ?sub1.}
OPTIONAL {?o1 rdfs:seeAlso ?als1.}

}
}

StartingPoint ol0 StartingPoint_TO_o1 o1 ol1 o1_TO_StartingPoint
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://www.w3.org/2004/02/skos/core#related http://purl.jp/bio/4/id/200906030928560026
"osteoclast"@en
http://www.w3.org/2004/02/skos/core#related
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://www.w3.org/2004/02/skos/core#related http://purl.jp/bio/4/id/200906031055403367
"bone metabolism"@en
http://www.w3.org/2004/02/skos/core#related
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://semanticscience.org/resource/SIO_000028 http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://www.w3.org/2004/02/skos/core#related
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://www.w3.org/2004/02/skos/core#related http://purl.jp/bio/4/id/200906031055403367
"bone metabolism"@en
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://www.w3.org/2004/02/skos/core#related http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://www.w3.org/2004/02/skos/core#related
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://semanticscience.org/resource/SIO_000028 http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://www.w3.org/2004/02/skos/core#related
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://semanticscience.org/resource/SIO_000028 http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://semanticscience.org/resource/SIO_000068
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://www.w3.org/2004/02/skos/core#related http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://semanticscience.org/resource/SIO_000068
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://www.w3.org/2004/02/skos/core#related http://purl.jp/bio/4/id/200906062052811165
"osteoblast"@en
http://www.w3.org/2004/02/skos/core#related
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym http://purl.jp/bio/4/id/200906031055403367
"bone metabolism"@en
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://www.w3.org/2004/02/skos/core#related http://purl.jp/bio/4/id/200906090424766432
"Bone Resorption"@en
http://semanticscience.org/resource/SIO_000068
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym http://purl.jp/bio/4/id/200906031055403367
"bone metabolism"@en
http://www.w3.org/2004/02/skos/core#related
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://semanticscience.org/resource/SIO_000028 http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://semanticscience.org/resource/SIO_000068
http://purl.jp/bio/4/id/200906094913122330
"bone metabolic turnover"@en
http://www.w3.org/2004/02/skos/core#related http://purl.jp/bio/4/id/200906079594402385
"osteogenesis"@en
http://www.w3.org/2004/02/skos/core#related