URLフォーマット

http:///query10/< param >/[offset,limit][.format]

SPARQLクエリ

prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix jst: <http://vocab.jst.go.jp/terms/sti#>
prefix obo: <http://purl.obolibrary.org/obo/>

SELECT distinct  ?nikkaji ?chebi ?role
#SELECT count(distinct ?nikkaji)
#SELECT count(distinct ?role)

WHERE
{

graph <http://nikkaji.biosciencedbc.jp/orig_NikkajiNumTypeChEBI20161208>
    {?nikkaji rdf:type ?chebi .}

graph <http://nikkaji.biosciencedbc.jp/ChEBI20161201>
    {
    ?upperchebi rdfs:subClassOf [owl:someValuesFrom ?role ; owl:onProperty obo:RO_0000087] .
    ?chebi rdfs:subClassOf* ?upperchebi .
    }

}

説明


一覧に戻る