URLフォーマット

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

SPARQLクエリ

PREFIX p: <http://www.wikidata.org/prop/>
PREFIX wds: <http://www.wikidata.org/entity/statement/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX jst: <http://vocab.jst.go.jp/terms/sti#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX ssc: <http://semanticscience.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>

#SELECT DISTINCT ?chemi ?disease
SELECT DISTINCT *
#SELECT count(distinct ?s)

FROM <http://nikkaji.biosciencedbc.jp/Wikidata_CompoundInteractants20161209>
FROM <http://nikkaji.biosciencedbc.jp/Wikidata_InChIKey20161208>
FROM <http://nikkaji.biosciencedbc.jp/InChI>
FROM <http://nikkaji.biosciencedbc.jp/Core>


WHERE
{

     ?chemiwd wdt:P129 ?interactants .
     ?chemiwd wdt:P235 ?inchik .
     ?chemi jst:InChIKey ?inchik .
     ?jgk owl:sameAs ?chemi .
     
}

説明


一覧に戻る