URLフォーマット

http:///query23/mapping_btw_NikkajiRDF_Thesaurus/.tsv

SPARQLクエリ

#select distinct *
#select distinct ?thesaurus ?thesaurus2 ?label_refined_thesaurus ?refined_thesaurus ?cate
#select distinct ?nikkajJgid ?lanlabel_refined_thesaurus ?refined_thesaurus ?cate
select distinct ?nikkajJgid ?refined_thesaurus
#select distinct ?thesaurus
#select distinct ?nikkajJgid
#select distinct ?refined_thesaurus
#select distinct ?cate
#select count(distinct ?thesaurus)
#select count(distinct ?nikkajJgid)
#select count(distinct ?refined_thesaurus)
#select count(distinct ?label_refined_thesaurus)
#select count(distinct ?lanlabel_refined_thesaurus)

#FROM <http://nikkaji.biosciencedbc.jp/link2JGLOBAL>
#FROM <http://nikkaji.biosciencedbc.jp/Core>
#FROM <http://nikkaji.biosciencedbc.jp/refined_jst_thesaurus_20171127>

where
{
{
graph <http://nikkaji.biosciencedbc.jp/link2JGLOBAL> {
?thesaurus rdf:type skos:Concept ;  
   rdfs:label ?label_refined_thesaurus filter (lang(?label_refined_thesaurus)="en") .
?thesaurus skos:exactMatch ?nikkajJgid .
}
}
UNION
{
graph <http://nikkaji.biosciencedbc.jp/Core> {
?nikkajJgid rdf:type <http://vocab.jst.go.jp/terms/sti#Chemical> ;  
   rdfs:label ?lanlabel_refined_thesaurus filter (lang(?lanlabel_refined_thesaurus)="en")  .
}
}

graph <http://nikkaji.biosciencedbc.jp/refined_jst_thesaurus_20171127> {
?refined_thesaurus rdf:type skos:Concept ;  
   <http://purl.org/dc/terms/subject> ?cate ;
   rdfs:label ?lanlabel_refined_thesaurus  filter (lang(?lanlabel_refined_thesaurus)="en"). 
BIND(STR(?lanlabel_refined_thesaurus) as ?label_refined_thesaurus) .
}

}

説明

ラベル一致による日化辞化合物と科学技術用語シソーラスのマッピング。
一覧に戻る