ユーザ用ツール

サイト用ツール


lodac_species

LODAC Species:!: SPARQL Endpoint

  • Mammalia(哺乳類)(Taxonomy ID: 40674)に分類される生物種は?
SELECT DISTINCT *
WHERE 
{
  ?s <http://lod.ac/ns/species#hasSuperTaxon> <http://lod.ac/ncbi/40674> .
}
  • ヒト(Taxonomy ID: 9606)の上位分類は?
SELECT DISTINCT *
WHERE 
{
  <http://lod.ac/species/Homo_sapiens> <http://lod.ac/ns/species#hasParentTaxon> ?o .
}
  • ラベル「Homo sapiens」をもつリソース(federated sparqlの例)
select * where
{
service <http://lod.ac/species/sparql> 
{
select ?s where {?s ?v "Homo sapiens" .}
}
} 
  • 生物種リストからTaxonomy IDを取得
select DISTINCT ?num 
where 
{
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Camellia irawadiensis"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Coffea eugenioides"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Coffea kianjavatensis"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Coffea liberica"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Coffea racemosa"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Coffea salvatrix"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Paullinia trifoliata"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Scurrula atropurpurea"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Spodoptera litura"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Camellia sinensis"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Coffea arabica"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Coffea spp."}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Cola acuminata"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Ilex paraguayensis"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Paullinia cupana"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Camellia kissi"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Camellia sinensis var. sinensis"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Camellia taliensis"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Citrus limon"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Citrus maxima"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Citrus paradisi"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Coffea dewevrei"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Coffea canephora"}UNION
{?organism <http://www.w3.org/2000/01/rdf-schema#label> "Theobroma cacao".}
{?organism <http://lod.ac/ns/species#hasNCBITaxonomyID> ?num}
}
lodac_species.txt · 最終更新: 2012/12/20 14:31 +0900 by kushidat