URLフォーマット

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

SPARQLクエリ

prefix dcterms: <http://purl.org/dc/terms/>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix sio: <http://semanticscience.org/resource/>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix subject: <http://purl.jp/bio/4/subject/>
SELECT distinct ?chemicals ?label_chemicals ?bioPhenomenon ?label_bioPhenomenon

{
graph <http://nikkaji.biosciencedbc.jp/IOBC_1_2_0.ttl> {
	?upperChemicals sio:SIO_000062 ?bioPhenomenon . #isParticipantIn
	?bioPhenomenon skos:prefLabel ?label_bioPhenomenon .
	{?upperChemicals dcterms:subject subject:CA06 .} #organic compounds
	UNION 
	{?upperChemicals dcterms:subject subject:CA05 .} #inorganic compounds
	UNION 
	{?upperChemicals dcterms:subject subject:LS44 .} #drugs

#### Reasoning:YES
	?chemicals rdfs:subClassOf* ?upperChemicals .
	?chemicals skos:prefLabel ?label_chemicals .
	?ChemNikkaji skos:exactMatch ?chemicals .
	}
}

説明


一覧に戻る