バージョン 5 (更新者: wu, 10 年 前)

--

ANAPSID

* source:

 https://github.com/anapsid/anapsid

* execute:

run_anapsid -e $ENDPOINTS -q $query -p <planType> -s False -o False -d <TypeofDecompostion> -a True -w False [-k <special>]  [-V <typeOfEndpoint>] -r False

$ENDPOINTS: path and name of the file where the description of the endpoints is stored.

$query: path and name of the filw where the query is stored.

<planType>: can be b if the plan is bushy, ll is the plan is left linear, and naive for naive binary tree plan.

-o: can be True or False. True indicates that the input query is in SPARQL1-1 and no decomposition is needed; False, otherwise.

-d: indicates the type of Decomposition. can be SSGM (Star Shaped Group Multiple Endpoints), SSGS (Star Shaped Group Single Endpoint), EG (Exclusive Groups), Recommended SSGM.

-a: indicates if the adaptive operators will be used. Recommended value True.

-w: can be True or False. Indicates if the cardinality of the queries will be estimated by contacting the sources (True) or by using a cost model (False). Turning True this feature may affect execution time.

-k: can be y or c. The value y indicates that the plan will be produced, while c asks that decomposition. This parameter is optional, and should be set up only if the plan of the query wants to be produced.

-r: can be True or False. Use True if the answer of the query will be output and False if only a summary of the execution will be produced.

-V: can be True or False. True indicates if the endpoints to contact are Virtuoso, False is of any other type, e.g., OWLIM.

please notice that the Usage information printed when running "./run_anapsid" is wrong'''

run_anapsid -e endpoint.pre -q query/query1.txt -p ll -s False -o False -d SSGM -a True -w False -r True >result

* Result:

when using only the two actually queried endpoints( pharmgkb and omim):

Query\time(ms) time 1 time 2 time 3 time 4time 5
case1 8992 19187 8907 15784 9162

添付ファイル