バージョン 8 (更新者: wu, 10 年 前) |
---|
* source code: rdffederator - Revision 192: /trunk/src
* step:
- make the corresponding VoID files
- method 1:
1.1 data download:
drugbank: http://download.bio2rdf.org/release/3/drugbank/ drugbank.nq.gz 19-Dec-2014 13:23 52M
omim: http://download.bio2rdf.org/release/3/omim/ omim.nq.gz 11-Nov-2014 03:50 124M
pharmgkb: http://download.bio2rdf.org/release/3/pharmgkb/ diseases.nq.gz genes.nq.gz rsid.nq.gz drugs.nq.gz offsides.nq.gz twosides.nq.gz 01-Jun-2014 17:54 2.4G or so
1.2 ./generate_void.sh ../data/drugbank.nq drugbank_void.n3
counting triples and properties counting types and entities counting distinct objects counting distinct subjects
drugbank: time taken: 91 seconds
omim: time taken: 411 seconds
- method 2:
Made the file with the folloing queries: https://github.com/bio2rdf/bio2rdf-scripts/wiki/Bio2RDF-Release-3-Summary-Statistics
2. execute: ./SPLENDID.sh SPLENDID-config.n3 query/query1.txt
For the VoID files with method 1,the following errors occur:
20:13:36 [WARN ] [Rio error] Expected ':', found '>' (465, -1) (ParseErrorLogger .java:28) 20:13:36 [WARN ] [Rio error] Namespace prefix 'LBSL' used but not defined (465, -1) (ParseErrorLogger.java:28) 20:13:36 [ERROR] [Rio fatal] Not a valid (absolute) URI: null (465, -1) (ParseEr rorLogger.java:32) 20:13:36 [ERROR] can not parse VOID file file:/opt/services/fsearch/app/splendid /void/omim.n3: Not a valid (absolute) URI: null [line 465] (VoidStatistics.java: 407)
check the corresponding void files, and deal with the lines as follows. we simply do the following changes:
void:property fusion> => void:property <fusion>
Result:
Query\time(ms) | time 1 | time 2 | time 3 | time 4 | time 5 |
case1 | 6724 | 4763 | 4766 | 4765 | 4763 |
添付ファイル
- SPLENDID-config.n3 (2.0 KB) - 登録者 wu 10 年 前.
- drugbank.n3 (69.1 KB) - 登録者 wu 10 年 前.
- kegg.n3 (74.3 KB) - 登録者 wu 10 年 前.
- omim.n3 (51.1 KB) - 登録者 wu 10 年 前.
- pharmgkb.n3 (52.9 KB) - 登録者 wu 10 年 前.
- sider.n3 (21.2 KB) - 登録者 wu 10 年 前.